Interface ZoneChangeNameAction
- All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>,ZoneUpdateAction
ZoneChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ZoneChangeNameAction zoneChangeNameAction = ZoneChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ZoneChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionstatic ZoneChangeNameActionBuilderbuilder()builder factory method for ZoneChangeNameActionstatic ZoneChangeNameActionBuilderbuilder(ZoneChangeNameAction template) create builder for ZoneChangeNameAction instancecopyDeep()static ZoneChangeNameActiondeepCopy(ZoneChangeNameAction template) factory method to create a deep copy of ZoneChangeNameAction@NotNull StringgetName()New name of the Zone.static ZoneChangeNameActionof()factory methodstatic ZoneChangeNameActionof(ZoneChangeNameAction template) factory method to create a shallow copy ZoneChangeNameActionvoidNew name of the Zone.static com.fasterxml.jackson.core.type.TypeReference<ZoneChangeNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithZoneChangeNameAction(Function<ZoneChangeNameAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.zone.ZoneUpdateAction
getAction, withZoneUpdateAction
-
Field Details
-
CHANGE_NAME
discriminator value for ZoneChangeNameAction- See Also:
-
-
Method Details
-
getName
New name of the Zone.
- Returns:
- name
-
setName
New name of the Zone.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of ZoneChangeNameAction
-
of
factory method to create a shallow copy ZoneChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ZoneChangeNameAction copyDeep()- Specified by:
copyDeepin interfaceZoneUpdateAction
-
deepCopy
factory method to create a deep copy of ZoneChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ZoneChangeNameAction- Returns:
- builder
-
builder
create builder for ZoneChangeNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withZoneChangeNameAction
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
-