Class GendersApi

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

public class GendersApi extends Object
  • Constructor Details

    • GendersApi

      public GendersApi()
    • GendersApi

      public GendersApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllGendersCall

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

      public InlineResponse20021 getAllGenders() throws ApiException
      returns list of gender records
      Returns:
      InlineResponse20021
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllGendersWithHttpInfo

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

      public okhttp3.Call getAllGendersAsync(ApiCallback<InlineResponse20021> callback) throws ApiException
      (asynchronously) returns list of gender 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