java.lang.Object
com.sportradar.mbs.sdk.entities.internal.Response

public class Response extends Object
Represents a response object used in the application.
  • Constructor Details

    • Response

      public Response()
  • Method Details

    • newBuilder

      public static Response.Builder newBuilder()
      Returns a new instance of the Response.Builder class.
      Returns:
      A new instance of the Response.Builder class.
    • getCorrelationId

      public String getCorrelationId()
      Gets the correlation ID of the response.
      Returns:
      The correlation ID.
    • setCorrelationId

      public void setCorrelationId(String value)
      Sets the correlation ID of the response.
      Parameters:
      value - The correlation ID to set.
    • getTimestampUtc

      public long getTimestampUtc()
      Gets the UTC millis timestamp of the response.
      Returns:
      The UTC millis timestamp.
    • setTimestampUtc

      public void setTimestampUtc(long value)
      Sets the UTC millis timestamp of the response.
      Parameters:
      value - The UTC millis timestamp to set.
    • getOperation

      public String getOperation()
      Gets the operation of the response.
      Returns:
      The operation.
    • setOperation

      public void setOperation(String value)
      Sets the operation of the response.
      Parameters:
      value - The operation to set.
    • getVersion

      public String getVersion()
      Gets the version of the response.
      Returns:
      The version.
    • setVersion

      public void setVersion(String value)
      Sets the version of the response.
      Parameters:
      value - The version to set.
    • getContent

      public ContentResponse getContent()
      Gets the content of the response.
      Returns:
      The content.
    • setContent

      public void setContent(ContentResponse value)
      Sets the content of the response.
      Parameters:
      value - The content to set.