Package com.amilesend.tvdb.client.api
Class ContentRatingsApi
java.lang.Object
com.amilesend.tvdb.client.api.ContentRatingsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns list content rating recordsokhttp3.Call
(asynchronously) returns list content rating recordsokhttp3.Call
getAllContentRatingsCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllContentRatingsreturns list content rating recordsvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
ContentRatingsApi
public ContentRatingsApi() -
ContentRatingsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllContentRatingsCall
public okhttp3.Call getAllContentRatingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllContentRatings- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllContentRatings
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
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
-