Class Person


public class Person extends Resource<Person,ResourceLink>
Describes a person associated with a series/show/episode (e.g., cast or crew member).
  • Method Details

    • getCastCredits

      public List<CastCredit> getCastCredits()
      Gets the embedded cast credits associated with the person. Note: Can be null.
      Returns:
      the list of cast credits
      See Also:
    • builder

      public static Person.PersonBuilder<?,?> builder()
    • getUrl

      public String getUrl()
      The URL associated with this person.
    • getName

      public String getName()
      The person's name.
    • getCountry

      public Country getCountry()
      The person's country.
    • getBirthday

      public LocalDate getBirthday()
      The person's birthday.
    • getDeathday

      public LocalDate getDeathday()
      The person's death date.
    • getGender

      public String getGender()
      The person's gender.
    • getImage

      public ImageUrl getImage()
      The URLs for images associated with the person.
    • getUpdated

      public long getUpdated()
      Last updated timestamp.
    • getEmbeddedResource

      public Person.EmbeddedResource getEmbeddedResource()
      Any embedded resources associated with the person. Note: can be null.
    • toString

      public String toString()
      Overrides:
      toString in class Resource<Person,ResourceLink>