Class AwardsApi

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

public class AwardsApi extends Object
  • Constructor Details

    • AwardsApi

      public AwardsApi()
    • AwardsApi

      public AwardsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllAwardsCall

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

      public InlineResponse2005 getAllAwards() throws ApiException
      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

      public ApiResponse<InlineResponse2005> getAllAwardsWithHttpInfo() throws ApiException
      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

      public okhttp3.Call getAllAwardsAsync(ApiCallback<InlineResponse2005> callback) throws ApiException
      (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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAward

      public InlineResponse2006 getAward(BigDecimal id) throws ApiException
      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

      public ApiResponse<InlineResponse2006> getAwardWithHttpInfo(BigDecimal id) throws ApiException
      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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAwardExtended

      public InlineResponse2007 getAwardExtended(BigDecimal id) throws ApiException
      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