Class EpisodesApi
java.lang.Object
com.amilesend.tvdb.client.api.EpisodesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllEpisodes(BigDecimal page) Returns a list of episodes base records with the basic attributes.<br> Note that all episodes are returned, even those that may not be included in a series' default season order.okhttp3.CallgetAllEpisodesAsync(BigDecimal page, ApiCallback<InlineResponse20017> callback) (asynchronously) Returns a list of episodes base records with the basic attributes.<br> Note that all episodes are returned, even those that may not be included in a series' default season order.okhttp3.CallgetAllEpisodesCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllEpisodesReturns a list of episodes base records with the basic attributes.<br> Note that all episodes are returned, even those that may not be included in a series' default season order.Returns episode base recordokhttp3.CallgetEpisodeBaseAsync(BigDecimal id, ApiCallback<InlineResponse20018> callback) (asynchronously) Returns episode base recordokhttp3.CallgetEpisodeBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getEpisodeBaseReturns episode base recordgetEpisodeExtended(BigDecimal id, String meta) Returns episode extended recordokhttp3.CallgetEpisodeExtendedAsync(BigDecimal id, String meta, ApiCallback<InlineResponse20019> callback) (asynchronously) Returns episode extended recordokhttp3.CallgetEpisodeExtendedCall(BigDecimal id, String meta, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getEpisodeExtendedgetEpisodeExtendedWithHttpInfo(BigDecimal id, String meta) Returns episode extended recordgetEpisodeTranslation(BigDecimal id, String language) Returns episode translation recordokhttp3.CallgetEpisodeTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) (asynchronously) Returns episode translation recordokhttp3.CallgetEpisodeTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getEpisodeTranslationgetEpisodeTranslationWithHttpInfo(BigDecimal id, String language) Returns episode translation recordvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
EpisodesApi
public EpisodesApi() -
EpisodesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllEpisodesCall
public okhttp3.Call getAllEpisodesCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllEpisodes- 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
-
getAllEpisodes
Returns a list of episodes base records with the basic attributes.<br> Note that all episodes are returned, even those that may not be included in a series' default season order.- Parameters:
page- page number (optional)- Returns:
- InlineResponse20017
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllEpisodesWithHttpInfo
public ApiResponse<InlineResponse20017> getAllEpisodesWithHttpInfo(BigDecimal page) throws ApiException Returns a list of episodes base records with the basic attributes.<br> Note that all episodes are returned, even those that may not be included in a series' default season order.- Parameters:
page- page number (optional)- Returns:
- ApiResponse<InlineResponse20017>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllEpisodesAsync
public okhttp3.Call getAllEpisodesAsync(BigDecimal page, ApiCallback<InlineResponse20017> callback) throws ApiException (asynchronously) Returns a list of episodes base records with the basic attributes.<br> Note that all episodes are returned, even those that may not be included in a series' default season order.- 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
-
getEpisodeBaseCall
public okhttp3.Call getEpisodeBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getEpisodeBase- Parameters:
id- id (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getEpisodeBase
Returns episode base record- Parameters:
id- id (required)- Returns:
- InlineResponse20018
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEpisodeBaseWithHttpInfo
public ApiResponse<InlineResponse20018> getEpisodeBaseWithHttpInfo(BigDecimal id) throws ApiException Returns episode base record- Parameters:
id- id (required)- Returns:
- ApiResponse<InlineResponse20018>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEpisodeBaseAsync
public okhttp3.Call getEpisodeBaseAsync(BigDecimal id, ApiCallback<InlineResponse20018> callback) throws ApiException (asynchronously) Returns episode 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
-
getEpisodeExtendedCall
public okhttp3.Call getEpisodeExtendedCall(BigDecimal id, String meta, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getEpisodeExtended- Parameters:
id- id (required)meta- meta (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getEpisodeExtended
Returns episode extended record- Parameters:
id- id (required)meta- meta (optional)- Returns:
- InlineResponse20019
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEpisodeExtendedWithHttpInfo
public ApiResponse<InlineResponse20019> getEpisodeExtendedWithHttpInfo(BigDecimal id, String meta) throws ApiException Returns episode extended record- Parameters:
id- id (required)meta- meta (optional)- Returns:
- ApiResponse<InlineResponse20019>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEpisodeExtendedAsync
public okhttp3.Call getEpisodeExtendedAsync(BigDecimal id, String meta, ApiCallback<InlineResponse20019> callback) throws ApiException (asynchronously) Returns episode extended record- Parameters:
id- id (required)meta- meta (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
-
getEpisodeTranslationCall
public okhttp3.Call getEpisodeTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getEpisodeTranslation- 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
-
getEpisodeTranslation
public InlineResponse20020 getEpisodeTranslation(BigDecimal id, String language) throws ApiException Returns episode 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
-
getEpisodeTranslationWithHttpInfo
public ApiResponse<InlineResponse20020> getEpisodeTranslationWithHttpInfo(BigDecimal id, String language) throws ApiException Returns episode 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
-
getEpisodeTranslationAsync
public okhttp3.Call getEpisodeTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) throws ApiException (asynchronously) Returns episode 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
-