Class ChannelUpdateImpl
java.lang.Object
com.commercetools.api.models.channel.ChannelUpdateImpl
- All Implemented Interfaces:
ChannelUpdate
,ResourceUpdate<ChannelUpdate,
,ChannelUpdateAction, ChannelUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class ChannelUpdateImpl
extends Object
implements ChannelUpdate, io.vrap.rmf.base.client.ModelBase
ChannelUpdate
-
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 Channel.Expected version of the Channel on which the changes should be applied.int
hashCode()
void
setActions
(ChannelUpdateAction... actions) Update actions to be performed on the Channel.void
setActions
(List<ChannelUpdateAction> actions) Update actions to be performed on the Channel.void
setVersion
(Long version) Expected version of the Channel on which the changes should be applied.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.channel.ChannelUpdate
withChannelUpdate
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
ChannelUpdateImpl
public ChannelUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Channel on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error is returned.
- Specified by:
getVersion
in interfaceChannelUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<ChannelUpdate,
ChannelUpdateAction, ChannelUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the Channel.
- Specified by:
getActions
in interfaceChannelUpdate
- Specified by:
getActions
in interfaceResourceUpdate<ChannelUpdate,
ChannelUpdateAction, ChannelUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:ChannelUpdate
Expected version of the Channel on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error is returned.
- Specified by:
setVersion
in interfaceChannelUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<ChannelUpdate,
ChannelUpdateAction, ChannelUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:ChannelUpdate
Update actions to be performed on the Channel.
- Specified by:
setActions
in interfaceChannelUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ChannelUpdate
Update actions to be performed on the Channel.
- Specified by:
setActions
in interfaceChannelUpdate
- Specified by:
setActions
in interfaceResourceUpdate<ChannelUpdate,
ChannelUpdateAction, ChannelUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
-