Package com.amilesend.tvdb.client.api
Class CharactersApi
java.lang.Object
com.amilesend.tvdb.client.api.CharactersApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns character base recordokhttp3.Call
getCharacterBaseAsync
(BigDecimal id, ApiCallback<InlineResponse20010> callback) (asynchronously) Returns character base recordokhttp3.Call
getCharacterBaseCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getCharacterBaseReturns character base recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
CharactersApi
public CharactersApi() -
CharactersApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getCharacterBaseCall
public okhttp3.Call getCharacterBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getCharacterBase- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getCharacterBase
Returns character base record- Parameters:
id
- id (required)- Returns:
- InlineResponse20010
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharacterBaseWithHttpInfo
public ApiResponse<InlineResponse20010> getCharacterBaseWithHttpInfo(BigDecimal id) throws ApiException Returns character base record- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse20010>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharacterBaseAsync
public okhttp3.Call getCharacterBaseAsync(BigDecimal id, ApiCallback<InlineResponse20010> callback) throws ApiException (asynchronously) Returns character 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
-