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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ZoneSetDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ZoneSetDescriptionActionbuilder
(ZoneSetDescriptionAction template) create builder for ZoneSetDescriptionAction instancestatic ZoneSetDescriptionAction
deepCopy
(ZoneSetDescriptionAction template) factory method to create a deep copy of ZoneSetDescriptionActionDescription of the Zone.static ZoneSetDescriptionAction
of()
factory methodstatic ZoneSetDescriptionAction
of
(ZoneSetDescriptionAction template) factory method to create a shallow copy ZoneSetDescriptionActionvoid
setDescription
(String description) Description of the Zone.static com.fasterxml.jackson.core.type.TypeReference<ZoneSetDescriptionAction>
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.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
-
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
-