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.People
interface
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 class
MovieDTO.PeopleDTO.Builder
Builder used to create a new immutableMovieDTO.PeopleDTO
implementation
-
Constructor Summary
Constructors Constructor Description PeopleDTO()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getImdbId()
Get the value of the {data.people.<actors|directors|producers|writers>.imdb_id
} JSON propertyabstract String
getPeopleFacebook()
Get the value of the {data.people.<actors|directors|producers|writers>.people_facebook
} JSON propertyabstract String
getPeopleId()
Get the value of the {data.people.<actors|directors|producers|writers>.people_id
} JSON propertyabstract String
getPeopleImage()
Get the value of the {data.people.<actors|directors|producers|writers>.people_image
} JSON propertyabstract String
getPeopleInstagram()
Get the value of the {data.people.<actors|directors|producers|writers>.people_instagram
} JSON propertyabstract String
getPeopleTwitter()
Get the value of the {data.people.<actors|directors|producers|writers>.people_twitter
} JSON propertyabstract String
getRoleImage()
Get the value of the {data.people.<actors|directors|producers|writers>.role_image
} JSON propertyabstract Boolean
isFeatured()
Get the value of the {data.people.<actors|directors|producers|writers>.is_featured
} JSON propertyString
toString()
-
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.People
Get the value of the {data.people.<actors|directors|producers|writers>.imdb_id
} JSON property- Specified by:
getImdbId
in interfaceMovie.People
- Returns:
- The
imdb_id
property from the received JSON
-
isFeatured
@Nullable public abstract Boolean isFeatured()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.is_featured
} JSON property- Specified by:
isFeatured
in interfaceMovie.People
- Returns:
- The
is_featured
property from the received JSON
-
getPeopleFacebook
@Nullable public abstract String getPeopleFacebook()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.people_facebook
} JSON property- Specified by:
getPeopleFacebook
in interfaceMovie.People
- Returns:
- The
people_facebook
property from the received JSON
-
getPeopleId
@Nullable public abstract String getPeopleId()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.people_id
} JSON property- Specified by:
getPeopleId
in interfaceMovie.People
- Returns:
- The
people_id
property from the received JSON
-
getPeopleImage
@Nullable public abstract String getPeopleImage()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.people_image
} JSON property- Specified by:
getPeopleImage
in interfaceMovie.People
- Returns:
- The
people_image
property from the received JSON
-
getPeopleInstagram
@Nullable public abstract String getPeopleInstagram()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.people_instagram
} JSON property- Specified by:
getPeopleInstagram
in interfaceMovie.People
- Returns:
- The
people_instagram
property from the received JSON
-
getPeopleTwitter
@Nullable public abstract String getPeopleTwitter()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.people_twitter
} JSON property- Specified by:
getPeopleTwitter
in interfaceMovie.People
- Returns:
- The
people_twitter
property from the received JSON
-
getRoleImage
@Nullable public abstract String getRoleImage()
Description copied from interface:Movie.People
Get the value of the {data.people.<actors|directors|producers|writers>.role_image
} JSON property- Specified by:
getRoleImage
in interfaceMovie.People
- Returns:
- The
role_image
property from the received JSON
-
-