Class ContentRatingsApi

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

public class ContentRatingsApi extends Object
  • Constructor Details

    • ContentRatingsApi

      public ContentRatingsApi()
    • ContentRatingsApi

      public ContentRatingsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllContentRatingsCall

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

      public InlineResponse20014 getAllContentRatings() throws ApiException
      returns list content rating records
      Returns:
      InlineResponse20014
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllContentRatingsWithHttpInfo

      public ApiResponse<InlineResponse20014> getAllContentRatingsWithHttpInfo() throws ApiException
      returns list content rating records
      Returns:
      ApiResponse<InlineResponse20014>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllContentRatingsAsync

      public okhttp3.Call getAllContentRatingsAsync(ApiCallback<InlineResponse20014> callback) throws ApiException
      (asynchronously) returns list content rating 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