Package com.amilesend.tvdb.client.api
Class GenresApi
java.lang.Object
com.amilesend.tvdb.client.api.GenresApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns list of genre recordsokhttp3.Call
getAllGenresAsync
(ApiCallback<InlineResponse20022> callback) (asynchronously) returns list of genre recordsokhttp3.Call
getAllGenresCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllGenresreturns list of genre recordsReturns genre recordokhttp3.Call
getGenreBaseAsync
(BigDecimal id, ApiCallback<InlineResponse20023> callback) (asynchronously) Returns genre recordokhttp3.Call
getGenreBaseCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getGenreBaseReturns genre recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
GenresApi
public GenresApi() -
GenresApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllGenresCall
public okhttp3.Call getAllGenresCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllGenres- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllGenres
returns list of genre records- Returns:
- InlineResponse20022
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllGenresWithHttpInfo
returns list of genre records- Returns:
- ApiResponse<InlineResponse20022>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllGenresAsync
public okhttp3.Call getAllGenresAsync(ApiCallback<InlineResponse20022> callback) throws ApiException (asynchronously) returns list of genre 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
-
getGenreBaseCall
public okhttp3.Call getGenreBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getGenreBase- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getGenreBase
Returns genre record- Parameters:
id
- id (required)- Returns:
- InlineResponse20023
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGenreBaseWithHttpInfo
Returns genre record- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse20023>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getGenreBaseAsync
public okhttp3.Call getGenreBaseAsync(BigDecimal id, ApiCallback<InlineResponse20023> callback) throws ApiException (asynchronously) Returns genre 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
-