Interface ProductSetMetaKeywordsAction
- All Superinterfaces:
ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
ProductSetMetaKeywordsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSetMetaKeywordsAction productSetMetaKeywordsAction = ProductSetMetaKeywordsAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductSetMetaKeywordsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSetMetaKeywordsActionbuilder
(ProductSetMetaKeywordsAction template) create builder for ProductSetMetaKeywordsAction instancestatic ProductSetMetaKeywordsAction
deepCopy
(ProductSetMetaKeywordsAction template) factory method to create a deep copy of ProductSetMetaKeywordsAction@Valid LocalizedString
Value to set.Iftrue
, only the stagedmetaKeywords
is updated.static ProductSetMetaKeywordsAction
of()
factory methodstatic ProductSetMetaKeywordsAction
of
(ProductSetMetaKeywordsAction template) factory method to create a shallow copy ProductSetMetaKeywordsActionvoid
setMetaKeywords
(LocalizedString metaKeywords) Value to set.void
Iftrue
, only the stagedmetaKeywords
is updated.static com.fasterxml.jackson.core.type.TypeReference<ProductSetMetaKeywordsAction>
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_META_KEYWORDS
discriminator value for ProductSetMetaKeywordsAction- See Also:
-
-
Method Details
-
getMetaKeywords
Value to set. If empty, any existing value will be removed.
- Returns:
- metaKeywords
-
getStaged
Boolean getStaged()If
true
, only the stagedmetaKeywords
is updated. Iffalse
, both the current and stagedmetaKeywords
are updated.- Returns:
- staged
-
setMetaKeywords
Value to set. If empty, any existing value will be removed.
- Parameters:
metaKeywords
- value to be set
-
setStaged
If
true
, only the stagedmetaKeywords
is updated. Iffalse
, both the current and stagedmetaKeywords
are updated.- Parameters:
staged
- value to be set
-
of
factory method- Returns:
- instance of ProductSetMetaKeywordsAction
-
of
factory method to create a shallow copy ProductSetMetaKeywordsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSetMetaKeywordsAction deepCopy(@Nullable ProductSetMetaKeywordsAction template) factory method to create a deep copy of ProductSetMetaKeywordsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSetMetaKeywordsAction- Returns:
- builder
-
builder
create builder for ProductSetMetaKeywordsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSetMetaKeywordsAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-