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
  • Constructor Details

    • ApprovalFlowUpdateImpl

      public ApprovalFlowUpdateImpl()
      create empty instance
  • Method Details

    • getVersion

      public Long 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 interface ApprovalFlowUpdate
      Returns:
      version
    • getActions

      public List<ApprovalFlowUpdateAction> getActions()

      Update actions to be performed on the Approval Flow.

      Specified by:
      getActions in interface ApprovalFlowUpdate
      Returns:
      actions
    • setVersion

      public void setVersion(Long version)
      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 interface ApprovalFlowUpdate
      Parameters:
      version - value to be set
    • setActions

      public void setActions(ApprovalFlowUpdateAction... actions)
      Description copied from interface: ApprovalFlowUpdate

      Update actions to be performed on the Approval Flow.

      Specified by:
      setActions in interface ApprovalFlowUpdate
      Parameters:
      actions - values to be set
    • setActions

      public void setActions(List<ApprovalFlowUpdateAction> actions)
      Description copied from interface: ApprovalFlowUpdate

      Update actions to be performed on the Approval Flow.

      Specified by:
      setActions in interface ApprovalFlowUpdate
      Parameters:
      actions - values to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object