Package com.streamlayer.sports.events
Enum SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase
- java.lang.Object
-
- java.lang.Enum<SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase>
-
- com.streamlayer.sports.events.SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase>
- Enclosing class:
- SummaryResponse.ResponseData.SummaryResponseAttributes
public static enum SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase extends java.lang.Enum<SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASEBALLBASKETBALLHOCKEYSOCCERSPORTS_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCaseforNumber(int value)intgetNumber()static SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCasevalueOf(int value)Deprecated.static SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASEBALL
public static final SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase BASEBALL
-
BASKETBALL
public static final SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase BASKETBALL
-
HOCKEY
public static final SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase HOCKEY
-
SOCCER
public static final SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase SOCCER
-
SPORTS_NOT_SET
public static final SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase SPORTS_NOT_SET
-
-
Method Detail
-
values
public static SummaryResponse.ResponseData.SummaryResponseAttributes.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 (SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase c : SummaryResponse.ResponseData.SummaryResponseAttributes.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 SummaryResponse.ResponseData.SummaryResponseAttributes.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 SummaryResponse.ResponseData.SummaryResponseAttributes.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 SummaryResponse.ResponseData.SummaryResponseAttributes.SportsCase forNumber(int value)
-
getNumber
public int getNumber()
-
-