Class SeasonsApi

java.lang.Object
com.amilesend.tvdb.client.api.SeasonsApi

public class SeasonsApi extends Object
  • Constructor Details

    • SeasonsApi

      public SeasonsApi()
    • SeasonsApi

      public SeasonsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAllSeasons

      public InlineResponse20041 getAllSeasons(BigDecimal page) throws ApiException
      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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getSeasonBase

      public InlineResponse20042 getSeasonBase(BigDecimal id) throws ApiException
      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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getSeasonExtended

      public InlineResponse20043 getSeasonExtended(BigDecimal id) throws ApiException
      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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getSeasonTranslation

      public InlineResponse20020 getSeasonTranslation(BigDecimal id, String language) throws ApiException
      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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getSeasonTypes

      public InlineResponse20044 getSeasonTypes() throws ApiException
      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

      public ApiResponse<InlineResponse20044> getSeasonTypesWithHttpInfo() throws ApiException
      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