Class CountriesApi

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

public class CountriesApi extends Object
  • Constructor Details

    • CountriesApi

      public CountriesApi()
    • CountriesApi

      public CountriesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllCountriesCall

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

      public InlineResponse20015 getAllCountries() throws ApiException
      returns list of country records
      Returns:
      InlineResponse20015
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCountriesWithHttpInfo

      public ApiResponse<InlineResponse20015> getAllCountriesWithHttpInfo() throws ApiException
      returns list of country records
      Returns:
      ApiResponse<InlineResponse20015>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCountriesAsync

      public okhttp3.Call getAllCountriesAsync(ApiCallback<InlineResponse20015> callback) throws ApiException
      (asynchronously) returns list of country 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