Record Class TvSeriesDetails
java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.tv.series.model.TvSeriesDetails
- Record Components:
adult- whether the series is marked as adultbackdropPath- backdrop image pathcreatedBy- series creatorsepisodeRunTime- episode runtimes in minutesfirstAirDate- first air dategenres- series genreshomepage- series homepageid- TMDB TV series idinProduction- whether the series is in productionlanguages- languages used by the serieslastAirDate- last air datelastEpisodeToAir- last aired episodename- series namenextEpisodeToAir- next scheduled episodenetworks- networksnumberOfEpisodes- episode countnumberOfSeasons- season countoriginCountry- origin countriesoriginalLanguage- original languageoriginalName- original nameoverview- series overviewpopularity- popularityposterPath- poster image pathproductionCompanies- production companiesproductionCountries- production countriesseasons- seasonsspokenLanguages- spoken languagesstatus- series statustagline- series taglinetype- series typevoteAverage- vote averagevoteCount- vote countaggregateCredits- appended aggregate creditsalternativeTitles- appended alternative titleschanges- appended changescontentRatings- appended content ratingscredits- appended creditsepisodeGroups- appended episode groupsexternalIds- appended external idskeywords- appended keywordsrecommendations- appended recommendationsreviews- appended reviewsscreenedTheatrically- appended theatrical screeningssimilar- appended similar TV seriestranslations- appended translationsvideos- appended videoswatchProviders- appended watch providers
- All Implemented Interfaces:
TmdbModel,Serializable
public record TvSeriesDetails(boolean adult, String backdropPath, List<TvSeriesCreator> createdBy, List<Integer> episodeRunTime, String firstAirDate, List<Genre> genres, String homepage, int id, boolean inProduction, List<String> languages, String lastAirDate, TvSeriesEpisode lastEpisodeToAir, String name, TvSeriesEpisode nextEpisodeToAir, List<TvSeriesNetwork> networks, int numberOfEpisodes, int numberOfSeasons, List<String> originCountry, String originalLanguage, String originalName, String overview, double popularity, String posterPath, List<ProductionCompany> productionCompanies, List<TvSeriesProductionCountry> productionCountries, List<TvSeriesSeason> seasons, List<TvSeriesSpokenLanguage> spokenLanguages, String status, String tagline, String type, double voteAverage, int voteCount, TvSeriesAggregateCredits aggregateCredits, TvSeriesAlternativeTitles alternativeTitles, TvSeriesChanges changes, TvSeriesContentRatings contentRatings, TvSeriesCredits credits, TvSeriesEpisodeGroups episodeGroups, ExternalIds externalIds, TvSeriesKeywords keywords, TvSeriesRecommendations recommendations, TvSeriesReviews reviews, TvSeriesScreenedTheatrically screenedTheatrically, TvSeriesSimilar similar, TvSeriesTranslations translations, TvSeriesVideos videos, TvSeriesWatchProviders watchProviders)
extends Record
implements TmdbModel
Details of a TMDB TV series.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTvSeriesDetails(boolean adult, String backdropPath, List<TvSeriesCreator> createdBy, List<Integer> episodeRunTime, String firstAirDate, List<Genre> genres, String homepage, int id, boolean inProduction, List<String> languages, String lastAirDate, TvSeriesEpisode lastEpisodeToAir, String name, TvSeriesEpisode nextEpisodeToAir, List<TvSeriesNetwork> networks, int numberOfEpisodes, int numberOfSeasons, List<String> originCountry, String originalLanguage, String originalName, String overview, double popularity, String posterPath, List<ProductionCompany> productionCompanies, List<TvSeriesProductionCountry> productionCountries, List<TvSeriesSeason> seasons, List<TvSeriesSpokenLanguage> spokenLanguages, String status, String tagline, String type, double voteAverage, int voteCount, TvSeriesAggregateCredits aggregateCredits, TvSeriesAlternativeTitles alternativeTitles, TvSeriesChanges changes, TvSeriesContentRatings contentRatings, TvSeriesCredits credits, TvSeriesEpisodeGroups episodeGroups, ExternalIds externalIds, TvSeriesKeywords keywords, TvSeriesRecommendations recommendations, TvSeriesReviews reviews, TvSeriesScreenedTheatrically screenedTheatrically, TvSeriesSimilar similar, TvSeriesTranslations translations, TvSeriesVideos videos, TvSeriesWatchProviders watchProviders) Creates an instance of aTvSeriesDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanadult()Returns the value of theadultrecord component.Returns the value of theaggregateCreditsrecord component.Returns the value of thealternativeTitlesrecord component.Returns the value of thebackdropPathrecord component.changes()Returns the value of thechangesrecord component.Returns the value of thecontentRatingsrecord component.Returns the value of thecreatedByrecord component.credits()Returns the value of thecreditsrecord component.Returns the value of theepisodeGroupsrecord component.Returns the value of theepisodeRunTimerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalIdsrecord component.Returns the value of thefirstAirDaterecord component.genres()Returns the value of thegenresrecord component.final inthashCode()Returns a hash code value for this object.homepage()Returns the value of thehomepagerecord component.intid()Returns the value of theidrecord component.booleanReturns the value of theinProductionrecord component.keywords()Returns the value of thekeywordsrecord component.Returns the value of thelanguagesrecord component.Returns the value of thelastAirDaterecord component.Returns the value of thelastEpisodeToAirrecord component.name()Returns the value of thenamerecord component.networks()Returns the value of thenetworksrecord component.Returns the value of thenextEpisodeToAirrecord component.intReturns the value of thenumberOfEpisodesrecord component.intReturns the value of thenumberOfSeasonsrecord component.Returns the value of theoriginalLanguagerecord component.Returns the value of theoriginalNamerecord component.Returns the value of theoriginCountryrecord component.overview()Returns the value of theoverviewrecord component.doubleReturns the value of thepopularityrecord component.Returns the value of theposterPathrecord component.Returns the value of theproductionCompaniesrecord component.Returns the value of theproductionCountriesrecord component.Returns the value of therecommendationsrecord component.reviews()Returns the value of thereviewsrecord component.Returns the value of thescreenedTheatricallyrecord component.seasons()Returns the value of theseasonsrecord component.similar()Returns the value of thesimilarrecord component.Returns the value of thespokenLanguagesrecord component.status()Returns the value of thestatusrecord component.tagline()Returns the value of thetaglinerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranslationsrecord component.type()Returns the value of thetyperecord component.videos()Returns the value of thevideosrecord component.doubleReturns the value of thevoteAveragerecord component.intReturns the value of thevoteCountrecord component.Returns the value of thewatchProvidersrecord component.
-
Constructor Details
-
TvSeriesDetails
public TvSeriesDetails(boolean adult, String backdropPath, List<TvSeriesCreator> createdBy, List<Integer> episodeRunTime, String firstAirDate, List<Genre> genres, String homepage, int id, boolean inProduction, List<String> languages, String lastAirDate, TvSeriesEpisode lastEpisodeToAir, String name, TvSeriesEpisode nextEpisodeToAir, List<TvSeriesNetwork> networks, int numberOfEpisodes, int numberOfSeasons, List<String> originCountry, String originalLanguage, String originalName, String overview, double popularity, String posterPath, List<ProductionCompany> productionCompanies, List<TvSeriesProductionCountry> productionCountries, List<TvSeriesSeason> seasons, List<TvSeriesSpokenLanguage> spokenLanguages, String status, String tagline, String type, double voteAverage, int voteCount, TvSeriesAggregateCredits aggregateCredits, TvSeriesAlternativeTitles alternativeTitles, TvSeriesChanges changes, TvSeriesContentRatings contentRatings, TvSeriesCredits credits, TvSeriesEpisodeGroups episodeGroups, ExternalIds externalIds, TvSeriesKeywords keywords, TvSeriesRecommendations recommendations, TvSeriesReviews reviews, TvSeriesScreenedTheatrically screenedTheatrically, TvSeriesSimilar similar, TvSeriesTranslations translations, TvSeriesVideos videos, TvSeriesWatchProviders watchProviders) Creates an instance of aTvSeriesDetailsrecord class.- Parameters:
adult- the value for theadultrecord componentbackdropPath- the value for thebackdropPathrecord componentcreatedBy- the value for thecreatedByrecord componentepisodeRunTime- the value for theepisodeRunTimerecord componentfirstAirDate- the value for thefirstAirDaterecord componentgenres- the value for thegenresrecord componenthomepage- the value for thehomepagerecord componentid- the value for theidrecord componentinProduction- the value for theinProductionrecord componentlanguages- the value for thelanguagesrecord componentlastAirDate- the value for thelastAirDaterecord componentlastEpisodeToAir- the value for thelastEpisodeToAirrecord componentname- the value for thenamerecord componentnextEpisodeToAir- the value for thenextEpisodeToAirrecord componentnetworks- the value for thenetworksrecord componentnumberOfEpisodes- the value for thenumberOfEpisodesrecord componentnumberOfSeasons- the value for thenumberOfSeasonsrecord componentoriginCountry- the value for theoriginCountryrecord componentoriginalLanguage- the value for theoriginalLanguagerecord componentoriginalName- the value for theoriginalNamerecord componentoverview- the value for theoverviewrecord componentpopularity- the value for thepopularityrecord componentposterPath- the value for theposterPathrecord componentproductionCompanies- the value for theproductionCompaniesrecord componentproductionCountries- the value for theproductionCountriesrecord componentseasons- the value for theseasonsrecord componentspokenLanguages- the value for thespokenLanguagesrecord componentstatus- the value for thestatusrecord componenttagline- the value for thetaglinerecord componenttype- the value for thetyperecord componentvoteAverage- the value for thevoteAveragerecord componentvoteCount- the value for thevoteCountrecord componentaggregateCredits- the value for theaggregateCreditsrecord componentalternativeTitles- the value for thealternativeTitlesrecord componentchanges- the value for thechangesrecord componentcontentRatings- the value for thecontentRatingsrecord componentcredits- the value for thecreditsrecord componentepisodeGroups- the value for theepisodeGroupsrecord componentexternalIds- the value for theexternalIdsrecord componentkeywords- the value for thekeywordsrecord componentrecommendations- the value for therecommendationsrecord componentreviews- the value for thereviewsrecord componentscreenedTheatrically- the value for thescreenedTheatricallyrecord componentsimilar- the value for thesimilarrecord 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 '=='. -
adult
public boolean adult()Returns the value of theadultrecord component.- Returns:
- the value of the
adultrecord component
-
backdropPath
Returns the value of thebackdropPathrecord component.- Returns:
- the value of the
backdropPathrecord component
-
createdBy
Returns the value of thecreatedByrecord component.- Returns:
- the value of the
createdByrecord component
-
episodeRunTime
Returns the value of theepisodeRunTimerecord component.- Returns:
- the value of the
episodeRunTimerecord component
-
firstAirDate
Returns the value of thefirstAirDaterecord component.- Returns:
- the value of the
firstAirDaterecord component
-
genres
Returns the value of thegenresrecord component.- Returns:
- the value of the
genresrecord component
-
homepage
Returns the value of thehomepagerecord component.- Returns:
- the value of the
homepagerecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
inProduction
public boolean inProduction()Returns the value of theinProductionrecord component.- Returns:
- the value of the
inProductionrecord component
-
languages
Returns the value of thelanguagesrecord component.- Returns:
- the value of the
languagesrecord component
-
lastAirDate
Returns the value of thelastAirDaterecord component.- Returns:
- the value of the
lastAirDaterecord component
-
lastEpisodeToAir
Returns the value of thelastEpisodeToAirrecord component.- Returns:
- the value of the
lastEpisodeToAirrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
nextEpisodeToAir
Returns the value of thenextEpisodeToAirrecord component.- Returns:
- the value of the
nextEpisodeToAirrecord component
-
networks
Returns the value of thenetworksrecord component.- Returns:
- the value of the
networksrecord component
-
numberOfEpisodes
public int numberOfEpisodes()Returns the value of thenumberOfEpisodesrecord component.- Returns:
- the value of the
numberOfEpisodesrecord component
-
numberOfSeasons
public int numberOfSeasons()Returns the value of thenumberOfSeasonsrecord component.- Returns:
- the value of the
numberOfSeasonsrecord component
-
originCountry
Returns the value of theoriginCountryrecord component.- Returns:
- the value of the
originCountryrecord component
-
originalLanguage
Returns the value of theoriginalLanguagerecord component.- Returns:
- the value of the
originalLanguagerecord component
-
originalName
Returns the value of theoriginalNamerecord component.- Returns:
- the value of the
originalNamerecord component
-
overview
Returns the value of theoverviewrecord component.- Returns:
- the value of the
overviewrecord component
-
popularity
public double popularity()Returns the value of thepopularityrecord component.- Returns:
- the value of the
popularityrecord component
-
posterPath
Returns the value of theposterPathrecord component.- Returns:
- the value of the
posterPathrecord component
-
productionCompanies
Returns the value of theproductionCompaniesrecord component.- Returns:
- the value of the
productionCompaniesrecord component
-
productionCountries
Returns the value of theproductionCountriesrecord component.- Returns:
- the value of the
productionCountriesrecord component
-
seasons
Returns the value of theseasonsrecord component.- Returns:
- the value of the
seasonsrecord component
-
spokenLanguages
Returns the value of thespokenLanguagesrecord component.- Returns:
- the value of the
spokenLanguagesrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
tagline
Returns the value of thetaglinerecord component.- Returns:
- the value of the
taglinerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
voteAverage
public double voteAverage()Returns the value of thevoteAveragerecord component.- Returns:
- the value of the
voteAveragerecord component
-
voteCount
public int voteCount()Returns the value of thevoteCountrecord component.- Returns:
- the value of the
voteCountrecord component
-
aggregateCredits
Returns the value of theaggregateCreditsrecord component.- Returns:
- the value of the
aggregateCreditsrecord component
-
alternativeTitles
Returns the value of thealternativeTitlesrecord component.- Returns:
- the value of the
alternativeTitlesrecord component
-
changes
Returns the value of thechangesrecord component.- Returns:
- the value of the
changesrecord component
-
contentRatings
Returns the value of thecontentRatingsrecord component.- Returns:
- the value of the
contentRatingsrecord component
-
credits
Returns the value of thecreditsrecord component.- Returns:
- the value of the
creditsrecord component
-
episodeGroups
Returns the value of theepisodeGroupsrecord component.- Returns:
- the value of the
episodeGroupsrecord component
-
externalIds
Returns the value of theexternalIdsrecord component.- Returns:
- the value of the
externalIdsrecord component
-
keywords
Returns the value of thekeywordsrecord component.- Returns:
- the value of the
keywordsrecord component
-
recommendations
Returns the value of therecommendationsrecord component.- Returns:
- the value of the
recommendationsrecord component
-
reviews
Returns the value of thereviewsrecord component.- Returns:
- the value of the
reviewsrecord component
-
screenedTheatrically
Returns the value of thescreenedTheatricallyrecord component.- Returns:
- the value of the
screenedTheatricallyrecord component
-
similar
Returns the value of thesimilarrecord component.- Returns:
- the value of the
similarrecord 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
-