Class ArtworkTypesApi

java.lang.Object
com.amilesend.tvdb.client.api.ArtworkTypesApi

public class ArtworkTypesApi extends Object
  • Constructor Details

    • ArtworkTypesApi

      public ArtworkTypesApi()
    • ArtworkTypesApi

      public ArtworkTypesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllArtworkTypesCall

      public okhttp3.Call getAllArtworkTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getAllArtworkTypes
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAllArtworkTypes

      public InlineResponse2004 getAllArtworkTypes() throws ApiException
      Returns a list of artworkType records
      Returns:
      InlineResponse2004
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllArtworkTypesWithHttpInfo

      public ApiResponse<InlineResponse2004> getAllArtworkTypesWithHttpInfo() throws ApiException
      Returns a list of artworkType records
      Returns:
      ApiResponse<InlineResponse2004>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllArtworkTypesAsync

      public okhttp3.Call getAllArtworkTypesAsync(ApiCallback<InlineResponse2004> callback) throws ApiException
      (asynchronously) Returns a list of artworkType 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