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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductSetMetaKeywordsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductSetMetaKeywordsActionbuilder(ProductSetMetaKeywordsAction template) create builder for ProductSetMetaKeywordsAction instancecopyDeep()static ProductSetMetaKeywordsActiondeepCopy(ProductSetMetaKeywordsAction template) factory method to create a deep copy of ProductSetMetaKeywordsAction@Valid LocalizedStringValue to set.Iftrue, only the stagedmetaKeywordsis updated.static ProductSetMetaKeywordsActionof()factory methodstatic ProductSetMetaKeywordsActionof(ProductSetMetaKeywordsAction template) factory method to create a shallow copy ProductSetMetaKeywordsActionvoidsetMetaKeywords(LocalizedString metaKeywords) Value to set.voidIftrue, only the stagedmetaKeywordsis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductSetMetaKeywordsAction>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_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 stagedmetaKeywordsis updated. Iffalse, both the current and stagedmetaKeywordsare 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 stagedmetaKeywordsis updated. Iffalse, both the current and stagedmetaKeywordsare 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
-
copyDeep
ProductSetMetaKeywordsAction copyDeep()- Specified by:
copyDeepin interfaceProductUpdateAction
-
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
-