Enum ExternalSource

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

public enum ExternalSource extends Enum<ExternalSource>
Describes the external source type.
  • Enum Constant Details

    • IMDB

      public static final ExternalSource IMDB
      Internet Movie Database identifier.
    • FACEBOOK

      public static final ExternalSource FACEBOOK
      Facebook identifier.
    • INSTAGRAM

      public static final ExternalSource INSTAGRAM
      Instagram identifier.
    • TVDB

      public static final ExternalSource TVDB
      TV Database identifier.
    • TIKTOK

      public static final ExternalSource TIKTOK
      TikTok identifier.
    • TWITTER

      public static final ExternalSource TWITTER
      Twitter (X) identifier.
    • WIKIDATA

      public static final ExternalSource WIKIDATA
      Wikidata identifier.
    • YOUTUBE

      public static final ExternalSource YOUTUBE
      Youtube identifier.
  • Method Details

    • values

      public static ExternalSource[] 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 ExternalSource 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<ExternalSource>
    • getValue

      public String getValue()
      The external source type value.