Interface CategorySetMetaDescriptionAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategorySetMetaDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetMetaDescriptionAction categorySetMetaDescriptionAction = CategorySetMetaDescriptionAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategorySetMetaDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategorySetMetaDescriptionActionbuilder
(CategorySetMetaDescriptionAction template) create builder for CategorySetMetaDescriptionAction instancedeepCopy
(CategorySetMetaDescriptionAction template) factory method to create a deep copy of CategorySetMetaDescriptionAction@Valid LocalizedString
Value to set.of()
factory methodof
(CategorySetMetaDescriptionAction template) factory method to create a shallow copy CategorySetMetaDescriptionActionvoid
setMetaDescription
(LocalizedString metaDescription) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CategorySetMetaDescriptionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
getAction, withCategoryUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_META_DESCRIPTION
discriminator value for CategorySetMetaDescriptionAction- See Also:
-
-
Method Details
-
getMetaDescription
Value to set.
- Returns:
- metaDescription
-
setMetaDescription
Value to set.
- Parameters:
metaDescription
- value to be set
-
of
factory method- Returns:
- instance of CategorySetMetaDescriptionAction
-
of
factory method to create a shallow copy CategorySetMetaDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CategorySetMetaDescriptionAction deepCopy(@Nullable CategorySetMetaDescriptionAction template) factory method to create a deep copy of CategorySetMetaDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategorySetMetaDescriptionAction- Returns:
- builder
-
builder
create builder for CategorySetMetaDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategorySetMetaDescriptionAction
default <T> T withCategorySetMetaDescriptionAction(Function<CategorySetMetaDescriptionAction, 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<CategorySetMetaDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-