Interface ProductTailoringSetMetaKeywordsAction
- All Superinterfaces:
ProductTailoringUpdateAction
ProductTailoringSetMetaKeywordsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTailoringSetMetaKeywordsAction productTailoringSetMetaKeywordsAction = ProductTailoringSetMetaKeywordsAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductTailoringSetMetaKeywordsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTailoringSetMetaKeywordsActionbuilder
(ProductTailoringSetMetaKeywordsAction template) create builder for ProductTailoringSetMetaKeywordsAction instancefactory method to create a deep copy of ProductTailoringSetMetaKeywordsAction@Valid LocalizedString
Value to set.Iftrue
, only the stagedmetaKeywords
is updated.of()
factory methodof
(ProductTailoringSetMetaKeywordsAction template) factory method to create a shallow copy ProductTailoringSetMetaKeywordsActionvoid
setMetaKeywords
(LocalizedString metaKeywords) Value to set.void
Iftrue
, only the stagedmetaKeywords
is updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetMetaKeywordsAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_META_KEYWORDS
discriminator value for ProductTailoringSetMetaKeywordsAction- 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 ProductTailoringSetMetaKeywordsAction
-
of
factory method to create a shallow copy ProductTailoringSetMetaKeywordsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTailoringSetMetaKeywordsAction deepCopy(@Nullable ProductTailoringSetMetaKeywordsAction template) factory method to create a deep copy of ProductTailoringSetMetaKeywordsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetMetaKeywordsAction- Returns:
- builder
-
builder
static ProductTailoringSetMetaKeywordsActionBuilder builder(ProductTailoringSetMetaKeywordsAction template) create builder for ProductTailoringSetMetaKeywordsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetMetaKeywordsAction
default <T> T withProductTailoringSetMetaKeywordsAction(Function<ProductTailoringSetMetaKeywordsAction, T> helper) 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<ProductTailoringSetMetaKeywordsAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-