Class Show


public class Show extends Resource<Show,ResourceLink>
Describes a television show.
  • Method Details

    • getEpisodes

      public List<Episode> getEpisodes()
      Gets the embedded episodes associated with the show. Note: Can be null.
      Returns:
      the list of episodes
      See Also:
    • getCast

      public List<CastMember> getCast()
      Gets the embedded lit of cast members. Note: Can be null.
      Returns:
      the list of cast members
      See Also:
    • getNextEpisode

      public Episode getNextEpisode()
      Gets the next airing episode. Note: Can be null.
      Returns:
      the next episode
      See Also:
    • getPreviousEpisode

      public Episode getPreviousEpisode()
      The previous aired episode. Note: Can be null.
      Returns:
      the previous episode
      See Also:
    • getExternals

      public Map<String,String> getExternals()
      Gets the map of external show identifiers. he key is the external source id (e.g., tvrage, thetvdb, imdb, etc.), and the value is the identifier.
      Returns:
      the map of external identifiers
    • builder

      public static Show.ShowBuilder<?,?> builder()
    • getUrl

      public String getUrl()
      The URL for the show.
    • getName

      public String getName()
      The name of the show.
    • getType

      public String getType()
      The type of show.
    • getLanguage

      public String getLanguage()
      The primary language of the show.
    • getGenres

      public List<String> getGenres()
      The list of associated genres for the show.
    • getStatus

      public String getStatus()
      The airing state.
    • getRuntime

      public int getRuntime()
      The runtime in minutes.
    • getAverageRuntime

      public int getAverageRuntime()
      The average runtime in minutes.
    • getPremiered

      public LocalDate getPremiered()
      The date the series was initially aired.
    • getEnded

      public LocalDate getEnded()
      The date when the series was ended, if applicable.
    • getOfficialSite

      public String getOfficialSite()
      The URL for the show's official site.
    • getSchedule

      public Schedule getSchedule()
      The airing schedule.
    • getRating

      public Rating getRating()
      The show rating.
    • getWeight

      public int getWeight()
      The weight associated with the shows search relevance and/or popularity.
    • getNetwork

      public Network getNetwork()
      The associated network that air/distributes the show.
    • getWebChannel

      public WebChannel getWebChannel()
      The streaming channel that the show is aired on.
    • getDvdCountry

      public Country getDvdCountry()
      The associated country.
    • getImage

      public ImageUrl getImage()
      The images associated with the show.
    • getSummary

      public String getSummary()
      A brief show summary.
    • getUpdated

      public long getUpdated()
      Indicates when this show was last updated.
    • getEmbeddedResource

      public Show.EmbeddedResource getEmbeddedResource()
      Any embedded resources associated with the show. Note: can be null.
    • toString

      public String toString()
      Overrides:
      toString in class Resource<Show,ResourceLink>