Package com.amilesend.tvdb.client.api
Class AwardsApi
java.lang.Object
com.amilesend.tvdb.client.api.AwardsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of award base recordsokhttp3.Call
getAllAwardsAsync
(ApiCallback<InlineResponse2005> callback) (asynchronously) Returns a list of award base recordsokhttp3.Call
getAllAwardsCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllAwardsReturns a list of award base recordsgetAward
(BigDecimal id) Returns a single award base recordokhttp3.Call
getAwardAsync
(BigDecimal id, ApiCallback<InlineResponse2006> callback) (asynchronously) Returns a single award base recordokhttp3.Call
getAwardCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAwardReturns a single award extended recordokhttp3.Call
getAwardExtendedAsync
(BigDecimal id, ApiCallback<InlineResponse2007> callback) (asynchronously) Returns a single award extended recordokhttp3.Call
getAwardExtendedCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAwardExtendedReturns a single award extended recordReturns a single award base recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
AwardsApi
public AwardsApi() -
AwardsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllAwardsCall
public okhttp3.Call getAllAwardsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllAwards- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllAwards
Returns a list of award base records- Returns:
- InlineResponse2005
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllAwardsWithHttpInfo
Returns a list of award base records- Returns:
- ApiResponse<InlineResponse2005>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllAwardsAsync
(asynchronously) Returns a list of award base 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
-
getAwardCall
public okhttp3.Call getAwardCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAward- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAward
Returns a single award base record- Parameters:
id
- id (required)- Returns:
- InlineResponse2006
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAwardWithHttpInfo
Returns a single award base record- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse2006>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAwardAsync
public okhttp3.Call getAwardAsync(BigDecimal id, ApiCallback<InlineResponse2006> callback) throws ApiException (asynchronously) Returns a single award 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
-
getAwardExtendedCall
public okhttp3.Call getAwardExtendedCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAwardExtended- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAwardExtended
Returns a single award extended record- Parameters:
id
- id (required)- Returns:
- InlineResponse2007
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAwardExtendedWithHttpInfo
public ApiResponse<InlineResponse2007> getAwardExtendedWithHttpInfo(BigDecimal id) throws ApiException Returns a single award extended record- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse2007>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAwardExtendedAsync
public okhttp3.Call getAwardExtendedAsync(BigDecimal id, ApiCallback<InlineResponse2007> callback) throws ApiException (asynchronously) Returns a single award 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
-