Package com.amilesend.tvdb.client.api
Class MoviesApi
java.lang.Object
com.amilesend.tvdb.client.api.MoviesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllMovie
(BigDecimal page) returns list of movie base recordsokhttp3.Call
getAllMovieAsync
(BigDecimal page, ApiCallback<InlineResponse20030> callback) (asynchronously) returns list of movie base recordsokhttp3.Call
getAllMovieCall
(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllMoviereturns list of movie base recordsReturns movie base recordokhttp3.Call
getMovieBaseAsync
(BigDecimal id, ApiCallback<InlineResponse20031> callback) (asynchronously) Returns movie base recordgetMovieBaseBySlug
(String slug) Returns movie base record search by slugokhttp3.Call
getMovieBaseBySlugAsync
(String slug, ApiCallback<InlineResponse20031> callback) (asynchronously) Returns movie base record search by slugokhttp3.Call
getMovieBaseBySlugCall
(String slug, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getMovieBaseBySlugReturns movie base record search by slugokhttp3.Call
getMovieBaseCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getMovieBaseReturns movie base recordgetMovieExtended
(BigDecimal id, String meta, Boolean _short) Returns movie extended recordokhttp3.Call
getMovieExtendedAsync
(BigDecimal id, String meta, Boolean _short, ApiCallback<InlineResponse20032> callback) (asynchronously) Returns movie extended recordokhttp3.Call
getMovieExtendedCall
(BigDecimal id, String meta, Boolean _short, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getMovieExtendedgetMovieExtendedWithHttpInfo
(BigDecimal id, String meta, Boolean _short) Returns movie extended recordgetMoviesFilter
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year) Search movies based on filter parametersokhttp3.Call
getMoviesFilterAsync
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year, ApiCallback<InlineResponse20033> callback) (asynchronously) Search movies based on filter parametersokhttp3.Call
getMoviesFilterCall
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getMoviesFiltergetMoviesFilterWithHttpInfo
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year) Search movies based on filter parametersgetMovieTranslation
(BigDecimal id, String language) Returns movie translation recordokhttp3.Call
getMovieTranslationAsync
(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) (asynchronously) Returns movie translation recordokhttp3.Call
getMovieTranslationCall
(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getMovieTranslationgetMovieTranslationWithHttpInfo
(BigDecimal id, String language) Returns movie translation recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
MoviesApi
public MoviesApi() -
MoviesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllMovieCall
public okhttp3.Call getAllMovieCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllMovie- Parameters:
page
- page number (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllMovie
returns list of movie base records- Parameters:
page
- page number (optional)- Returns:
- InlineResponse20030
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllMovieWithHttpInfo
public ApiResponse<InlineResponse20030> getAllMovieWithHttpInfo(BigDecimal page) throws ApiException returns list of movie base records- Parameters:
page
- page number (optional)- Returns:
- ApiResponse<InlineResponse20030>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllMovieAsync
public okhttp3.Call getAllMovieAsync(BigDecimal page, ApiCallback<InlineResponse20030> callback) throws ApiException (asynchronously) returns list of movie base records- Parameters:
page
- page number (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getMovieBaseCall
public okhttp3.Call getMovieBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getMovieBase- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getMovieBase
Returns movie base record- Parameters:
id
- id (required)- Returns:
- InlineResponse20031
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieBaseWithHttpInfo
Returns movie base record- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse20031>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieBaseAsync
public okhttp3.Call getMovieBaseAsync(BigDecimal id, ApiCallback<InlineResponse20031> callback) throws ApiException (asynchronously) Returns movie base record- Parameters:
id
- id (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getMovieBaseBySlugCall
public okhttp3.Call getMovieBaseBySlugCall(String slug, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getMovieBaseBySlug- Parameters:
slug
- slug (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getMovieBaseBySlug
Returns movie base record search by slug- Parameters:
slug
- slug (required)- Returns:
- InlineResponse20031
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieBaseBySlugWithHttpInfo
public ApiResponse<InlineResponse20031> getMovieBaseBySlugWithHttpInfo(String slug) throws ApiException Returns movie base record search by slug- Parameters:
slug
- slug (required)- Returns:
- ApiResponse<InlineResponse20031>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieBaseBySlugAsync
public okhttp3.Call getMovieBaseBySlugAsync(String slug, ApiCallback<InlineResponse20031> callback) throws ApiException (asynchronously) Returns movie base record search by slug- Parameters:
slug
- slug (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getMovieExtendedCall
public okhttp3.Call getMovieExtendedCall(BigDecimal id, String meta, Boolean _short, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getMovieExtended- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters, artworks and trailers. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getMovieExtended
public InlineResponse20032 getMovieExtended(BigDecimal id, String meta, Boolean _short) throws ApiException Returns movie extended record- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters, artworks and trailers. (optional)- Returns:
- InlineResponse20032
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieExtendedWithHttpInfo
public ApiResponse<InlineResponse20032> getMovieExtendedWithHttpInfo(BigDecimal id, String meta, Boolean _short) throws ApiException Returns movie extended record- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters, artworks and trailers. (optional)- Returns:
- ApiResponse<InlineResponse20032>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieExtendedAsync
public okhttp3.Call getMovieExtendedAsync(BigDecimal id, String meta, Boolean _short, ApiCallback<InlineResponse20032> callback) throws ApiException (asynchronously) Returns movie extended record- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters, artworks and trailers. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getMovieTranslationCall
public okhttp3.Call getMovieTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getMovieTranslation- Parameters:
id
- id (required)language
- language (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getMovieTranslation
Returns movie translation record- Parameters:
id
- id (required)language
- language (required)- Returns:
- InlineResponse20020
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieTranslationWithHttpInfo
public ApiResponse<InlineResponse20020> getMovieTranslationWithHttpInfo(BigDecimal id, String language) throws ApiException Returns movie translation record- Parameters:
id
- id (required)language
- language (required)- Returns:
- ApiResponse<InlineResponse20020>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMovieTranslationAsync
public okhttp3.Call getMovieTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) throws ApiException (asynchronously) Returns movie translation record- Parameters:
id
- id (required)language
- language (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getMoviesFilterCall
public okhttp3.Call getMoviesFilterCall(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getMoviesFilter- Parameters:
country
- country of origin (required)lang
- original language (required)company
- production company (optional)contentRating
- content rating id base on a country (optional)genre
- genre (optional)sort
- sort by results (optional)status
- status (optional)year
- release year (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getMoviesFilter
public InlineResponse20033 getMoviesFilter(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year) throws ApiException Search movies based on filter parameters- Parameters:
country
- country of origin (required)lang
- original language (required)company
- production company (optional)contentRating
- content rating id base on a country (optional)genre
- genre (optional)sort
- sort by results (optional)status
- status (optional)year
- release year (optional)- Returns:
- InlineResponse20033
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMoviesFilterWithHttpInfo
public ApiResponse<InlineResponse20033> getMoviesFilterWithHttpInfo(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year) throws ApiException Search movies based on filter parameters- Parameters:
country
- country of origin (required)lang
- original language (required)company
- production company (optional)contentRating
- content rating id base on a country (optional)genre
- genre (optional)sort
- sort by results (optional)status
- status (optional)year
- release year (optional)- Returns:
- ApiResponse<InlineResponse20033>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMoviesFilterAsync
public okhttp3.Call getMoviesFilterAsync(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, BigDecimal status, BigDecimal year, ApiCallback<InlineResponse20033> callback) throws ApiException (asynchronously) Search movies based on filter parameters- Parameters:
country
- country of origin (required)lang
- original language (required)company
- production company (optional)contentRating
- content rating id base on a country (optional)genre
- genre (optional)sort
- sort by results (optional)status
- status (optional)year
- release year (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-