Class PeopleApi

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

public class PeopleApi extends Object
  • Constructor Details

    • PeopleApi

      public PeopleApi()
    • PeopleApi

      public PeopleApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllPeopleCall

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

      public InlineResponse20035 getAllPeople(BigDecimal page) throws ApiException
      Returns a list of people base records with the basic attributes.
      Parameters:
      page - page number (optional)
      Returns:
      InlineResponse20035
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllPeopleWithHttpInfo

      public ApiResponse<InlineResponse20035> getAllPeopleWithHttpInfo(BigDecimal page) throws ApiException
      Returns a list of people base records with the basic attributes.
      Parameters:
      page - page number (optional)
      Returns:
      ApiResponse<InlineResponse20035>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllPeopleAsync

      public okhttp3.Call getAllPeopleAsync(BigDecimal page, ApiCallback<InlineResponse20035> callback) throws ApiException
      (asynchronously) Returns a list of people base records with the basic attributes.
      Parameters:
      page - page number (optional)
      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
    • getPeopleBaseCall

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

      public InlineResponse20036 getPeopleBase(BigDecimal id) throws ApiException
      Returns people base record
      Parameters:
      id - id (required)
      Returns:
      InlineResponse20036
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPeopleBaseWithHttpInfo

      public ApiResponse<InlineResponse20036> getPeopleBaseWithHttpInfo(BigDecimal id) throws ApiException
      Returns people base record
      Parameters:
      id - id (required)
      Returns:
      ApiResponse<InlineResponse20036>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPeopleBaseAsync

      public okhttp3.Call getPeopleBaseAsync(BigDecimal id, ApiCallback<InlineResponse20036> callback) throws ApiException
      (asynchronously) Returns people base record
      Parameters:
      id - id (required)
      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
    • getPeopleExtendedCall

      public okhttp3.Call getPeopleExtendedCall(BigDecimal id, String meta, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getPeopleExtended
      Parameters:
      id - id (required)
      meta - meta (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getPeopleExtended

      public InlineResponse20037 getPeopleExtended(BigDecimal id, String meta) throws ApiException
      Returns people extended record
      Parameters:
      id - id (required)
      meta - meta (optional)
      Returns:
      InlineResponse20037
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPeopleExtendedWithHttpInfo

      public ApiResponse<InlineResponse20037> getPeopleExtendedWithHttpInfo(BigDecimal id, String meta) throws ApiException
      Returns people extended record
      Parameters:
      id - id (required)
      meta - meta (optional)
      Returns:
      ApiResponse<InlineResponse20037>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPeopleExtendedAsync

      public okhttp3.Call getPeopleExtendedAsync(BigDecimal id, String meta, ApiCallback<InlineResponse20037> callback) throws ApiException
      (asynchronously) Returns people extended record
      Parameters:
      id - id (required)
      meta - meta (optional)
      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
    • getPeopleTranslationCall

      public okhttp3.Call getPeopleTranslationCall(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getPeopleTranslation
      Parameters:
      id - id (required)
      language - language (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getPeopleTranslation

      public InlineResponse20020 getPeopleTranslation(BigDecimal id, String language) throws ApiException
      Returns people translation record
      Parameters:
      id - id (required)
      language - language (required)
      Returns:
      InlineResponse20020
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPeopleTranslationWithHttpInfo

      public ApiResponse<InlineResponse20020> getPeopleTranslationWithHttpInfo(BigDecimal id, String language) throws ApiException
      Returns people translation record
      Parameters:
      id - id (required)
      language - language (required)
      Returns:
      ApiResponse<InlineResponse20020>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPeopleTranslationAsync

      public okhttp3.Call getPeopleTranslationAsync(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) throws ApiException
      (asynchronously) Returns people translation record
      Parameters:
      id - id (required)
      language - language (required)
      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