Record Class TvSeasonDetails
java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.tv.season.model.TvSeasonDetails
- Record Components:
objectId- internal TMDB object idairDate- season air dateepisodes- season episodesname- season nameoverview- season overviewid- TMDB season idposterPath- poster image pathseasonNumber- season numbervoteAverage- vote averageaggregateCredits- appended aggregate creditschanges- appended changescredits- appended creditsexternalIds- appended external idsimages- appended imagestranslations- appended translationsvideos- appended videoswatchProviders- 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 Summary
ConstructorsConstructorDescriptionTvSeasonDetails(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) Creates an instance of aTvSeasonDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregateCreditsrecord component.airDate()Returns the value of theairDaterecord component.changes()Returns the value of thechangesrecord component.credits()Returns the value of thecreditsrecord component.episodes()Returns the value of theepisodesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalIdsrecord component.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.images()Returns the value of theimagesrecord component.name()Returns the value of thenamerecord component.objectId()Returns the value of theobjectIdrecord component.overview()Returns the value of theoverviewrecord component.Returns the value of theposterPathrecord component.intReturns the value of theseasonNumberrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranslationsrecord component.videos()Returns the value of thevideosrecord component.doubleReturns the value of thevoteAveragerecord component.Returns the value of thewatchProvidersrecord component.
-
Constructor Details
-
TvSeasonDetails
public 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) Creates an instance of aTvSeasonDetailsrecord class.- Parameters:
objectId- the value for theobjectIdrecord componentairDate- the value for theairDaterecord componentepisodes- the value for theepisodesrecord componentname- the value for thenamerecord componentoverview- the value for theoverviewrecord componentid- the value for theidrecord componentposterPath- the value for theposterPathrecord componentseasonNumber- the value for theseasonNumberrecord componentvoteAverage- the value for thevoteAveragerecord componentaggregateCredits- the value for theaggregateCreditsrecord componentchanges- the value for thechangesrecord componentcredits- the value for thecreditsrecord componentexternalIds- the value for theexternalIdsrecord componentimages- the value for theimagesrecord componenttranslations- the value for thetranslationsrecord componentvideos- the value for thevideosrecord componentwatchProviders- the value for thewatchProvidersrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
objectId
Returns the value of theobjectIdrecord component.- Returns:
- the value of the
objectIdrecord component
-
airDate
Returns the value of theairDaterecord component.- Returns:
- the value of the
airDaterecord component
-
episodes
Returns the value of theepisodesrecord component.- Returns:
- the value of the
episodesrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
overview
Returns the value of theoverviewrecord component.- Returns:
- the value of the
overviewrecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
posterPath
Returns the value of theposterPathrecord component.- Returns:
- the value of the
posterPathrecord component
-
seasonNumber
public int seasonNumber()Returns the value of theseasonNumberrecord component.- Returns:
- the value of the
seasonNumberrecord component
-
voteAverage
public double voteAverage()Returns the value of thevoteAveragerecord component.- Returns:
- the value of the
voteAveragerecord component
-
aggregateCredits
Returns the value of theaggregateCreditsrecord component.- Returns:
- the value of the
aggregateCreditsrecord component
-
changes
Returns the value of thechangesrecord component.- Returns:
- the value of the
changesrecord component
-
credits
Returns the value of thecreditsrecord component.- Returns:
- the value of the
creditsrecord component
-
externalIds
Returns the value of theexternalIdsrecord component.- Returns:
- the value of the
externalIdsrecord component
-
images
Returns the value of theimagesrecord component.- Returns:
- the value of the
imagesrecord component
-
translations
Returns the value of thetranslationsrecord component.- Returns:
- the value of the
translationsrecord component
-
videos
Returns the value of thevideosrecord component.- Returns:
- the value of the
videosrecord component
-
watchProviders
Returns the value of thewatchProvidersrecord component.- Returns:
- the value of the
watchProvidersrecord component
-