Class BetValidation
java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetValidation
Represents a BetValidation object that contains information about a bet validation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a builder for the BetValidation class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBetId()
Gets the bet ID of the bet validation.int
getCode()
Gets the code of the bet validation.Gets the message of the bet validation.static BetValidation.Builder
Creates a new instance of the BetValidation class.void
Sets the bet ID of the bet validation.void
setCode
(int value) Sets the code of the bet validation.void
setMessage
(String value) Sets the message of the bet validation.
-
Constructor Details
-
BetValidation
public BetValidation()
-
-
Method Details
-
newBuilder
Creates a new instance of the BetValidation class.- Returns:
- A new instance of the BetValidation class.
-
getCode
public int getCode()Gets the code of the bet validation.- Returns:
- The code of the bet validation.
-
setCode
public void setCode(int value) Sets the code of the bet validation.- Parameters:
value
- The code of the bet validation.
-
getBetId
Gets the bet ID of the bet validation.- Returns:
- The bet ID of the bet validation.
-
setBetId
Sets the bet ID of the bet validation.- Parameters:
value
- The bet ID of the bet validation.
-
getMessage
Gets the message of the bet validation.- Returns:
- The message of the bet validation.
-
setMessage
Sets the message of the bet validation.- Parameters:
value
- The message of the bet validation.
-