Interface ProductSetSearchKeywordsAction
- All Superinterfaces:
ProductUpdateAction,ResourceUpdateAction<ProductUpdateAction>
ProductSetSearchKeywordsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSetSearchKeywordsAction productSetSearchKeywordsAction = ProductSetSearchKeywordsAction.builder()
.searchKeywords(searchKeywordsBuilder -> searchKeywordsBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductSetSearchKeywordsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductSetSearchKeywordsActionbuilder(ProductSetSearchKeywordsAction template) create builder for ProductSetSearchKeywordsAction instancecopyDeep()deepCopy(ProductSetSearchKeywordsAction template) factory method to create a deep copy of ProductSetSearchKeywordsAction@NotNull @Valid SearchKeywordsValue to set.Iftrue, only the stagedsearchKeywordsis updated.of()factory methodof(ProductSetSearchKeywordsAction template) factory method to create a shallow copy ProductSetSearchKeywordsActionvoidsetSearchKeywords(SearchKeywords searchKeywords) Value to set.voidIftrue, only the stagedsearchKeywordsis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductSetSearchKeywordsAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
getAction, withProductUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_SEARCH_KEYWORDS
discriminator value for ProductSetSearchKeywordsAction- See Also:
-
-
Method Details
-
getSearchKeywords
Value to set.
- Returns:
- searchKeywords
-
getStaged
Boolean getStaged()If
true, only the stagedsearchKeywordsis updated. Iffalse, both the current and stagedsearchKeywordsare updated.- Returns:
- staged
-
setSearchKeywords
Value to set.
- Parameters:
searchKeywords- value to be set
-
setStaged
If
true, only the stagedsearchKeywordsis updated. Iffalse, both the current and stagedsearchKeywordsare updated.- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of ProductSetSearchKeywordsAction
-
of
factory method to create a shallow copy ProductSetSearchKeywordsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductSetSearchKeywordsAction copyDeep()- Specified by:
copyDeepin interfaceProductUpdateAction
-
deepCopy
@Nullable static ProductSetSearchKeywordsAction deepCopy(@Nullable ProductSetSearchKeywordsAction template) factory method to create a deep copy of ProductSetSearchKeywordsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSetSearchKeywordsAction- Returns:
- builder
-
builder
create builder for ProductSetSearchKeywordsAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductSetSearchKeywordsAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductSetSearchKeywordsAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-