Class CharactersApi

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

public class CharactersApi extends Object
  • Constructor Details

    • CharactersApi

      public CharactersApi()
    • CharactersApi

      public CharactersApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getCharacterBase

      public InlineResponse20010 getCharacterBase(BigDecimal id) throws ApiException
      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