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