Record Class TvSeasonDetails

java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.tv.season.model.TvSeasonDetails
Record Components:
objectId - internal TMDB object id
airDate - season air date
episodes - season episodes
name - season name
overview - season overview
id - TMDB season id
posterPath - poster image path
seasonNumber - season number
voteAverage - vote average
aggregateCredits - appended aggregate credits
changes - appended changes
credits - appended credits
externalIds - appended external ids
images - appended images
translations - appended translations
videos - appended videos
watchProviders - appended watch providers
All Implemented Interfaces:
TmdbModel, Serializable

public record TvSeasonDetails(String objectId, String airDate, List<TvSeasonEpisode> episodes, String name, String overview, int id, String posterPath, int seasonNumber, double voteAverage, TvSeasonAggregateCredits aggregateCredits, TvSeasonChanges changes, TvSeasonCredits credits, ExternalIds externalIds, TvSeasonImages images, TvSeasonTranslations translations, TvSeasonVideos videos, TvSeasonWatchProviders watchProviders) extends Record implements TmdbModel
Details for a TMDB TV season.
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.
    • objectId

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

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

      public List<TvSeasonEpisode> episodes()
      Returns the value of the episodes record component.
      Returns:
      the value of the episodes 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
    • posterPath

      public String posterPath()
      Returns the value of the posterPath record component.
      Returns:
      the value of the posterPath record component
    • seasonNumber

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

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

      public TvSeasonAggregateCredits aggregateCredits()
      Returns the value of the aggregateCredits record component.
      Returns:
      the value of the aggregateCredits record component
    • changes

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

      public TvSeasonCredits 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 TvSeasonImages images()
      Returns the value of the images record component.
      Returns:
      the value of the images record component
    • translations

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

      public TvSeasonVideos videos()
      Returns the value of the videos record component.
      Returns:
      the value of the videos record component
    • watchProviders

      public TvSeasonWatchProviders watchProviders()
      Returns the value of the watchProviders record component.
      Returns:
      the value of the watchProviders record component