Package com.amilesend.tmdb.client.api
Class CollectionsApi
java.lang.Object
com.amilesend.tmdb.client.api.ApiBase
com.amilesend.tmdb.client.api.CollectionsApi
TMDB Collections API.
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionsApi
(com.amilesend.client.connection.Connection connection) Creates a newCollectionsApi
object. -
Method Summary
Modifier and TypeMethodDescriptiongetCollectionDetails
(@NonNull GetCollectionDetailsRequest request) Gets the collection details for the given identifier.getCollectionImages
(@NonNull GetCollectionImagesRequest request) Gets the images associated with a collection.getTranslations
(@NonNull GetTranslationsRequest request) Gets the translation information for a collection.Methods inherited from class com.amilesend.tmdb.client.api.ApiBase
getConnection
-
Constructor Details
-
CollectionsApi
public CollectionsApi(com.amilesend.client.connection.Connection connection) Creates a newCollectionsApi
object.- Parameters:
connection
- the connection
-
-
Method Details
-
getCollectionDetails
public GetCollectionDetailsResponse getCollectionDetails(@NonNull GetCollectionDetailsRequest request) Gets the collection details for the given identifier.- Parameters:
request
- the request- Returns:
- the collection details
- See Also:
-
getCollectionImages
Gets the images associated with a collection.- Parameters:
request
- the request- Returns:
- the images
- See Also:
-
getTranslations
Gets the translation information for a collection.- Parameters:
request
- the request- Returns:
- the translations
- See Also:
-