Package com.amilesend.tvdb.client.api
Class LanguagesApi
java.lang.Object
com.amilesend.tvdb.client.api.LanguagesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns list of language recordsokhttp3.Call
getAllLanguagesAsync
(ApiCallback<InlineResponse20025> callback) (asynchronously) returns list of language recordsokhttp3.Call
getAllLanguagesCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllLanguagesreturns list of language recordsvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
LanguagesApi
public LanguagesApi() -
LanguagesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllLanguagesCall
public okhttp3.Call getAllLanguagesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAllLanguages- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllLanguages
returns list of language records- Returns:
- InlineResponse20025
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllLanguagesWithHttpInfo
returns list of language records- Returns:
- ApiResponse<InlineResponse20025>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllLanguagesAsync
public okhttp3.Call getAllLanguagesAsync(ApiCallback<InlineResponse20025> callback) throws ApiException (asynchronously) returns list of language 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
-