Package com.commercetools.api.models.me
Interface MyShoppingListChangeNameAction
- All Superinterfaces:
MyShoppingListUpdateAction,ResourceUpdateAction<MyShoppingListUpdateAction>
MyShoppingListChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyShoppingListChangeNameAction myShoppingListChangeNameAction = MyShoppingListChangeNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for MyShoppingListChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for MyShoppingListChangeNameActionbuilder(MyShoppingListChangeNameAction template) create builder for MyShoppingListChangeNameAction instancecopyDeep()deepCopy(MyShoppingListChangeNameAction template) factory method to create a deep copy of MyShoppingListChangeNameAction@NotNull @Valid LocalizedStringgetName()New value to set.of()factory methodof(MyShoppingListChangeNameAction template) factory method to create a shallow copy MyShoppingListChangeNameActionvoidsetName(LocalizedString name) New value to set.static com.fasterxml.jackson.core.type.TypeReference<MyShoppingListChangeNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.me.MyShoppingListUpdateAction
getAction, withMyShoppingListUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for MyShoppingListChangeNameAction- 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 MyShoppingListChangeNameAction
-
of
factory method to create a shallow copy MyShoppingListChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
MyShoppingListChangeNameAction copyDeep()- Specified by:
copyDeepin interfaceMyShoppingListUpdateAction
-
deepCopy
@Nullable static MyShoppingListChangeNameAction deepCopy(@Nullable MyShoppingListChangeNameAction template) factory method to create a deep copy of MyShoppingListChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyShoppingListChangeNameAction- Returns:
- builder
-
builder
create builder for MyShoppingListChangeNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withMyShoppingListChangeNameAction
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<MyShoppingListChangeNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-