Package com.amilesend.tmdb.client.api
Class GenresApi
java.lang.Object
com.amilesend.tmdb.client.api.ApiBase
com.amilesend.tmdb.client.api.GenresApi
TMDB Genres API.
-
Constructor Summary
ConstructorsConstructorDescriptionGenresApi
(com.amilesend.client.connection.Connection connection) Create a newGenresApi
object. -
Method Summary
Modifier and TypeMethodDescriptiongetMovieGenres
(@NonNull GetMovieGenresRequest request) Gets the list of supported movie genres.getTvGenres
(@NonNull GetTvGenresRequest request) Gets the list of supported TV show genres.Methods inherited from class com.amilesend.tmdb.client.api.ApiBase
getConnection
-
Constructor Details
-
GenresApi
public GenresApi(com.amilesend.client.connection.Connection connection) Create a newGenresApi
object.- Parameters:
connection
- the connection
-
-
Method Details
-
getMovieGenres
Gets the list of supported movie genres.- Parameters:
request
- the request- Returns:
- the response containing the list of genres
- See Also:
-
getTvGenres
Gets the list of supported TV show genres.- Parameters:
request
- the request- Returns:
- the response containing the list of genres
- See Also:
-