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>

public enum TvEpisodeGroupType extends Enum<TvEpisodeGroupType>
Defines the TV Episode Group Type.
  • Enum Constant Details

  • Method Details

    • values

      public static TvEpisodeGroupType[] 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

      public static TvEpisodeGroupType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromType

      public static TvEpisodeGroupType fromType(int type)
      Retrieves the TvEpisodeGroupType enum reference for the given type value.
      Parameters:
      type - the type value (1-7)
      Returns:
      the associated enum reference
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TvEpisodeGroupType>
    • getType

      public int getType()
      The TV episode group type value.
    • getName

      public String getName()
      The TV episode group type name.