Interface ProductTailoringSetMetaAttributesAction
- All Superinterfaces:
ProductTailoringUpdateAction
Updates all meta attributes at the same time.
Example to create an instance using the builder pattern
ProductTailoringSetMetaAttributesAction productTailoringSetMetaAttributesAction = ProductTailoringSetMetaAttributesAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductTailoringSetMetaAttributesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTailoringSetMetaAttributesActioncreate builder for ProductTailoringSetMetaAttributesAction instancefactory method to create a deep copy of ProductTailoringSetMetaAttributesAction@Valid LocalizedString
Value to set.@Valid LocalizedString
Value to set.@Valid LocalizedString
Value to set.Iftrue
, only the staged attributes are updated.of()
factory methodof
(ProductTailoringSetMetaAttributesAction template) factory method to create a shallow copy ProductTailoringSetMetaAttributesActionvoid
setMetaDescription
(LocalizedString metaDescription) Value to set.void
setMetaKeywords
(LocalizedString metaKeywords) Value to set.void
setMetaTitle
(LocalizedString metaTitle) Value to set.void
Iftrue
, only the staged attributes are updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetMetaAttributesAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProductTailoringSetMetaAttributesAction
(Function<ProductTailoringSetMetaAttributesAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_META_ATTRIBUTES
discriminator value for ProductTailoringSetMetaAttributesAction- See Also:
-
-
Method Details
-
getMetaTitle
Value to set. If empty, any existing value will be removed.
- Returns:
- metaTitle
-
getMetaDescription
Value to set. If empty, any existing value will be removed.
- Returns:
- metaDescription
-
getMetaKeywords
Value to set. If empty, any existing value will be removed.
- Returns:
- metaKeywords
-
getStaged
Boolean getStaged()If
true
, only the staged attributes are updated. Iffalse
, both the current and staged attributes are updated.- Returns:
- staged
-
setMetaTitle
Value to set. If empty, any existing value will be removed.
- Parameters:
metaTitle
- value to be set
-
setMetaDescription
Value to set. If empty, any existing value will be removed.
- Parameters:
metaDescription
- value to be set
-
setMetaKeywords
Value to set. If empty, any existing value will be removed.
- Parameters:
metaKeywords
- value to be set
-
setStaged
If
true
, only the staged attributes are updated. Iffalse
, both the current and staged attributes are updated.- Parameters:
staged
- value to be set
-
of
factory method- Returns:
- instance of ProductTailoringSetMetaAttributesAction
-
of
factory method to create a shallow copy ProductTailoringSetMetaAttributesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTailoringSetMetaAttributesAction deepCopy(@Nullable ProductTailoringSetMetaAttributesAction template) factory method to create a deep copy of ProductTailoringSetMetaAttributesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetMetaAttributesAction- Returns:
- builder
-
builder
static ProductTailoringSetMetaAttributesActionBuilder builder(ProductTailoringSetMetaAttributesAction template) create builder for ProductTailoringSetMetaAttributesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetMetaAttributesAction
default <T> T withProductTailoringSetMetaAttributesAction(Function<ProductTailoringSetMetaAttributesAction, 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<ProductTailoringSetMetaAttributesAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-