Interface ProductSetMetaDescriptionAction
- All Superinterfaces:
ProductUpdateAction,ResourceUpdateAction<ProductUpdateAction>
ProductSetMetaDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSetMetaDescriptionAction productSetMetaDescriptionAction = ProductSetMetaDescriptionAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductSetMetaDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductSetMetaDescriptionActionbuilder(ProductSetMetaDescriptionAction template) create builder for ProductSetMetaDescriptionAction instancecopyDeep()deepCopy(ProductSetMetaDescriptionAction template) factory method to create a deep copy of ProductSetMetaDescriptionAction@Valid LocalizedStringValue to set.Iftrue, only the stagedmetaDescriptionis updated.of()factory methodof(ProductSetMetaDescriptionAction template) factory method to create a shallow copy ProductSetMetaDescriptionActionvoidsetMetaDescription(LocalizedString metaDescription) Value to set.voidIftrue, only the stagedmetaDescriptionis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductSetMetaDescriptionAction>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_DESCRIPTION
discriminator value for ProductSetMetaDescriptionAction- 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 ProductSetMetaDescriptionAction
-
of
factory method to create a shallow copy ProductSetMetaDescriptionAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductSetMetaDescriptionAction copyDeep()- Specified by:
copyDeepin interfaceProductUpdateAction
-
deepCopy
@Nullable static ProductSetMetaDescriptionAction deepCopy(@Nullable ProductSetMetaDescriptionAction template) factory method to create a deep copy of ProductSetMetaDescriptionAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSetMetaDescriptionAction- Returns:
- builder
-
builder
create builder for ProductSetMetaDescriptionAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductSetMetaDescriptionAction
default <T> T withProductSetMetaDescriptionAction(Function<ProductSetMetaDescriptionAction, 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<ProductSetMetaDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-