Class Person.PersonBuilder<C extends Person,B extends Person.PersonBuilder<C,B>>
java.lang.Object
com.amilesend.tmdb.client.model.Resource.ResourceBuilder<Integer,Person,C,B>
com.amilesend.tmdb.client.model.NamedResource.NamedResourceBuilder<Integer,Person,C,B>
com.amilesend.tmdb.client.model.type.Person.PersonBuilder<C,B>
- Direct Known Subclasses:
AggregateCastCredit.AggregateCastCreditBuilder,AggregateCrewCredit.AggregateCrewCreditBuilder,Person.PersonBuilder,PersonSearchResult.PersonSearchResultBuilder
- Enclosing class:
Person
public abstract static class Person.PersonBuilder<C extends Person,B extends Person.PersonBuilder<C,B>>
extends NamedResource.NamedResourceBuilder<Integer,Person,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdult flag indicator.abstract Cbuild()The person's gender.knownForDepartment(String knownForDepartment) The job department that the person is known for.originalName(String originalName) The person's name.popularity(Double popularity) The person's popularity.profilePath(String profilePath) The path to the person's profile.toString()Methods inherited from class com.amilesend.tmdb.client.model.NamedResource.NamedResourceBuilder
nameMethods inherited from class com.amilesend.tmdb.client.model.Resource.ResourceBuilder
id
-
Constructor Details
-
PersonBuilder
public PersonBuilder()
-
-
Method Details
-
adult
Adult flag indicator.- Returns:
this.
-
originalName
The person's name.- Returns:
this.
-
popularity
The person's popularity.- Returns:
this.
-
gender
The person's gender.- Returns:
this.
-
knownForDepartment
The job department that the person is known for.- Returns:
this.
-
profilePath
The path to the person's profile.- Returns:
this.
-
build
- Specified by:
buildin classNamedResource.NamedResourceBuilder<Integer,Person, C extends Person, B extends Person.PersonBuilder<C, B>>
-
toString
- Overrides:
toStringin classNamedResource.NamedResourceBuilder<Integer,Person, C extends Person, B extends Person.PersonBuilder<C, B>>
-