Class ZoneUpdateImpl
java.lang.Object
com.commercetools.api.models.zone.ZoneUpdateImpl
- All Implemented Interfaces:
ResourceUpdate<ZoneUpdate,
,ZoneUpdateAction, ZoneUpdateBuilder> ZoneUpdate
,io.vrap.rmf.base.client.ModelBase
ZoneUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Update actions to be performed on the Zone.Expected version of the Zone on which the changes should be applied.int
hashCode()
void
setActions
(ZoneUpdateAction... actions) Update actions to be performed on the Zone.void
setActions
(List<ZoneUpdateAction> actions) Update actions to be performed on the Zone.void
setVersion
(Long version) Expected version of the Zone on which the changes should be applied.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
Methods inherited from interface com.commercetools.api.models.zone.ZoneUpdate
withZoneUpdate
-
Constructor Details
-
ZoneUpdateImpl
public ZoneUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Zone on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Specified by:
getVersion
in interfaceResourceUpdate<ZoneUpdate,
ZoneUpdateAction, ZoneUpdateBuilder> - Specified by:
getVersion
in interfaceZoneUpdate
- Returns:
- version
-
getActions
Update actions to be performed on the Zone.
- Specified by:
getActions
in interfaceResourceUpdate<ZoneUpdate,
ZoneUpdateAction, ZoneUpdateBuilder> - Specified by:
getActions
in interfaceZoneUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:ZoneUpdate
Expected version of the Zone on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Specified by:
setVersion
in interfaceResourceUpdate<ZoneUpdate,
ZoneUpdateAction, ZoneUpdateBuilder> - Specified by:
setVersion
in interfaceZoneUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:ZoneUpdate
Update actions to be performed on the Zone.
- Specified by:
setActions
in interfaceZoneUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ZoneUpdate
Update actions to be performed on the Zone.
- Specified by:
setActions
in interfaceResourceUpdate<ZoneUpdate,
ZoneUpdateAction, ZoneUpdateBuilder> - Specified by:
setActions
in interfaceZoneUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-