Package com.amilesend.tvdb.client.api
Class ArtworkApi
java.lang.Object
com.amilesend.tvdb.client.api.ArtworkApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a single artwork base record.okhttp3.Call
getArtworkBaseAsync
(BigDecimal id, ApiCallback<InlineResponse2001> callback) (asynchronously) Returns a single artwork base record.okhttp3.Call
getArtworkBaseCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getArtworkBaseReturns a single artwork base record.Returns a single artwork extended record.okhttp3.Call
getArtworkExtendedAsync
(BigDecimal id, ApiCallback<InlineResponse2002> callback) (asynchronously) Returns a single artwork extended record.okhttp3.Call
getArtworkExtendedCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getArtworkExtendedReturns a single artwork extended record.void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
ArtworkApi
public ArtworkApi() -
ArtworkApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getArtworkBaseCall
public okhttp3.Call getArtworkBaseCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getArtworkBase- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getArtworkBase
Returns a single artwork base record.- Parameters:
id
- id (required)- Returns:
- InlineResponse2001
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getArtworkBaseWithHttpInfo
public ApiResponse<InlineResponse2001> getArtworkBaseWithHttpInfo(BigDecimal id) throws ApiException Returns a single artwork base record.- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse2001>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getArtworkBaseAsync
public okhttp3.Call getArtworkBaseAsync(BigDecimal id, ApiCallback<InlineResponse2001> callback) throws ApiException (asynchronously) Returns a single artwork 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
-
getArtworkExtendedCall
public okhttp3.Call getArtworkExtendedCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getArtworkExtended- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getArtworkExtended
Returns a single artwork extended record.- Parameters:
id
- id (required)- Returns:
- InlineResponse2002
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getArtworkExtendedWithHttpInfo
public ApiResponse<InlineResponse2002> getArtworkExtendedWithHttpInfo(BigDecimal id) throws ApiException Returns a single artwork extended record.- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse2002>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getArtworkExtendedAsync
public okhttp3.Call getArtworkExtendedAsync(BigDecimal id, ApiCallback<InlineResponse2002> callback) throws ApiException (asynchronously) Returns a single artwork 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
-