Interface TypeChangeNameAction
- All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>
,TypeUpdateAction
TypeChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeNameAction typeChangeNameAction = TypeChangeNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TypeChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeChangeNameActionBuilder
builder()
builder factory method for TypeChangeNameActionstatic TypeChangeNameActionBuilder
builder
(TypeChangeNameAction template) create builder for TypeChangeNameAction instancestatic TypeChangeNameAction
deepCopy
(TypeChangeNameAction template) factory method to create a deep copy of TypeChangeNameAction@NotNull @Valid LocalizedString
getName()
New value to set.static TypeChangeNameAction
of()
factory methodstatic TypeChangeNameAction
of
(TypeChangeNameAction template) factory method to create a shallow copy TypeChangeNameActionvoid
setName
(LocalizedString name) New value to set.static com.fasterxml.jackson.core.type.TypeReference<TypeChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withTypeChangeNameAction
(Function<TypeChangeNameAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.type.TypeUpdateAction
getAction, withTypeUpdateAction
-
Field Details
-
CHANGE_NAME
discriminator value for TypeChangeNameAction- 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 TypeChangeNameAction
-
of
factory method to create a shallow copy TypeChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of TypeChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TypeChangeNameAction- Returns:
- builder
-
builder
create builder for TypeChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTypeChangeNameAction
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
-