public enum OddsReplyType extends Enum<OddsReplyType> implements com.sportradar.sdk.common.interfaces.EntityEnum
Enum Constant and Description |
---|
CURRENT
Specifies a reply to the "current" request from the client
|
ERROR
Specifies a reply to an "error" request from the client
|
REGISTER
Specifies a reply to a "register" request from the client
|
RISK_ADJUSTMENT_UPDATE
Specifies a reply to a "risk-adjustment" request from the client
|
SCORE_AND_CARDS_SUMMARY
Specifies a reply to a "score-and-cards" request from the client
|
UN_REGISTER
Specifies a reply to a "un-register" request from the client
|
Modifier and Type | Method and Description |
---|---|
static OddsReplyType |
getOddsReplyTypeFromLiteralValue(String value)
Constructs and return
OddsReplyType enum member from passed value |
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current OddsReplyType |
static OddsReplyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OddsReplyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OddsReplyType CURRENT
public static final OddsReplyType ERROR
public static final OddsReplyType REGISTER
public static final OddsReplyType UN_REGISTER
public static final OddsReplyType SCORE_AND_CARDS_SUMMARY
public static final OddsReplyType RISK_ADJUSTMENT_UPDATE
public static OddsReplyType[] values()
for (OddsReplyType c : OddsReplyType.values()) System.out.println(c);
public static OddsReplyType 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 OddsReplyType getOddsReplyTypeFromLiteralValue(String value) throws com.sportradar.sdk.common.exceptions.UnknownEnumException
OddsReplyType
enum member from passed value
value
- The value used to construct the returned OddsReplyType
instance.OddsReplyType
instance 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 OddsReplyType
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current OddsReplyType
value
is equal to the value associated with the current OddsReplyType
. Otherwise false.Copyright © 2013–2023. All rights reserved.