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