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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductSetSearchKeywordsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSetSearchKeywordsActionbuilder
(ProductSetSearchKeywordsAction template) create builder for ProductSetSearchKeywordsAction instancedeepCopy
(ProductSetSearchKeywordsAction template) factory method to create a deep copy of ProductSetSearchKeywordsAction@NotNull @Valid SearchKeywords
Value to set.Iftrue
, only the stagedsearchKeywords
is updated.of()
factory methodof
(ProductSetSearchKeywordsAction template) factory method to create a shallow copy ProductSetSearchKeywordsActionvoid
setSearchKeywords
(SearchKeywords searchKeywords) Value to set.void
Iftrue
, only the stagedsearchKeywords
is updated.static com.fasterxml.jackson.core.type.TypeReference<ProductSetSearchKeywordsAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
getAction, withProductUpdateAction
Methods 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 stagedsearchKeywords
is updated. Iffalse
, both the current and stagedsearchKeywords
are updated.- Returns:
- staged
-
setSearchKeywords
Value to set.
- Parameters:
searchKeywords
- value to be set
-
setStaged
If
true
, only the stagedsearchKeywords
is updated. Iffalse
, both the current and stagedsearchKeywords
are 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
-
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
-