Class Response
java.lang.Object
com.sportradar.mbs.sdk.entities.internal.Response
Represents a response object used in the application.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of the Response class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the content of the response.Gets the correlation ID of the response.Gets the operation of the response.long
Gets the UTC millis timestamp of the response.Gets the version of the response.static Response.Builder
Returns a new instance of the Response.Builder class.void
setContent
(ContentResponse value) Sets the content of the response.void
setCorrelationId
(String value) Sets the correlation ID of the response.void
setOperation
(String value) Sets the operation of the response.void
setTimestampUtc
(long value) Sets the UTC millis timestamp of the response.void
setVersion
(String value) Sets the version of the response.
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
newBuilder
Returns a new instance of the Response.Builder class.- Returns:
- A new instance of the Response.Builder class.
-
getCorrelationId
Gets the correlation ID of the response.- Returns:
- The correlation ID.
-
setCorrelationId
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
Gets the operation of the response.- Returns:
- The operation.
-
setOperation
Sets the operation of the response.- Parameters:
value
- The operation to set.
-
getVersion
Gets the version of the response.- Returns:
- The version.
-
setVersion
Sets the version of the response.- Parameters:
value
- The version to set.
-
getContent
Gets the content of the response.- Returns:
- The content.
-
setContent
Sets the content of the response.- Parameters:
value
- The content to set.
-