Class SourceTypesApi

java.lang.Object
com.amilesend.tvdb.client.api.SourceTypesApi

public class SourceTypesApi extends Object
  • Constructor Details

    • SourceTypesApi

      public SourceTypesApi()
    • SourceTypesApi

      public SourceTypesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllSourceTypesCall

      public okhttp3.Call getAllSourceTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getAllSourceTypes
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAllSourceTypes

      public InlineResponse20051 getAllSourceTypes() throws ApiException
      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

      public ApiResponse<InlineResponse20051> getAllSourceTypesWithHttpInfo() throws ApiException
      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