Record Class PersonDetails

java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.people.model.PersonDetails
Record Components:
adult - whether the person is marked as adult
alsoKnownAs - alternative names
biography - person biography
birthday - birthday
deathday - deathday
gender - gender value returned by TMDB
homepage - homepage URL
id - TMDB person id
imdbId - IMDb id
knownForDepartment - known department
name - person name
placeOfBirth - place of birth
popularity - person popularity
profilePath - profile image path
changes - appended changes
combinedCredits - appended combined credits
externalIds - appended external ids
images - appended images
movieCredits - appended movie credits
tvCredits - appended TV credits
translations - appended translations
All Implemented Interfaces:
TmdbModel, Serializable

public record PersonDetails(boolean adult, List<String> alsoKnownAs, String biography, String birthday, String deathday, int gender, String homepage, int id, String imdbId, String knownForDepartment, String name, String placeOfBirth, double popularity, String profilePath, PersonChanges changes, PersonCombinedCredits combinedCredits, ExternalIds externalIds, PersonImages images, PersonMovieCredits movieCredits, PersonTvCredits tvCredits, PersonTranslations translations) extends Record implements TmdbModel
Top level TMDB person details.
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
    • alsoKnownAs

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

      public String biography()
      Returns the value of the biography record component.
      Returns:
      the value of the biography record component
    • birthday

      public String birthday()
      Returns the value of the birthday record component.
      Returns:
      the value of the birthday record component
    • deathday

      public String deathday()
      Returns the value of the deathday record component.
      Returns:
      the value of the deathday record component
    • gender

      public int gender()
      Returns the value of the gender record component.
      Returns:
      the value of the gender 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
    • knownForDepartment

      public String knownForDepartment()
      Returns the value of the knownForDepartment record component.
      Returns:
      the value of the knownForDepartment record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • placeOfBirth

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

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

      public String profilePath()
      Returns the value of the profilePath record component.
      Returns:
      the value of the profilePath record component
    • changes

      public PersonChanges changes()
      Returns the value of the changes record component.
      Returns:
      the value of the changes record component
    • combinedCredits

      public PersonCombinedCredits combinedCredits()
      Returns the value of the combinedCredits record component.
      Returns:
      the value of the combinedCredits record component
    • externalIds

      public ExternalIds externalIds()
      Returns the value of the externalIds record component.
      Returns:
      the value of the externalIds record component
    • images

      public PersonImages images()
      Returns the value of the images record component.
      Returns:
      the value of the images record component
    • movieCredits

      public PersonMovieCredits movieCredits()
      Returns the value of the movieCredits record component.
      Returns:
      the value of the movieCredits record component
    • tvCredits

      public PersonTvCredits tvCredits()
      Returns the value of the tvCredits record component.
      Returns:
      the value of the tvCredits record component
    • translations

      public PersonTranslations translations()
      Returns the value of the translations record component.
      Returns:
      the value of the translations record component