Record Class TvEpisodeDetails

java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.tv.episode.model.TvEpisodeDetails
Record Components:
airDate - episode air date
crew - episode crew
episodeNumber - episode number
guestStars - episode guest stars
name - episode name
overview - episode overview
id - TMDB episode id
productionCode - production code
runtime - runtime in minutes
seasonNumber - season number
stillPath - still image path
voteAverage - vote average
voteCount - vote count
changes - appended changes
credits - appended credits
externalIds - appended external ids
images - appended images
translations - appended translations
videos - appended videos
All Implemented Interfaces:
TmdbModel, Serializable

public record TvEpisodeDetails(String airDate, List<CrewCredit> crew, int episodeNumber, List<GuestStarCredit> guestStars, String name, String overview, int id, String productionCode, Integer runtime, int seasonNumber, String stillPath, double voteAverage, int voteCount, TvEpisodeChanges changes, TvEpisodeCredits credits, ExternalIds externalIds, TvEpisodeImages images, TvEpisodeTranslations translations, TvEpisodeVideos videos) extends Record implements TmdbModel
Details for a TMDB TV episode.
See Also:
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • airDate

      public String airDate()
      Returns the value of the airDate record component.
      Returns:
      the value of the airDate record component
    • crew

      public List<CrewCredit> crew()
      Returns the value of the crew record component.
      Returns:
      the value of the crew record component
    • episodeNumber

      public int episodeNumber()
      Returns the value of the episodeNumber record component.
      Returns:
      the value of the episodeNumber record component
    • guestStars

      public List<GuestStarCredit> guestStars()
      Returns the value of the guestStars record component.
      Returns:
      the value of the guestStars record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • overview

      public String overview()
      Returns the value of the overview record component.
      Returns:
      the value of the overview record component
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • productionCode

      public String productionCode()
      Returns the value of the productionCode record component.
      Returns:
      the value of the productionCode record component
    • runtime

      public Integer runtime()
      Returns the value of the runtime record component.
      Returns:
      the value of the runtime record component
    • seasonNumber

      public int seasonNumber()
      Returns the value of the seasonNumber record component.
      Returns:
      the value of the seasonNumber record component
    • stillPath

      public String stillPath()
      Returns the value of the stillPath record component.
      Returns:
      the value of the stillPath record component
    • voteAverage

      public double voteAverage()
      Returns the value of the voteAverage record component.
      Returns:
      the value of the voteAverage record component
    • voteCount

      public int voteCount()
      Returns the value of the voteCount record component.
      Returns:
      the value of the voteCount record component
    • changes

      public TvEpisodeChanges changes()
      Returns the value of the changes record component.
      Returns:
      the value of the changes record component
    • credits

      public TvEpisodeCredits credits()
      Returns the value of the credits record component.
      Returns:
      the value of the credits record component
    • externalIds

      public ExternalIds externalIds()
      Returns the value of the externalIds record component.
      Returns:
      the value of the externalIds record component
    • images

      public TvEpisodeImages images()
      Returns the value of the images record component.
      Returns:
      the value of the images record component
    • translations

      public TvEpisodeTranslations translations()
      Returns the value of the translations record component.
      Returns:
      the value of the translations record component
    • videos

      public TvEpisodeVideos videos()
      Returns the value of the videos record component.
      Returns:
      the value of the videos record component