Class ResponseModel

java.lang.Object
com.skava.orchestration.model.response.ResponseModel
All Implemented Interfaces:
Serializable

public class ResponseModel extends Object implements Serializable

The Class ResponseModel

This model is used capture response code and response message.
Author:
Infosys Equinox
See Also:
  • Field Details

    • responseCode

      @Size(min=0, max=255) protected @Size(min=0,max=255) String responseCode
      Response code
    • responseMessage

      @Size(min=0, max=255) protected @Size(min=0,max=255) String responseMessage
      Response Message Example - List Item created successfully
    • timeStamp

      @Size(min=0, max=255) protected @jakarta.validation.constraints.Size(min=0, max=255) long timeStamp
      Indicates milliseconds representation of the current time. Indicates the time in milliseconds since the UNIX epoch (January 1, 1970 00:00:00 UTC).
  • Constructor Details

    • ResponseModel

      public ResponseModel()
      The default constructor.
  • Method Details

    • getResponseCode

      public String getResponseCode()
      This method is used to get response code.
      Returns:
      Returns the response code of string type.
    • setResponseCode

      public void setResponseCode(String responseCode)
      This method is used to set response code.
      Parameters:
      responseCode - Indicates the response code of string type.
    • getResponseMessage

      public String getResponseMessage()
      This method is used to get response message.
      Returns:
      Returns the response message of string type.
    • setResponseMessage

      public void setResponseMessage(String responseMessage)
      This method is used to set response message.
      Parameters:
      responseMessage - Indicates the response message of string type.
    • getTimeStamp

      public long getTimeStamp()
      This method is used to get time stamp details
      Returns:
      Returns time stamp of long type.