Class MovieDTO.PeopleDTO
- java.lang.Object
-
- com.github.m0nk3y2k4.thetvdb.internal.api.impl.model.data.MovieDTO.PeopleDTO
-
- All Implemented Interfaces:
Movie.People
- Enclosing class:
- MovieDTO
@Immutable @WithHiddenImplementation public abstract static class MovieDTO.PeopleDTO extends Object implements Movie.People
DTO implementation of theMovie.Peopleinterface
Objects of this class reflect the data received by the remote service and are immutable so that their content can not be changed once an instance has been created. New objects of this class may be created by using the correspondingMovieDTO.PeopleDTO.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMovieDTO.PeopleDTO.BuilderBuilder used to create a new immutableMovieDTO.PeopleDTOimplementation
-
Constructor Summary
Constructors Constructor Description PeopleDTO()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetImdbId()Get the value of the {data.people.<actors|directors|producers|writers>.imdb_id} JSON propertyabstract StringgetPeopleFacebook()Get the value of the {data.people.<actors|directors|producers|writers>.people_facebook} JSON propertyabstract StringgetPeopleId()Get the value of the {data.people.<actors|directors|producers|writers>.people_id} JSON propertyabstract StringgetPeopleImage()Get the value of the {data.people.<actors|directors|producers|writers>.people_image} JSON propertyabstract StringgetPeopleInstagram()Get the value of the {data.people.<actors|directors|producers|writers>.people_instagram} JSON propertyabstract StringgetPeopleTwitter()Get the value of the {data.people.<actors|directors|producers|writers>.people_twitter} JSON propertyabstract StringgetRoleImage()Get the value of the {data.people.<actors|directors|producers|writers>.role_image} JSON propertyabstract BooleanisFeatured()Get the value of the {data.people.<actors|directors|producers|writers>.is_featured} JSON propertyStringtoString()-
Methods inherited from interface com.github.m0nk3y2k4.thetvdb.api.model.data.Movie.People
getId, getName, getRole
-
-
-
-
Method Detail
-
getImdbId
@Nullable public abstract String getImdbId()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.imdb_id} JSON property- Specified by:
getImdbIdin interfaceMovie.People- Returns:
- The
imdb_idproperty from the received JSON
-
isFeatured
@Nullable public abstract Boolean isFeatured()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.is_featured} JSON property- Specified by:
isFeaturedin interfaceMovie.People- Returns:
- The
is_featuredproperty from the received JSON
-
getPeopleFacebook
@Nullable public abstract String getPeopleFacebook()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.people_facebook} JSON property- Specified by:
getPeopleFacebookin interfaceMovie.People- Returns:
- The
people_facebookproperty from the received JSON
-
getPeopleId
@Nullable public abstract String getPeopleId()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.people_id} JSON property- Specified by:
getPeopleIdin interfaceMovie.People- Returns:
- The
people_idproperty from the received JSON
-
getPeopleImage
@Nullable public abstract String getPeopleImage()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.people_image} JSON property- Specified by:
getPeopleImagein interfaceMovie.People- Returns:
- The
people_imageproperty from the received JSON
-
getPeopleInstagram
@Nullable public abstract String getPeopleInstagram()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.people_instagram} JSON property- Specified by:
getPeopleInstagramin interfaceMovie.People- Returns:
- The
people_instagramproperty from the received JSON
-
getPeopleTwitter
@Nullable public abstract String getPeopleTwitter()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.people_twitter} JSON property- Specified by:
getPeopleTwitterin interfaceMovie.People- Returns:
- The
people_twitterproperty from the received JSON
-
getRoleImage
@Nullable public abstract String getRoleImage()
Description copied from interface:Movie.PeopleGet the value of the {data.people.<actors|directors|producers|writers>.role_image} JSON property- Specified by:
getRoleImagein interfaceMovie.People- Returns:
- The
role_imageproperty from the received JSON
-
-