Class PersonSearchResult
java.lang.Object
com.amilesend.tmdb.client.model.Resource<Integer,Person>
com.amilesend.tmdb.client.model.NamedResource<Integer,Person>
com.amilesend.tmdb.client.model.type.Person
com.amilesend.tmdb.client.model.search.type.PersonSearchResult
- All Implemented Interfaces:
SearchResult
Defines a person search result.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPersonSearchResult.PersonSearchResultBuilder<C extends PersonSearchResult, B extends PersonSearchResult.PersonSearchResultBuilder<C,B>> Nested classes/interfaces inherited from class Person
Person.PersonBuilder<C,B> Modifier and TypeClassDescriptionstatic classPerson.PersonBuilder<C extends Person, B extends Person.PersonBuilder<C,B>> Nested classes/interfaces inherited from class NamedResource
NamedResource.NamedResourceBuilder<K,T, C, B> Modifier and TypeClassDescriptionstatic classNamedResource.NamedResourceBuilder<K, T extends NamedResource, C extends NamedResource<K,T>, B extends NamedResource.NamedResourceBuilder<K, T, C, B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic PersonSearchResult.PersonSearchResultBuilder<?, ?> builder()The list of credits that the person is known for.Helper method to return the list of movie cast credits for a person.Helper method to return the list of TV cast credits for a person.The media type for the movie.toString()Methods inherited from class Person
getAdult, getGender, getKnownForDepartment, getOriginalName, getPopularity, getProfilePathModifier and TypeMethodDescriptiongetAdult()Adult flag indicator.The person's gender.The job department that the person is known for.The person's name.The person's popularity.The path to the person's profile.Methods inherited from class NamedResource
getName
-
Method Details
-
getKnownForTv
Helper method to return the list of TV cast credits for a person.- Returns:
- the list of TV cast credits
-
getKnownForMovies
Helper method to return the list of movie cast credits for a person.- Returns:
- the list of movie cast credits
-
builder
-
getKnowFor
-
getMediaType
The media type for the movie.- Specified by:
getMediaTypein interfaceSearchResult
-
toString
-