public enum BetStatus extends Enum<BetStatus> implements com.sportradar.sdk.common.interfaces.EntityEnum
Enum Constant and Description |
---|
STARTED
Specifies that the match betting is started.
|
STOPPED
Specifies that match betting is stopped.
|
Modifier and Type | Method and Description |
---|---|
static BetStatus |
getBetStatus(String value)
Constructs and return
BetStatus enum member from passed value |
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current BetStatus |
static BetStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BetStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BetStatus STARTED
public static final BetStatus STOPPED
public static BetStatus[] values()
for (BetStatus c : BetStatus.values()) System.out.println(c);
public static BetStatus 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 BetStatus getBetStatus(String value) throws com.sportradar.sdk.common.exceptions.UnknownEnumException
BetStatus
enum member from passed value
public boolean isLiteralValueEqual(String value)
value
is equal to value associated with the current BetStatus
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current BetStatus
value
is equal to the value associated with the current BetStatus
. Otherwise false.Copyright © 2013–2023. All rights reserved.