Interface ZoneRemoveLocationAction
- All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>
,ZoneUpdateAction
ZoneRemoveLocationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ZoneRemoveLocationAction zoneRemoveLocationAction = ZoneRemoveLocationAction.builder()
.location(locationBuilder -> locationBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ZoneRemoveLocationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ZoneRemoveLocationActionbuilder
(ZoneRemoveLocationAction template) create builder for ZoneRemoveLocationAction instancestatic ZoneRemoveLocationAction
deepCopy
(ZoneRemoveLocationAction template) factory method to create a deep copy of ZoneRemoveLocationAction@NotNull @Valid Location
Location to be removed from the Zone.static ZoneRemoveLocationAction
of()
factory methodstatic ZoneRemoveLocationAction
of
(ZoneRemoveLocationAction template) factory method to create a shallow copy ZoneRemoveLocationActionvoid
setLocation
(Location location) Location to be removed from the Zone.static com.fasterxml.jackson.core.type.TypeReference<ZoneRemoveLocationAction>
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
-
REMOVE_LOCATION
discriminator value for ZoneRemoveLocationAction- See Also:
-
-
Method Details
-
getLocation
Location to be removed from the Zone.
- Returns:
- location
-
setLocation
Location to be removed from the Zone.
- Parameters:
location
- value to be set
-
of
factory method- Returns:
- instance of ZoneRemoveLocationAction
-
of
factory method to create a shallow copy ZoneRemoveLocationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ZoneRemoveLocationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ZoneRemoveLocationAction- Returns:
- builder
-
builder
create builder for ZoneRemoveLocationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withZoneRemoveLocationAction
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
-