Class Person
java.lang.Object
com.amilesend.tvmaze.client.model.Resource<Person,ResourceLink>
com.amilesend.tvmaze.client.model.Person
Describes a person associated with a series/show/episode (e.g., cast or crew member).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Encapsulates the possible embedded resources for theShow
.static class
Describes the type of additional embedded information to include in theShow
.static class
Person.PersonBuilder<C extends Person,
B extends Person.PersonBuilder<C, B>> -
Field Summary
Fields inherited from class com.amilesend.tvmaze.client.model.Resource
SELF_RESOURCE_LINK_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionstatic Person.PersonBuilder
<?, ?> builder()
The person's birthday.Gets the embedded cast credits associated with the person.The person's country.The person's death date.Any embedded resources associated with the person.The person's gender.getImage()
The URLs for images associated with the person.getName()
The person's name.long
Last updated timestamp.getUrl()
The URL associated with this person.toString()
-
Method Details
-
getCastCredits
Gets the embedded cast credits associated with the person. Note: Can benull
.- Returns:
- the list of cast credits
- See Also:
-
builder
-
getUrl
The URL associated with this person. -
getName
The person's name. -
getCountry
The person's country. -
getBirthday
The person's birthday. -
getDeathday
The person's death date. -
getGender
The person's gender. -
getImage
The URLs for images associated with the person. -
getUpdated
public long getUpdated()Last updated timestamp. -
getEmbeddedResource
Any embedded resources associated with the person. Note: can benull
. -
toString
- Overrides:
toString
in classResource<Person,
ResourceLink>
-