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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ZoneRemoveLocationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ZoneRemoveLocationActionbuilder(ZoneRemoveLocationAction template) create builder for ZoneRemoveLocationAction instancecopyDeep()static ZoneRemoveLocationActiondeepCopy(ZoneRemoveLocationAction template) factory method to create a deep copy of ZoneRemoveLocationAction@NotNull @Valid LocationLocation to be removed from the Zone.static ZoneRemoveLocationActionof()factory methodstatic ZoneRemoveLocationActionof(ZoneRemoveLocationAction template) factory method to create a shallow copy ZoneRemoveLocationActionvoidsetLocation(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> 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
-
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
-
copyDeep
ZoneRemoveLocationAction copyDeep()- Specified by:
copyDeepin interfaceZoneUpdateAction
-
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
-