Class ApprovalFlowUpdateImpl
java.lang.Object
com.commercetools.api.models.approval_flow.ApprovalFlowUpdateImpl
- All Implemented Interfaces:
ApprovalFlowUpdate
,io.vrap.rmf.base.client.ModelBase
public class ApprovalFlowUpdateImpl
extends Object
implements ApprovalFlowUpdate, io.vrap.rmf.base.client.ModelBase
ApprovalFlowUpdate
-
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 Approval Flow.Expected version of the Approval Flow to which the changes should be applied.int
hashCode()
void
setActions
(ApprovalFlowUpdateAction... actions) Update actions to be performed on the Approval Flow.void
setActions
(List<ApprovalFlowUpdateAction> actions) Update actions to be performed on the Approval Flow.void
setVersion
(Long version) Expected version of the Approval Flow 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_flow.ApprovalFlowUpdate
withApprovalFlowUpdate
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApprovalFlowUpdateImpl
public ApprovalFlowUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Approval Flow 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 interfaceApprovalFlowUpdate
- Returns:
- version
-
getActions
Update actions to be performed on the Approval Flow.
- Specified by:
getActions
in interfaceApprovalFlowUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:ApprovalFlowUpdate
Expected version of the Approval Flow 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 interfaceApprovalFlowUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:ApprovalFlowUpdate
Update actions to be performed on the Approval Flow.
- Specified by:
setActions
in interfaceApprovalFlowUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ApprovalFlowUpdate
Update actions to be performed on the Approval Flow.
- Specified by:
setActions
in interfaceApprovalFlowUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-