Interface CategorySetDescriptionAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategorySetDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetDescriptionAction categorySetDescriptionAction = CategorySetDescriptionAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategorySetDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategorySetDescriptionActionbuilder
(CategorySetDescriptionAction template) create builder for CategorySetDescriptionAction instancestatic CategorySetDescriptionAction
deepCopy
(CategorySetDescriptionAction template) factory method to create a deep copy of CategorySetDescriptionAction@Valid LocalizedString
Value to set.static CategorySetDescriptionAction
of()
factory methodstatic CategorySetDescriptionAction
of
(CategorySetDescriptionAction template) factory method to create a shallow copy CategorySetDescriptionActionvoid
setDescription
(LocalizedString description) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CategorySetDescriptionAction>
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_DESCRIPTION
discriminator value for CategorySetDescriptionAction- See Also:
-
-
Method Details
-
getDescription
Value to set. If empty, any existing value will be removed.
- Returns:
- description
-
setDescription
Value to set. If empty, any existing value will be removed.
- Parameters:
description
- value to be set
-
of
factory method- Returns:
- instance of CategorySetDescriptionAction
-
of
factory method to create a shallow copy CategorySetDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CategorySetDescriptionAction deepCopy(@Nullable CategorySetDescriptionAction template) factory method to create a deep copy of CategorySetDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategorySetDescriptionAction- Returns:
- builder
-
builder
create builder for CategorySetDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategorySetDescriptionAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-