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
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a builder for the BetValidation class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBetId()Gets the bet ID of the bet validation.intgetCode()Gets the code of the bet validation.Gets the message of the bet validation.static BetValidation.BuilderCreates a new instance of the BetValidation class.voidSets the bet ID of the bet validation.voidsetCode(int value) Sets the code of the bet validation.voidsetMessage(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.
-