Class ApprovalRuleUpdateImpl
java.lang.Object
com.commercetools.api.models.approval_rule.ApprovalRuleUpdateImpl
- All Implemented Interfaces:
ApprovalRuleUpdate
,io.vrap.rmf.base.client.ModelBase
public class ApprovalRuleUpdateImpl
extends Object
implements ApprovalRuleUpdate, io.vrap.rmf.base.client.ModelBase
ApprovalRuleUpdate
-
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 ApprovalRule.Expected version of the ApprovalRule to which the changes should be applied.int
hashCode()
void
setActions
(ApprovalRuleUpdateAction... actions) Update actions to be performed on the ApprovalRule.void
setActions
(List<ApprovalRuleUpdateAction> actions) Update actions to be performed on the ApprovalRule.void
setVersion
(Long version) Expected version of the ApprovalRule to 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.approval_rule.ApprovalRuleUpdate
withApprovalRuleUpdate
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApprovalRuleUpdateImpl
public ApprovalRuleUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
getVersion
in interfaceApprovalRuleUpdate
- Returns:
- version
-
getActions
Update actions to be performed on the ApprovalRule.
- Specified by:
getActions
in interfaceApprovalRuleUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:ApprovalRuleUpdate
Expected version of the ApprovalRule to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
setVersion
in interfaceApprovalRuleUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:ApprovalRuleUpdate
Update actions to be performed on the ApprovalRule.
- Specified by:
setActions
in interfaceApprovalRuleUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ApprovalRuleUpdate
Update actions to be performed on the ApprovalRule.
- Specified by:
setActions
in interfaceApprovalRuleUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-