Class PeopleTypesApi

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

public class PeopleTypesApi extends Object
  • Constructor Details

    • PeopleTypesApi

      public PeopleTypesApi()
    • PeopleTypesApi

      public PeopleTypesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllPeopleTypesCall

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

      public InlineResponse20038 getAllPeopleTypes() throws ApiException
      returns list of peopleType records
      Returns:
      InlineResponse20038
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllPeopleTypesWithHttpInfo

      public ApiResponse<InlineResponse20038> getAllPeopleTypesWithHttpInfo() throws ApiException
      returns list of peopleType records
      Returns:
      ApiResponse<InlineResponse20038>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllPeopleTypesAsync

      public okhttp3.Call getAllPeopleTypesAsync(ApiCallback<InlineResponse20038> callback) throws ApiException
      (asynchronously) returns list of peopleType 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