Record Class MovieDetails
java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.movie.model.MovieDetails
- Record Components:
adult- whether the movie is marked as adultbackdropPath- backdrop image pathbelongsToCollection- collection this movie belongs tobudget- movie budgetgenres- movie genreshomepage- movie homepageid- TMDB movie idimdbId- IMDb idoriginCountry- origin countriesoriginalLanguage- original languageoriginalTitle- original titleoverview- movie overviewpopularity- popularityposterPath- poster image pathproductionCompanies- production companiesproductionCountries- production countriesreleaseDate- release daterevenue- movie revenueruntime- runtime in minutesspokenLanguages- spoken languagesstatus- movie statustagline- movie taglinetitle- movie titlevideo- whether the movie has video flagvoteAverage- vote averagevoteCount- vote countalternativeTitles- appended alternative titleschanges- appended changescredits- appended creditsexternalIds- appended external idsimages- appended imageskeywords- appended keywordsrecommendations- appended recommendationsreleaseDates- appended release datesreviews- appended reviewssimilar- appended similar moviestranslations- appended translationsvideos- appended videoswatchProviders- appended watch providers
- All Implemented Interfaces:
TmdbModel,Serializable
public record MovieDetails(boolean adult, String backdropPath, MovieCollection belongsToCollection, long budget, List<Genre> genres, String homepage, int id, String imdbId, List<String> originCountry, String originalLanguage, String originalTitle, String overview, double popularity, String posterPath, List<ProductionCompany> productionCompanies, List<MovieProductionCountry> productionCountries, String releaseDate, long revenue, Integer runtime, List<MovieSpokenLanguage> spokenLanguages, String status, String tagline, String title, boolean video, double voteAverage, int voteCount, MovieAlternativeTitles alternativeTitles, MovieChanges changes, MovieCredits credits, ExternalIds externalIds, MovieImages images, MovieKeywords keywords, MovieRecommendations recommendations, MovieReleaseDates releaseDates, MovieReviews reviews, SimilarMovies similar, MovieTranslations translations, MovieVideos videos, MovieWatchProviders watchProviders)
extends Record
implements TmdbModel
Details for a TMDB movie.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMovieDetails(boolean adult, String backdropPath, MovieCollection belongsToCollection, long budget, List<Genre> genres, String homepage, int id, String imdbId, List<String> originCountry, String originalLanguage, String originalTitle, String overview, double popularity, String posterPath, List<ProductionCompany> productionCompanies, List<MovieProductionCountry> productionCountries, String releaseDate, long revenue, Integer runtime, List<MovieSpokenLanguage> spokenLanguages, String status, String tagline, String title, boolean video, double voteAverage, int voteCount, MovieAlternativeTitles alternativeTitles, MovieChanges changes, MovieCredits credits, ExternalIds externalIds, MovieImages images, MovieKeywords keywords, MovieRecommendations recommendations, MovieReleaseDates releaseDates, MovieReviews reviews, SimilarMovies similar, MovieTranslations translations, MovieVideos videos, MovieWatchProviders watchProviders) Creates an instance of aMovieDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanadult()Returns the value of theadultrecord component.Returns the value of thealternativeTitlesrecord component.Returns the value of thebackdropPathrecord component.Returns the value of thebelongsToCollectionrecord component.longbudget()Returns the value of thebudgetrecord component.changes()Returns the value of thechangesrecord component.credits()Returns the value of thecreditsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalIdsrecord 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.images()Returns the value of theimagesrecord component.imdbId()Returns the value of theimdbIdrecord component.keywords()Returns the value of thekeywordsrecord component.Returns the value of theoriginalLanguagerecord component.Returns the value of theoriginalTitlerecord 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.Returns the value of thereleaseDaterecord component.Returns the value of thereleaseDatesrecord component.longrevenue()Returns the value of therevenuerecord component.reviews()Returns the value of thereviewsrecord component.runtime()Returns the value of theruntimerecord 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.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranslationsrecord component.booleanvideo()Returns the value of thevideorecord 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
-
MovieDetails
public MovieDetails(boolean adult, String backdropPath, MovieCollection belongsToCollection, long budget, List<Genre> genres, String homepage, int id, String imdbId, List<String> originCountry, String originalLanguage, String originalTitle, String overview, double popularity, String posterPath, List<ProductionCompany> productionCompanies, List<MovieProductionCountry> productionCountries, String releaseDate, long revenue, Integer runtime, List<MovieSpokenLanguage> spokenLanguages, String status, String tagline, String title, boolean video, double voteAverage, int voteCount, MovieAlternativeTitles alternativeTitles, MovieChanges changes, MovieCredits credits, ExternalIds externalIds, MovieImages images, MovieKeywords keywords, MovieRecommendations recommendations, MovieReleaseDates releaseDates, MovieReviews reviews, SimilarMovies similar, MovieTranslations translations, MovieVideos videos, MovieWatchProviders watchProviders) Creates an instance of aMovieDetailsrecord class.- Parameters:
adult- the value for theadultrecord componentbackdropPath- the value for thebackdropPathrecord componentbelongsToCollection- the value for thebelongsToCollectionrecord componentbudget- the value for thebudgetrecord componentgenres- the value for thegenresrecord componenthomepage- the value for thehomepagerecord componentid- the value for theidrecord componentimdbId- the value for theimdbIdrecord componentoriginCountry- the value for theoriginCountryrecord componentoriginalLanguage- the value for theoriginalLanguagerecord componentoriginalTitle- the value for theoriginalTitlerecord 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 componentreleaseDate- the value for thereleaseDaterecord componentrevenue- the value for therevenuerecord componentruntime- the value for theruntimerecord componentspokenLanguages- the value for thespokenLanguagesrecord componentstatus- the value for thestatusrecord componenttagline- the value for thetaglinerecord componenttitle- the value for thetitlerecord componentvideo- the value for thevideorecord componentvoteAverage- the value for thevoteAveragerecord componentvoteCount- the value for thevoteCountrecord componentalternativeTitles- the value for thealternativeTitlesrecord componentchanges- the value for thechangesrecord componentcredits- the value for thecreditsrecord componentexternalIds- the value for theexternalIdsrecord componentimages- the value for theimagesrecord componentkeywords- the value for thekeywordsrecord componentrecommendations- the value for therecommendationsrecord componentreleaseDates- the value for thereleaseDatesrecord componentreviews- the value for thereviewsrecord 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
-
belongsToCollection
Returns the value of thebelongsToCollectionrecord component.- Returns:
- the value of the
belongsToCollectionrecord component
-
budget
public long budget()Returns the value of thebudgetrecord component.- Returns:
- the value of the
budgetrecord 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
-
imdbId
Returns the value of theimdbIdrecord component.- Returns:
- the value of the
imdbIdrecord 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
-
originalTitle
Returns the value of theoriginalTitlerecord component.- Returns:
- the value of the
originalTitlerecord 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
-
releaseDate
Returns the value of thereleaseDaterecord component.- Returns:
- the value of the
releaseDaterecord component
-
revenue
public long revenue()Returns the value of therevenuerecord component.- Returns:
- the value of the
revenuerecord component
-
runtime
Returns the value of theruntimerecord component.- Returns:
- the value of the
runtimerecord 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
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
video
public boolean video()Returns the value of thevideorecord component.- Returns:
- the value of the
videorecord 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
-
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
-
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
-
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
-
releaseDates
Returns the value of thereleaseDatesrecord component.- Returns:
- the value of the
releaseDatesrecord component
-
reviews
Returns the value of thereviewsrecord component.- Returns:
- the value of the
reviewsrecord 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
-