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 adult
backdropPath - backdrop image path
belongsToCollection - collection this movie belongs to
budget - movie budget
genres - movie genres
homepage - movie homepage
id - TMDB movie id
imdbId - IMDb id
originCountry - origin countries
originalLanguage - original language
originalTitle - original title
overview - movie overview
popularity - popularity
posterPath - poster image path
productionCompanies - production companies
productionCountries - production countries
releaseDate - release date
revenue - movie revenue
runtime - runtime in minutes
spokenLanguages - spoken languages
status - movie status
tagline - movie tagline
title - movie title
video - whether the movie has video flag
voteAverage - vote average
voteCount - vote count
alternativeTitles - appended alternative titles
changes - appended changes
credits - appended credits
externalIds - appended external ids
images - appended images
keywords - appended keywords
recommendations - appended recommendations
releaseDates - appended release dates
reviews - appended reviews
similar - appended similar movies
translations - appended translations
videos - appended videos
watchProviders - 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 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.
    • adult

      public boolean adult()
      Returns the value of the adult record component.
      Returns:
      the value of the adult record component
    • backdropPath

      public String backdropPath()
      Returns the value of the backdropPath record component.
      Returns:
      the value of the backdropPath record component
    • belongsToCollection

      public MovieCollection belongsToCollection()
      Returns the value of the belongsToCollection record component.
      Returns:
      the value of the belongsToCollection record component
    • budget

      public long budget()
      Returns the value of the budget record component.
      Returns:
      the value of the budget record component
    • genres

      public List<Genre> genres()
      Returns the value of the genres record component.
      Returns:
      the value of the genres record component
    • homepage

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

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

      public String imdbId()
      Returns the value of the imdbId record component.
      Returns:
      the value of the imdbId record component
    • originCountry

      public List<String> originCountry()
      Returns the value of the originCountry record component.
      Returns:
      the value of the originCountry record component
    • originalLanguage

      public String originalLanguage()
      Returns the value of the originalLanguage record component.
      Returns:
      the value of the originalLanguage record component
    • originalTitle

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

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

      public double popularity()
      Returns the value of the popularity record component.
      Returns:
      the value of the popularity record component
    • posterPath

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

      public List<ProductionCompany> productionCompanies()
      Returns the value of the productionCompanies record component.
      Returns:
      the value of the productionCompanies record component
    • productionCountries

      public List<MovieProductionCountry> productionCountries()
      Returns the value of the productionCountries record component.
      Returns:
      the value of the productionCountries record component
    • releaseDate

      public String releaseDate()
      Returns the value of the releaseDate record component.
      Returns:
      the value of the releaseDate record component
    • revenue

      public long revenue()
      Returns the value of the revenue record component.
      Returns:
      the value of the revenue record component
    • runtime

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

      public List<MovieSpokenLanguage> spokenLanguages()
      Returns the value of the spokenLanguages record component.
      Returns:
      the value of the spokenLanguages record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • tagline

      public String tagline()
      Returns the value of the tagline record component.
      Returns:
      the value of the tagline record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • video

      public boolean video()
      Returns the value of the video record component.
      Returns:
      the value of the video 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
    • alternativeTitles

      public MovieAlternativeTitles alternativeTitles()
      Returns the value of the alternativeTitles record component.
      Returns:
      the value of the alternativeTitles record component
    • changes

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

      public MovieCredits 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 MovieImages images()
      Returns the value of the images record component.
      Returns:
      the value of the images record component
    • keywords

      public MovieKeywords keywords()
      Returns the value of the keywords record component.
      Returns:
      the value of the keywords record component
    • recommendations

      public MovieRecommendations recommendations()
      Returns the value of the recommendations record component.
      Returns:
      the value of the recommendations record component
    • releaseDates

      public MovieReleaseDates releaseDates()
      Returns the value of the releaseDates record component.
      Returns:
      the value of the releaseDates record component
    • reviews

      public MovieReviews reviews()
      Returns the value of the reviews record component.
      Returns:
      the value of the reviews record component
    • similar

      public SimilarMovies similar()
      Returns the value of the similar record component.
      Returns:
      the value of the similar record component
    • translations

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

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

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