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