Class NewPayloadRequestModel

java.lang.Object
com.jk.services.client.workflow.models.NewPayloadRequestModel
All Implemented Interfaces:
Serializable

public class NewPayloadRequestModel extends Object implements Serializable
This class represents a pay-load request model used in workflow.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • NewPayloadRequestModel

      public NewPayloadRequestModel()
  • Method Details

    • withId

      public NewPayloadRequestModel withId(Integer id)
      This method sets the ID for this pay-load request model and returns this instance.
      Parameters:
      id - Specifies the new ID for this pay-load request model.
      Returns:
      the edited instance of NewPayloadRequestModel.
    • setId

      public void setId(Integer id)
      This method sets the ID for this pay-load request model to the provided value.
      Parameters:
      id - Specifies the new ID for this pay-load request model.
    • getId

      public Integer getId()
      This method retrieves the ID for this pay-load request model.
      Returns:
      the ID for this pay-load request model.
    • withSystem

      public NewPayloadRequestModel withSystem(String system)
      This method sets the system associated with this pay-load request model and returns this instance.
      Parameters:
      system - Specifies the system associated with this pay-load request model.
      Returns:
      the edited instance of NewPayloadRequestModel.
    • setSystem

      public void setSystem(String system)
      This method sets the system associated with this pay-load request model to the provided value.
      Parameters:
      system - Specifies the system associated with this pay-load request model.
    • getSystem

      public String getSystem()
      This method retrieves the system associated with this pay-load request model.
      Returns:
      the system associated with this pay-load request model.
    • withEntity

      public NewPayloadRequestModel withEntity(String entity)
      This method sets the entity associated with this pay-load request model and return this instance.
      Parameters:
      entity - Specifies the entity associated with this pay-load request model.
      Returns:
      the edited instance of NewPayloadRequestModel.
    • setEntity

      public void setEntity(String entity)
      This method sets the entity associated with this pay-load request model to the provided value.
      Parameters:
      entity - Specifies the entity associated with this pay-load request model.
    • getEntity

      public String getEntity()
      This method retrieves the entity associated with this pay-load request model.
      Returns:
      the entity associated with this pay-load request model
    • withAction

      public NewPayloadRequestModel withAction(String action)
      This method sets the action associated with this pay-load request model and returns this instance.
      Parameters:
      action - Specifies the action associated with this pay-load request model.
      Returns:
      the edited instance of NewPayloadRequestModel.
    • setAction

      public void setAction(String action)
      This method sets the action associated with this pay-load request model to the provided value.
      Parameters:
      action - Specifies the new action associated with this pay-load request model.
    • getAction

      public String getAction()
      This method retrieves the action associated with this pay-load request model.
      Returns:
      the action associated with this pay-load request model.
    • withBody

      public NewPayloadRequestModel withBody(String body)
      This method sets the body content associated with this pay-load request model and returns this instance.
      Parameters:
      body - Specifies the body content associated with this pay-load request model.
      Returns:
      the edited instance of NewPayloadRequestModel.
    • setBody

      public void setBody(String body)
      This method sets the body content associated with this pay-load request model to the provided value.
      Parameters:
      body - Specifies the body content associated with this pay-load request model.
    • getBody

      public String getBody()
      This method retrieves the body content associated with this pay-load request model.
      Returns:
      the body content associated with this pay-load request model.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object