Package com.amilesend.tvdb.client.api
Class EntityTypesApi
java.lang.Object
com.amilesend.tvdb.client.api.EntityTypesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns the active entity typesokhttp3.Call
getEntityTypesAsync
(ApiCallback<InlineResponse20016> callback) (asynchronously) returns the active entity typesokhttp3.Call
getEntityTypesCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getEntityTypesreturns the active entity typesvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
EntityTypesApi
public EntityTypesApi() -
EntityTypesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getEntityTypesCall
public okhttp3.Call getEntityTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getEntityTypes- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getEntityTypes
returns the active entity types- Returns:
- InlineResponse20016
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEntityTypesWithHttpInfo
returns the active entity types- Returns:
- ApiResponse<InlineResponse20016>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEntityTypesAsync
public okhttp3.Call getEntityTypesAsync(ApiCallback<InlineResponse20016> callback) throws ApiException (asynchronously) returns the active entity types- 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
-