Package com.streamlayer.sports.events
Enum LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase
- java.lang.Object
-
- java.lang.Enum<LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase>
-
- com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase>
- Enclosing class:
- LastGamesResponse.ResponseData.LastGamesResponseAttributes
public static enum LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase extends java.lang.Enum<LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASKETBALLSOCCERSPORTS_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCaseforNumber(int value)intgetNumber()static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCasevalueOf(int value)Deprecated.static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOCCER
public static final LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase SOCCER
-
BASKETBALL
public static final LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase BASKETBALL
-
SPORTS_NOT_SET
public static final LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase SPORTS_NOT_SET
-
-
Method Detail
-
values
public static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase c : LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase forNumber(int value)
-
getNumber
public int getNumber()
-
-