Interface ProductTailoringSetMetaDescriptionAction
- All Superinterfaces:
ProductTailoringUpdateAction
ProductTailoringSetMetaDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTailoringSetMetaDescriptionAction productTailoringSetMetaDescriptionAction = ProductTailoringSetMetaDescriptionAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductTailoringSetMetaDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTailoringSetMetaDescriptionActioncreate builder for ProductTailoringSetMetaDescriptionAction instancecopyDeep()factory method to create a deep copy of ProductTailoringSetMetaDescriptionAction@Valid LocalizedStringValue to set.Iftrue, only the stagedmetaDescriptionis updated.of()factory methodof(ProductTailoringSetMetaDescriptionAction template) factory method to create a shallow copy ProductTailoringSetMetaDescriptionActionvoidsetMetaDescription(LocalizedString metaDescription) Value to set.voidIftrue, only the stagedmetaDescriptionis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetMetaDescriptionAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithProductTailoringSetMetaDescriptionAction(Function<ProductTailoringSetMetaDescriptionAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_META_DESCRIPTION
discriminator value for ProductTailoringSetMetaDescriptionAction- See Also:
-
-
Method Details
-
getMetaDescription
Value to set. If empty, any existing value will be removed.
- Returns:
- metaDescription
-
getStaged
Boolean getStaged()If
true, only the stagedmetaDescriptionis updated. Iffalse, both the current and stagedmetaDescriptionare updated.- Returns:
- staged
-
setMetaDescription
Value to set. If empty, any existing value will be removed.
- Parameters:
metaDescription- value to be set
-
setStaged
If
true, only the stagedmetaDescriptionis updated. Iffalse, both the current and stagedmetaDescriptionare updated.- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of ProductTailoringSetMetaDescriptionAction
-
of
static ProductTailoringSetMetaDescriptionAction of(ProductTailoringSetMetaDescriptionAction template) factory method to create a shallow copy ProductTailoringSetMetaDescriptionAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTailoringSetMetaDescriptionAction copyDeep()- Specified by:
copyDeepin interfaceProductTailoringUpdateAction
-
deepCopy
@Nullable static ProductTailoringSetMetaDescriptionAction deepCopy(@Nullable ProductTailoringSetMetaDescriptionAction template) factory method to create a deep copy of ProductTailoringSetMetaDescriptionAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetMetaDescriptionAction- Returns:
- builder
-
builder
static ProductTailoringSetMetaDescriptionActionBuilder builder(ProductTailoringSetMetaDescriptionAction template) create builder for ProductTailoringSetMetaDescriptionAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetMetaDescriptionAction
default <T> T withProductTailoringSetMetaDescriptionAction(Function<ProductTailoringSetMetaDescriptionAction, 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<ProductTailoringSetMetaDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-