public enum OddsStatus extends Enum<OddsStatus> implements com.sportradar.sdk.common.interfaces.EntityEnum
LiveOddsEntityBase
class.Enum Constant and Description |
---|
ALIVE
AliveEntity message status
|
BET_START
Bet start message status
|
BET_STOP
Bet stop message status
|
CANCEL_BET
Cancel bet message status
|
CARDS
Cards message status
|
CHANGE
Change message status
|
CLEAR_BET
Clear bet message status
|
ERROR
Error message status
|
IRRELEVANT_CHANGE
Irrelevant change message status
|
LOGIN_FAILED
Login failed message status
|
LOGIN_OK
Login OK message status
|
META
Meta info message status
|
REPLY_END
Reply end message status
|
REPLY_START
Reply start message status
|
RESULT
Race result status
|
ROLLBACK
Bet clear rollback message status
|
SCORE
Score message status
|
TRANSLATION
Translation message status
|
UNDO_CANCEL_BET
Undo cancel bet message status
|
Modifier and Type | Method and Description |
---|---|
String |
getLiteralValue()
Returns the
String value of the associated literal value |
static OddsStatus |
getOddsStatusFromLiteralValue(String value)
Gets the
OddsStatus member associated with the passed value |
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current OddsServerType |
static OddsStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OddsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OddsStatus BET_STOP
public static final OddsStatus BET_START
public static final OddsStatus CHANGE
public static final OddsStatus ALIVE
public static final OddsStatus CLEAR_BET
public static final OddsStatus CANCEL_BET
public static final OddsStatus UNDO_CANCEL_BET
public static final OddsStatus ROLLBACK
public static final OddsStatus SCORE
public static final OddsStatus CARDS
public static final OddsStatus LOGIN_OK
public static final OddsStatus LOGIN_FAILED
public static final OddsStatus META
public static final OddsStatus ERROR
public static final OddsStatus REPLY_START
public static final OddsStatus REPLY_END
public static final OddsStatus TRANSLATION
public static final OddsStatus IRRELEVANT_CHANGE
public static final OddsStatus RESULT
public static OddsStatus[] values()
for (OddsStatus c : OddsStatus.values()) System.out.println(c);
public static OddsStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OddsStatus getOddsStatusFromLiteralValue(String value) throws com.sportradar.sdk.common.exceptions.UnknownEnumException
OddsStatus
member associated with the passed value
value
- The value to be comparedOddsStatus
associated with the passed value
or a null reference.com.sportradar.sdk.common.exceptions.UnknownEnumException
- if value does not represent any enum literal valuepublic boolean isLiteralValueEqual(String value)
value
is equal to value associated with the current OddsServerType
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current OddsServerType
value
is equal to the value associated with the current OddsServerType
. Otherwise false.Copyright © 2013–2023. All rights reserved.