Enum TvType

java.lang.Object
java.lang.Enum<TvType>
com.amilesend.tmdb.client.model.discover.type.TvType
All Implemented Interfaces:
Serializable, Comparable<TvType>

public enum TvType extends Enum<TvType>
Defines the type of TV show. This is typically used when defining a DiscoverTvRequest#getWithType() via the FilterQueryBuilder.
See Also:
  • Enum Constant Details

    • DOCUMENTARY

      public static final TvType DOCUMENTARY
    • NEWS

      public static final TvType NEWS
    • MINISERIES

      public static final TvType MINISERIES
    • REALITY

      public static final TvType REALITY
    • SCRIPTED

      public static final TvType SCRIPTED
    • TALK_SHOW

      public static final TvType TALK_SHOW
    • VIDEO

      public static final TvType VIDEO
  • Method Details

    • values

      public static TvType[] 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 TvType 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
    • toString

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

      public int getType()
      The type value.