Interface CategoryChangeNameAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategoryChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryChangeNameAction categoryChangeNameAction = CategoryChangeNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategoryChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategoryChangeNameActionbuilder
(CategoryChangeNameAction template) create builder for CategoryChangeNameAction instancestatic CategoryChangeNameAction
deepCopy
(CategoryChangeNameAction template) factory method to create a deep copy of CategoryChangeNameAction@NotNull @Valid LocalizedString
getName()
New value to set.static CategoryChangeNameAction
of()
factory methodstatic CategoryChangeNameAction
of
(CategoryChangeNameAction template) factory method to create a shallow copy CategoryChangeNameActionvoid
setName
(LocalizedString name) New value to set.static com.fasterxml.jackson.core.type.TypeReference<CategoryChangeNameAction>
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
-
CHANGE_NAME
discriminator value for CategoryChangeNameAction- See Also:
-
-
Method Details
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
setName
New value to set. Must not be empty.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of CategoryChangeNameAction
-
of
factory method to create a shallow copy CategoryChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CategoryChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategoryChangeNameAction- Returns:
- builder
-
builder
create builder for CategoryChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategoryChangeNameAction
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
-