Class PopularPerson.PopularPersonBuilder<C extends PopularPerson,B extends PopularPerson.PopularPersonBuilder<C,B>>
java.lang.Object
com.amilesend.tmdb.client.model.Resource.ResourceBuilder<Integer,PopularPerson,C,B>
com.amilesend.tmdb.client.model.NamedResource.NamedResourceBuilder<Integer,PopularPerson,C,B>
com.amilesend.tmdb.client.model.people.lists.type.PopularPerson.PopularPersonBuilder<C,B>
- Enclosing class:
PopularPerson
public abstract static class PopularPerson.PopularPersonBuilder<C extends PopularPerson,B extends PopularPerson.PopularPersonBuilder<C,B>>
extends NamedResource.NamedResourceBuilder<Integer,PopularPerson,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdult flag indicator.abstract Cbuild()The person's gender.The associated media that the person is known for.knownForDepartment(String knownForDepartment) The job department that the person is known for.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
-
PopularPersonBuilder
public PopularPersonBuilder()
-
-
Method Details
-
adult
Adult flag indicator.- Returns:
this.
-
gender
The person's gender.- Returns:
this.
-
knownFor
The associated media that the person is known for.- Returns:
this.
-
knownForDepartment
The job department that the person is known for.- Returns:
this.
-
popularity
The person's popularity.- Returns:
this.
-
profilePath
The path to the person's profile.- Returns:
this.
-
build
- Specified by:
buildin classNamedResource.NamedResourceBuilder<Integer,PopularPerson, C extends PopularPerson, B extends PopularPerson.PopularPersonBuilder<C, B>>
-
toString
- Overrides:
toStringin classNamedResource.NamedResourceBuilder<Integer,PopularPerson, C extends PopularPerson, B extends PopularPerson.PopularPersonBuilder<C, B>>
-