Class Response

java.lang.Object
dev.adlin.vts4j.core.Response

public class Response extends Object
An object used to serialize the response from the server.
  • Constructor Details

    • Response

      public Response(String apiName, String apiVersion, long timestamp, String messageType, String requestId, com.google.gson.JsonObject data)
    • Response

      public Response()
  • Method Details

    • getApiName

      public String getApiName()
      Returns:
      The name of the API.
    • getApiVersion

      public String getApiVersion()
      Returns:
      The version of the API.
    • getTimestamp

      public long getTimestamp()
      Returns:
      The timestamp of the response.
    • getMessageType

      public String getMessageType()
      Returns:
      The type of the message.
    • getRequestId

      public String getRequestId()
      Returns:
      The unique identifier for the request.
    • getData

      public com.google.gson.JsonObject getData()
      Returns:
      The additional data associated with the response.
    • toString

      public String toString()
      Overrides:
      toString in class Object