Enum TvEpisodeGroupType
java.lang.Object
java.lang.Enum<TvEpisodeGroupType>
com.amilesend.tmdb.client.model.tv.episodes.groups.type.TvEpisodeGroupType
- All Implemented Interfaces:
Serializable,Comparable<TvEpisodeGroupType>
Defines the TV Episode Group Type.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TvEpisodeGroupTypefromType(int type) Retrieves theTvEpisodeGroupTypeenum reference for the given type value.getName()The TV episode group type name.intgetType()The TV episode group type value.toString()static TvEpisodeGroupTypeReturns the enum constant of this type with the specified name.static TvEpisodeGroupType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ORIGINAL_AIR_DATE
-
ABSOLUTE
-
DVD
-
DIGITAL
-
STORY_ARC
-
PRODUCTION
-
TV
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromType
Retrieves theTvEpisodeGroupTypeenum reference for the given type value.- Parameters:
type- the type value (1-7)- Returns:
- the associated enum reference
-
toString
- Overrides:
toStringin classEnum<TvEpisodeGroupType>
-
getType
public int getType()The TV episode group type value. -
getName
The TV episode group type name.
-