Interface ZoneSetDescriptionAction
- All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>,ZoneUpdateAction
ZoneSetDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ZoneSetDescriptionAction zoneSetDescriptionAction = ZoneSetDescriptionAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ZoneSetDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ZoneSetDescriptionActionbuilder(ZoneSetDescriptionAction template) create builder for ZoneSetDescriptionAction instancecopyDeep()static ZoneSetDescriptionActiondeepCopy(ZoneSetDescriptionAction template) factory method to create a deep copy of ZoneSetDescriptionActionDescription of the Zone.static ZoneSetDescriptionActionof()factory methodstatic ZoneSetDescriptionActionof(ZoneSetDescriptionAction template) factory method to create a shallow copy ZoneSetDescriptionActionvoidsetDescription(String description) Description of the Zone.static com.fasterxml.jackson.core.type.TypeReference<ZoneSetDescriptionAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.zone.ZoneUpdateAction
getAction, withZoneUpdateAction
-
Field Details
-
SET_DESCRIPTION
discriminator value for ZoneSetDescriptionAction- See Also:
-
-
Method Details
-
getDescription
String getDescription()Description of the Zone.
- Returns:
- description
-
setDescription
Description of the Zone.
- Parameters:
description- value to be set
-
of
factory method- Returns:
- instance of ZoneSetDescriptionAction
-
of
factory method to create a shallow copy ZoneSetDescriptionAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ZoneSetDescriptionAction copyDeep()- Specified by:
copyDeepin interfaceZoneUpdateAction
-
deepCopy
factory method to create a deep copy of ZoneSetDescriptionAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ZoneSetDescriptionAction- Returns:
- builder
-
builder
create builder for ZoneSetDescriptionAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withZoneSetDescriptionAction
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
-