Class Person.PersonBuilder<C extends Person,B extends Person.PersonBuilder<C,B>>
java.lang.Object
com.amilesend.tvmaze.client.model.Resource.ResourceBuilder<Person,ResourceLink,C,B>
com.amilesend.tvmaze.client.model.Person.PersonBuilder<C,B>
- Enclosing class:
Person
public abstract static class Person.PersonBuilder<C extends Person,B extends Person.PersonBuilder<C,B>>
extends Resource.ResourceBuilder<Person,ResourceLink,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe person's birthday.abstract C
build()
The person's country.The person's death date.embeddedResource
(Person.EmbeddedResource embeddedResource) Any embedded resources associated with the person.The person's gender.The URLs for images associated with the person.The person's name.toString()
updated
(long updated) Last updated timestamp.The URL associated with this person.Methods inherited from class com.amilesend.tvmaze.client.model.Resource.ResourceBuilder
id, links
-
Constructor Details
-
PersonBuilder
public PersonBuilder()
-
-
Method Details
-
url
The URL associated with this person.- Returns:
this
.
-
name
The person's name.- Returns:
this
.
-
country
The person's country.- Returns:
this
.
-
birthday
The person's birthday.- Returns:
this
.
-
deathday
The person's death date.- Returns:
this
.
-
gender
The person's gender.- Returns:
this
.
-
image
The URLs for images associated with the person.- Returns:
this
.
-
updated
Last updated timestamp.- Returns:
this
.
-
embeddedResource
Any embedded resources associated with the person. Note: can benull
.- Returns:
this
.
-
build
- Specified by:
build
in classResource.ResourceBuilder<Person,
ResourceLink, C extends Person, B extends Person.PersonBuilder<C, B>>
-
toString
- Overrides:
toString
in classResource.ResourceBuilder<Person,
ResourceLink, C extends Person, B extends Person.PersonBuilder<C, B>>
-