Package com.amilesend.tvdb.client.api
Class SeriesApi
java.lang.Object
com.amilesend.tvdb.client.api.SeriesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllSeries
(BigDecimal page) returns list of series base recordsokhttp3.Call
getAllSeriesAsync
(BigDecimal page, ApiCallback<InlineResponse20045> callback) (asynchronously) returns list of series base recordsokhttp3.Call
getAllSeriesCall
(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllSeriesreturns list of series base recordsgetSeriesArtworks
(BigDecimal id, String lang, Integer type) Returns series artworks base on language and type.okhttp3.Call
getSeriesArtworksAsync
(BigDecimal id, String lang, Integer type, ApiCallback<InlineResponse20047> callback) (asynchronously) Returns series artworks base on language and type.okhttp3.Call
getSeriesArtworksCall
(BigDecimal id, String lang, Integer type, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesArtworksgetSeriesArtworksWithHttpInfo
(BigDecimal id, String lang, Integer type) Returns series artworks base on language and type.Returns series base recordokhttp3.Call
getSeriesBaseAsync
(BigDecimal id, ApiCallback<InlineResponse20046> callback) (asynchronously) Returns series base recordgetSeriesBaseBySlug
(String slug) Returns series base record searched by slugokhttp3.Call
getSeriesBaseBySlugAsync
(String slug, ApiCallback<InlineResponse20046> callback) (asynchronously) Returns series base record searched by slugokhttp3.Call
getSeriesBaseBySlugCall
(String slug, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesBaseBySlugReturns series base record searched by slugokhttp3.Call
getSeriesBaseCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesBaseReturns series base recordgetSeriesEpisodes
(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate) Returns series episodes from the specified season type, default returns the episodes in the series default season typeokhttp3.Call
getSeriesEpisodesAsync
(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate, ApiCallback<InlineResponse20048> callback) (asynchronously) Returns series episodes from the specified season type, default returns the episodes in the series default season typeokhttp3.Call
getSeriesEpisodesCall
(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesEpisodesgetSeriesEpisodesWithHttpInfo
(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate) Returns series episodes from the specified season type, default returns the episodes in the series default season typegetSeriesExtended
(BigDecimal id, String meta, Boolean _short) Returns series extended recordokhttp3.Call
getSeriesExtendedAsync
(BigDecimal id, String meta, Boolean _short, ApiCallback<InlineResponse20047> callback) (asynchronously) Returns series extended recordokhttp3.Call
getSeriesExtendedCall
(BigDecimal id, String meta, Boolean _short, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesExtendedgetSeriesExtendedWithHttpInfo
(BigDecimal id, String meta, Boolean _short) Returns series extended recordgetSeriesFilter
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year) Search series based on filter parametersokhttp3.Call
getSeriesFilterAsync
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year, ApiCallback<InlineResponse20050> callback) (asynchronously) Search series based on filter parametersokhttp3.Call
getSeriesFilterCall
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesFiltergetSeriesFilterWithHttpInfo
(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year) Search series based on filter parametersReturns series base record including the nextAired field.okhttp3.Call
getSeriesNextAiredAsync
(BigDecimal id, ApiCallback<InlineResponse20046> callback) (asynchronously) Returns series base record including the nextAired field.okhttp3.Call
getSeriesNextAiredCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesNextAiredReturns series base record including the nextAired field.getSeriesSeasonEpisodesTranslated
(Integer page, BigDecimal id, String seasonType, String lang) Returns series base record with episodes from the specified season type and language.okhttp3.Call
getSeriesSeasonEpisodesTranslatedAsync
(Integer page, BigDecimal id, String seasonType, String lang, ApiCallback<InlineResponse20049> callback) (asynchronously) Returns series base record with episodes from the specified season type and language.okhttp3.Call
getSeriesSeasonEpisodesTranslatedCall
(Integer page, BigDecimal id, String seasonType, String lang, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesSeasonEpisodesTranslatedgetSeriesSeasonEpisodesTranslatedWithHttpInfo
(Integer page, BigDecimal id, String seasonType, String lang) Returns series base record with episodes from the specified season type and language.getSeriesTranslation
(BigDecimal id, String language) Returns series translation recordokhttp3.Call
getSeriesTranslationAsync
(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) (asynchronously) Returns series translation recordokhttp3.Call
getSeriesTranslationCall
(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSeriesTranslationgetSeriesTranslationWithHttpInfo
(BigDecimal id, String language) Returns series translation recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
SeriesApi
public SeriesApi() -
SeriesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllSeriesCall
public okhttp3.Call getAllSeriesCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllSeries- 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
-
getAllSeries
returns list of series base records- Parameters:
page
- page number (optional)- Returns:
- InlineResponse20045
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllSeriesWithHttpInfo
public ApiResponse<InlineResponse20045> getAllSeriesWithHttpInfo(BigDecimal page) throws ApiException returns list of series base records- Parameters:
page
- page number (optional)- Returns:
- ApiResponse<InlineResponse20045>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllSeriesAsync
public okhttp3.Call getAllSeriesAsync(BigDecimal page, ApiCallback<InlineResponse20045> callback) throws ApiException (asynchronously) returns list of series 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
-
getSeriesArtworksCall
public okhttp3.Call getSeriesArtworksCall(BigDecimal id, String lang, Integer type, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesArtworks- Parameters:
id
- id (required)lang
- lang (optional)type
- type (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesArtworks
public InlineResponse20047 getSeriesArtworks(BigDecimal id, String lang, Integer type) throws ApiException Returns series artworks base on language and type. <br> Note: Artwork type is an id that can be found using **_/artwork/types** endpoint.- Parameters:
id
- id (required)lang
- lang (optional)type
- type (optional)- Returns:
- InlineResponse20047
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesArtworksWithHttpInfo
public ApiResponse<InlineResponse20047> getSeriesArtworksWithHttpInfo(BigDecimal id, String lang, Integer type) throws ApiException Returns series artworks base on language and type. <br> Note: Artwork type is an id that can be found using **_/artwork/types** endpoint.- Parameters:
id
- id (required)lang
- lang (optional)type
- type (optional)- Returns:
- ApiResponse<InlineResponse20047>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesArtworksAsync
public okhttp3.Call getSeriesArtworksAsync(BigDecimal id, String lang, Integer type, ApiCallback<InlineResponse20047> callback) throws ApiException (asynchronously) Returns series artworks base on language and type. <br> Note: Artwork type is an id that can be found using **_/artwork/types** endpoint.- Parameters:
id
- id (required)lang
- lang (optional)type
- type (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
-
getSeriesBaseCall
public okhttp3.Call getSeriesBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesBase- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesBase
Returns series base record- Parameters:
id
- id (required)- Returns:
- InlineResponse20046
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesBaseWithHttpInfo
public ApiResponse<InlineResponse20046> getSeriesBaseWithHttpInfo(BigDecimal id) throws ApiException Returns series base record- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse20046>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesBaseAsync
public okhttp3.Call getSeriesBaseAsync(BigDecimal id, ApiCallback<InlineResponse20046> callback) throws ApiException (asynchronously) Returns series 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
-
getSeriesBaseBySlugCall
public okhttp3.Call getSeriesBaseBySlugCall(String slug, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesBaseBySlug- Parameters:
slug
- slug (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesBaseBySlug
Returns series base record searched by slug- Parameters:
slug
- slug (required)- Returns:
- InlineResponse20046
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesBaseBySlugWithHttpInfo
public ApiResponse<InlineResponse20046> getSeriesBaseBySlugWithHttpInfo(String slug) throws ApiException Returns series base record searched by slug- Parameters:
slug
- slug (required)- Returns:
- ApiResponse<InlineResponse20046>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesBaseBySlugAsync
public okhttp3.Call getSeriesBaseBySlugAsync(String slug, ApiCallback<InlineResponse20046> callback) throws ApiException (asynchronously) Returns series base record searched 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
-
getSeriesEpisodesCall
public okhttp3.Call getSeriesEpisodesCall(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesEpisodes- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)season
- (optional, default to 0)episodeNumber
- (optional, default to 0)airDate
- airDate of the episode, format is yyyy-mm-dd (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesEpisodes
public InlineResponse20048 getSeriesEpisodes(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate) throws ApiException Returns series episodes from the specified season type, default returns the episodes in the series default season type- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)season
- (optional, default to 0)episodeNumber
- (optional, default to 0)airDate
- airDate of the episode, format is yyyy-mm-dd (optional)- Returns:
- InlineResponse20048
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesEpisodesWithHttpInfo
public ApiResponse<InlineResponse20048> getSeriesEpisodesWithHttpInfo(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate) throws ApiException Returns series episodes from the specified season type, default returns the episodes in the series default season type- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)season
- (optional, default to 0)episodeNumber
- (optional, default to 0)airDate
- airDate of the episode, format is yyyy-mm-dd (optional)- Returns:
- ApiResponse<InlineResponse20048>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesEpisodesAsync
public okhttp3.Call getSeriesEpisodesAsync(Integer page, BigDecimal id, String seasonType, Integer season, Integer episodeNumber, String airDate, ApiCallback<InlineResponse20048> callback) throws ApiException (asynchronously) Returns series episodes from the specified season type, default returns the episodes in the series default season type- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)season
- (optional, default to 0)episodeNumber
- (optional, default to 0)airDate
- airDate of the episode, format is yyyy-mm-dd (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
-
getSeriesExtendedCall
public okhttp3.Call getSeriesExtendedCall(BigDecimal id, String meta, Boolean _short, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesExtended- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters and artworks (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesExtended
public InlineResponse20047 getSeriesExtended(BigDecimal id, String meta, Boolean _short) throws ApiException Returns series extended record- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters and artworks (optional)- Returns:
- InlineResponse20047
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesExtendedWithHttpInfo
public ApiResponse<InlineResponse20047> getSeriesExtendedWithHttpInfo(BigDecimal id, String meta, Boolean _short) throws ApiException Returns series extended record- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters and artworks (optional)- Returns:
- ApiResponse<InlineResponse20047>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesExtendedAsync
public okhttp3.Call getSeriesExtendedAsync(BigDecimal id, String meta, Boolean _short, ApiCallback<InlineResponse20047> callback) throws ApiException (asynchronously) Returns series extended record- Parameters:
id
- id (required)meta
- meta (optional)_short
- reduce the payload and returns the short version of this record without characters and artworks (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
-
getSeriesFilterCall
public okhttp3.Call getSeriesFilterCall(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesFilter- 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 id. This id can be found using **_/genres** endpoint. (optional)sort
- sort by results (optional)sortType
- sort type ascending or descending (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
-
getSeriesFilter
public InlineResponse20050 getSeriesFilter(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year) throws ApiException Search series 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 id. This id can be found using **_/genres** endpoint. (optional)sort
- sort by results (optional)sortType
- sort type ascending or descending (optional)status
- status (optional)year
- release year (optional)- Returns:
- InlineResponse20050
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesFilterWithHttpInfo
public ApiResponse<InlineResponse20050> getSeriesFilterWithHttpInfo(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year) throws ApiException Search series 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 id. This id can be found using **_/genres** endpoint. (optional)sort
- sort by results (optional)sortType
- sort type ascending or descending (optional)status
- status (optional)year
- release year (optional)- Returns:
- ApiResponse<InlineResponse20050>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesFilterAsync
public okhttp3.Call getSeriesFilterAsync(String country, String lang, BigDecimal company, BigDecimal contentRating, BigDecimal genre, String sort, String sortType, BigDecimal status, BigDecimal year, ApiCallback<InlineResponse20050> callback) throws ApiException (asynchronously) Search series 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 id. This id can be found using **_/genres** endpoint. (optional)sort
- sort by results (optional)sortType
- sort type ascending or descending (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
-
getSeriesNextAiredCall
public okhttp3.Call getSeriesNextAiredCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesNextAired- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesNextAired
Returns series base record including the nextAired field. <br> Note: nextAired was included in the base record endpoint but that field will deprecated in the future so developers should use the nextAired endpoint.- Parameters:
id
- id (required)- Returns:
- InlineResponse20046
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesNextAiredWithHttpInfo
public ApiResponse<InlineResponse20046> getSeriesNextAiredWithHttpInfo(BigDecimal id) throws ApiException Returns series base record including the nextAired field. <br> Note: nextAired was included in the base record endpoint but that field will deprecated in the future so developers should use the nextAired endpoint.- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse20046>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesNextAiredAsync
public okhttp3.Call getSeriesNextAiredAsync(BigDecimal id, ApiCallback<InlineResponse20046> callback) throws ApiException (asynchronously) Returns series base record including the nextAired field. <br> Note: nextAired was included in the base record endpoint but that field will deprecated in the future so developers should use the nextAired endpoint.- 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
-
getSeriesSeasonEpisodesTranslatedCall
public okhttp3.Call getSeriesSeasonEpisodesTranslatedCall(Integer page, BigDecimal id, String seasonType, String lang, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesSeasonEpisodesTranslated- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)lang
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSeriesSeasonEpisodesTranslated
public InlineResponse20049 getSeriesSeasonEpisodesTranslated(Integer page, BigDecimal id, String seasonType, String lang) throws ApiException Returns series base record with episodes from the specified season type and language. Default returns the episodes in the series default season type.- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)lang
- (required)- Returns:
- InlineResponse20049
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesSeasonEpisodesTranslatedWithHttpInfo
public ApiResponse<InlineResponse20049> getSeriesSeasonEpisodesTranslatedWithHttpInfo(Integer page, BigDecimal id, String seasonType, String lang) throws ApiException Returns series base record with episodes from the specified season type and language. Default returns the episodes in the series default season type.- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)lang
- (required)- Returns:
- ApiResponse<InlineResponse20049>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSeriesSeasonEpisodesTranslatedAsync
public okhttp3.Call getSeriesSeasonEpisodesTranslatedAsync(Integer page, BigDecimal id, String seasonType, String lang, ApiCallback<InlineResponse20049> callback) throws ApiException (asynchronously) Returns series base record with episodes from the specified season type and language. Default returns the episodes in the series default season type.- Parameters:
page
- (required)id
- id (required)seasonType
- season-type (required)lang
- (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
-
getSeriesTranslationCall
public okhttp3.Call getSeriesTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSeriesTranslation- 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
-
getSeriesTranslation
Returns series 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
-
getSeriesTranslationWithHttpInfo
public ApiResponse<InlineResponse20020> getSeriesTranslationWithHttpInfo(BigDecimal id, String language) throws ApiException Returns series 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
-
getSeriesTranslationAsync
public okhttp3.Call getSeriesTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) throws ApiException (asynchronously) Returns series 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
-