Class ListsApi
java.lang.Object
com.amilesend.tmdb.client.api.ApiBase
com.amilesend.tmdb.client.api.ListsApi
TMDB Lists v3 API (public lists).
-
Constructor Summary
ConstructorsConstructorDescriptionListsApi(com.amilesend.client.connection.Connection connection) Creates a newListsApiobject. -
Method Summary
Modifier and TypeMethodDescriptionaddMovie(@NonNull AddMovieRequest request) Adds a movie to a list.checkItemStatus(@NonNull CheckItemStatusRequest request) Checks an item status within a specific list.clearList(@NonNull ClearListRequest request) Clears a list.createList(@NonNull CreateListRequest request) Creates a new list.deleteList(@NonNull DeleteListRequest request) Deletes a list.getListDetails(@NonNull GetListDetailsRequest request) Gets the list details.removeMovie(@NonNull RemoveMovieRequest request) Removes a movie from a list.Methods inherited from class ApiBase
getConnection
-
Constructor Details
-
ListsApi
public ListsApi(com.amilesend.client.connection.Connection connection) Creates a newListsApiobject.- Parameters:
connection- the connection
-
-
Method Details
-
addMovie
Adds a movie to a list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
checkItemStatus
Checks an item status within a specific list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
clearList
Clears a list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
createList
Creates a new list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
deleteList
Deletes a list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
getListDetails
Gets the list details.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
removeMovie
Removes a movie from a list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-