Class EpisodesApi

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

public class EpisodesApi extends Object
  • Constructor Details

    • EpisodesApi

      public EpisodesApi()
    • EpisodesApi

      public EpisodesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

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

      public InlineResponse20017 getAllEpisodes(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:
      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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getEpisodeBase

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

      public InlineResponse20019 getEpisodeExtended(BigDecimal id, String meta) throws ApiException
      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 listener
      progressRequestListener - 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