Class Request
java.lang.Object
com.sportradar.mbs.sdk.entities.internal.Request
Represents a request object used in the application.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for creating instances of the Request class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the content of the request.Gets the correlation ID of the request.Gets the operation of the request.long
Gets the operator ID of the request.long
Gets the UTC millis timestamp of the request.Gets the version of the request.static Request.Builder
Returns a new instance of the Request.Builder class.void
setContent
(ContentRequest value) Sets the content of the request.void
setCorrelationId
(String value) Sets the correlation ID of the request.void
setOperation
(String value) Sets the operation of the request.void
setOperatorId
(long value) Sets the operator ID of the request.void
setTimestampUtc
(long value) Sets the UTC millis timestamp of the request.void
setVersion
(String value) Sets the version of the request.
-
Constructor Details
-
Request
public Request()
-
-
Method Details
-
newBuilder
Returns a new instance of the Request.Builder class.- Returns:
- A new instance of the Request.Builder class.
-
getCorrelationId
Gets the correlation ID of the request.- Returns:
- The correlation ID of the request.
-
setCorrelationId
Sets the correlation ID of the request.- Parameters:
value
- The correlation ID to set.
-
getTimestampUtc
public long getTimestampUtc()Gets the UTC millis timestamp of the request.- Returns:
- The UTC millis timestamp of the request.
-
setTimestampUtc
public void setTimestampUtc(long value) Sets the UTC millis timestamp of the request.- Parameters:
value
- The UTC millis timestamp to set.
-
getOperatorId
public long getOperatorId()Gets the operator ID of the request.- Returns:
- The operator ID of the request.
-
setOperatorId
public void setOperatorId(long value) Sets the operator ID of the request.- Parameters:
value
- The operator ID to set.
-
getOperation
Gets the operation of the request.- Returns:
- The operation of the request.
-
setOperation
Sets the operation of the request.- Parameters:
value
- The operation to set.
-
getVersion
Gets the version of the request.- Returns:
- The version of the request.
-
setVersion
Sets the version of the request.- Parameters:
value
- The version to set.
-
getContent
Gets the content of the request.- Returns:
- The content of the request.
-
setContent
Sets the content of the request.- Parameters:
value
- The content to set.
-