Interface Movie.People
-
- All Known Implementing Classes:
MovieDTO.PeopleDTO
- Enclosing interface:
- Movie
public static interface Movie.PeopleInterface representing a movies People data transfer object.
The methods of this class provide easy access to all people related data which was returned by the remote service in JSON format. Please note that, as the remote service declares all of the properties to be optional, most of the methods are marked asNullable. Methods returning collection-based values however will return an empty collection in case no corresponding data was received.
The sole purpose of these DTO objects is to encapsulate the exact raw JSON data as received from the remote service in order to facilitate API integration by working with simple Java POJO's instead of nested JSON nodes. Although there will be no intense post-processing of the actual JSON values a type-casting may be applied to some of them to improve the usability and relieve the API user of this task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Get the value of the {data.people.<actors|directors|producers|writers>.id} JSON propertyStringgetImdbId()Get the value of the {data.people.<actors|directors|producers|writers>.imdb_id} JSON propertyStringgetName()Get the value of the {data.people.<actors|directors|producers|writers>.name} JSON propertyStringgetPeopleFacebook()Get the value of the {data.people.<actors|directors|producers|writers>.people_facebook} JSON propertyStringgetPeopleId()Get the value of the {data.people.<actors|directors|producers|writers>.people_id} JSON propertyStringgetPeopleImage()Get the value of the {data.people.<actors|directors|producers|writers>.people_image} JSON propertyStringgetPeopleInstagram()Get the value of the {data.people.<actors|directors|producers|writers>.people_instagram} JSON propertyStringgetPeopleTwitter()Get the value of the {data.people.<actors|directors|producers|writers>.people_twitter} JSON propertyStringgetRole()Get the value of the {data.people.<actors|directors|producers|writers>.role} JSON propertyStringgetRoleImage()Get the value of the {data.people.<actors|directors|producers|writers>.role_image} JSON propertyBooleanisFeatured()Get the value of the {data.people.<actors|directors|producers|writers>.is_featured} JSON property
-
-
-
Method Detail
-
getId
@Nullable String getId()
Get the value of the {data.people.<actors|directors|producers|writers>.id} JSON property- Returns:
- The
idproperty from the received JSON
-
getImdbId
@Nullable String getImdbId()
Get the value of the {data.people.<actors|directors|producers|writers>.imdb_id} JSON property- Returns:
- The
imdb_idproperty from the received JSON
-
isFeatured
@Nullable Boolean isFeatured()
Get the value of the {data.people.<actors|directors|producers|writers>.is_featured} JSON property- Returns:
- The
is_featuredproperty from the received JSON
-
getName
@Nullable String getName()
Get the value of the {data.people.<actors|directors|producers|writers>.name} JSON property- Returns:
- The
nameproperty from the received JSON
-
getPeopleFacebook
@Nullable String getPeopleFacebook()
Get the value of the {data.people.<actors|directors|producers|writers>.people_facebook} JSON property- Returns:
- The
people_facebookproperty from the received JSON
-
getPeopleId
@Nullable String getPeopleId()
Get the value of the {data.people.<actors|directors|producers|writers>.people_id} JSON property- Returns:
- The
people_idproperty from the received JSON
-
getPeopleImage
@Nullable String getPeopleImage()
Get the value of the {data.people.<actors|directors|producers|writers>.people_image} JSON property- Returns:
- The
people_imageproperty from the received JSON
-
getPeopleInstagram
@Nullable String getPeopleInstagram()
Get the value of the {data.people.<actors|directors|producers|writers>.people_instagram} JSON property- Returns:
- The
people_instagramproperty from the received JSON
-
getPeopleTwitter
@Nullable String getPeopleTwitter()
Get the value of the {data.people.<actors|directors|producers|writers>.people_twitter} JSON property- Returns:
- The
people_twitterproperty from the received JSON
-
getRole
@Nullable String getRole()
Get the value of the {data.people.<actors|directors|producers|writers>.role} JSON property- Returns:
- The
roleproperty from the received JSON
-
-