Class SeasonsApi
java.lang.Object
com.amilesend.tvdb.client.api.SeasonsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllSeasons(BigDecimal page) returns list of seasons base recordsokhttp3.CallgetAllSeasonsAsync(BigDecimal page, ApiCallback<InlineResponse20041> callback) (asynchronously) returns list of seasons base recordsokhttp3.CallgetAllSeasonsCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllSeasonsreturns list of seasons base recordsReturns season base recordokhttp3.CallgetSeasonBaseAsync(BigDecimal id, ApiCallback<InlineResponse20042> callback) (asynchronously) Returns season base recordokhttp3.CallgetSeasonBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeasonBaseReturns season base recordReturns season extended recordokhttp3.CallgetSeasonExtendedAsync(BigDecimal id, ApiCallback<InlineResponse20043> callback) (asynchronously) Returns season extended recordokhttp3.CallgetSeasonExtendedCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeasonExtendedReturns season extended recordgetSeasonTranslation(BigDecimal id, String language) Returns season translation recordokhttp3.CallgetSeasonTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) (asynchronously) Returns season translation recordokhttp3.CallgetSeasonTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeasonTranslationgetSeasonTranslationWithHttpInfo(BigDecimal id, String language) Returns season translation recordReturns season type recordsokhttp3.CallgetSeasonTypesAsync(ApiCallback<InlineResponse20044> callback) (asynchronously) Returns season type recordsokhttp3.CallgetSeasonTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeasonTypesReturns season type recordsvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
SeasonsApi
public SeasonsApi() -
SeasonsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllSeasonsCall
public okhttp3.Call getAllSeasonsCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllSeasons- 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
-
getAllSeasons
returns list of seasons base records- Parameters:
page- page number (optional)- Returns:
- InlineResponse20041
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllSeasonsWithHttpInfo
public ApiResponse<InlineResponse20041> getAllSeasonsWithHttpInfo(BigDecimal page) throws ApiException returns list of seasons base records- Parameters:
page- page number (optional)- Returns:
- ApiResponse<InlineResponse20041>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllSeasonsAsync
public okhttp3.Call getAllSeasonsAsync(BigDecimal page, ApiCallback<InlineResponse20041> callback) throws ApiException (asynchronously) returns list of seasons 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
-
getSeasonBaseCall
public okhttp3.Call getSeasonBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeasonBase- Parameters:
id- id (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSeasonBase
Returns season base record- Parameters:
id- id (required)- Returns:
- InlineResponse20042
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeasonBaseWithHttpInfo
public ApiResponse<InlineResponse20042> getSeasonBaseWithHttpInfo(BigDecimal id) throws ApiException Returns season base record- Parameters:
id- id (required)- Returns:
- ApiResponse<InlineResponse20042>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeasonBaseAsync
public okhttp3.Call getSeasonBaseAsync(BigDecimal id, ApiCallback<InlineResponse20042> callback) throws ApiException (asynchronously) Returns season 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
-
getSeasonExtendedCall
public okhttp3.Call getSeasonExtendedCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeasonExtended- Parameters:
id- id (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSeasonExtended
Returns season extended record- Parameters:
id- id (required)- Returns:
- InlineResponse20043
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeasonExtendedWithHttpInfo
public ApiResponse<InlineResponse20043> getSeasonExtendedWithHttpInfo(BigDecimal id) throws ApiException Returns season extended record- Parameters:
id- id (required)- Returns:
- ApiResponse<InlineResponse20043>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeasonExtendedAsync
public okhttp3.Call getSeasonExtendedAsync(BigDecimal id, ApiCallback<InlineResponse20043> callback) throws ApiException (asynchronously) Returns season extended 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
-
getSeasonTranslationCall
public okhttp3.Call getSeasonTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeasonTranslation- 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
-
getSeasonTranslation
Returns season 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
-
getSeasonTranslationWithHttpInfo
public ApiResponse<InlineResponse20020> getSeasonTranslationWithHttpInfo(BigDecimal id, String language) throws ApiException Returns season 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
-
getSeasonTranslationAsync
public okhttp3.Call getSeasonTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) throws ApiException (asynchronously) Returns season 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
-
getSeasonTypesCall
public okhttp3.Call getSeasonTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeasonTypes- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSeasonTypes
Returns season type records- Returns:
- InlineResponse20044
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeasonTypesWithHttpInfo
Returns season type records- Returns:
- ApiResponse<InlineResponse20044>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeasonTypesAsync
public okhttp3.Call getSeasonTypesAsync(ApiCallback<InlineResponse20044> callback) throws ApiException (asynchronously) Returns season type records- Parameters:
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
-