public enum OutrightStatus extends Enum<OutrightStatus> implements com.sportradar.sdk.common.interfaces.EntityEnum
Enum Constant and Description |
---|
CANCELED
Canceled
|
ENDED
Ended
|
STARTED
Started
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getLiteralValues()
Gets literal values from this enum member.
|
static OutrightStatus |
getStatus(String value)
Constructs and return
OutrightStatus enum member from passed value |
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current OutrightStatus |
static OutrightStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutrightStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutrightStatus STARTED
public static final OutrightStatus ENDED
public static final OutrightStatus CANCELED
public static OutrightStatus[] values()
for (OutrightStatus c : OutrightStatus.values()) System.out.println(c);
public static OutrightStatus 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 final List<String> getLiteralValues()
public static OutrightStatus getStatus(String value) throws com.sportradar.sdk.common.exceptions.UnknownEnumException
OutrightStatus
enum member from passed value
value
- The value used to construct the returned OutrightStatus
instance.OutrightStatus
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 OutrightStatus
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current OutrightStatus
value
is equal to the value associated with the current OutrightStatus
. Otherwise false.Copyright © 2013–2023. All rights reserved.