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 classEncapsulates the possible embedded resources for theShow.static classDescribes the type of additional embedded information to include in theShow.static classPerson.PersonBuilder<C extends Person, B extends Person.PersonBuilder<C,B>> Nested classes/interfaces inherited from class Resource
Resource.ResourceBuilder<T,L, C, B> -
Field Summary
Fields inherited from class 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.longLast 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:
toStringin classResource<Person, ResourceLink>
-