Class LanguagesApi

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

public class LanguagesApi extends Object
  • Constructor Details

    • LanguagesApi

      public LanguagesApi()
    • LanguagesApi

      public LanguagesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllLanguagesCall

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

      public InlineResponse20025 getAllLanguages() throws ApiException
      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

      public ApiResponse<InlineResponse20025> getAllLanguagesWithHttpInfo() throws ApiException
      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