Package com.amilesend.tvdb.client.api
Class PeopleApi
java.lang.Object
com.amilesend.tvdb.client.api.PeopleApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllPeople
(BigDecimal page) Returns a list of people base records with the basic attributes.okhttp3.Call
getAllPeopleAsync
(BigDecimal page, ApiCallback<InlineResponse20035> callback) (asynchronously) Returns a list of people base records with the basic attributes.okhttp3.Call
getAllPeopleCall
(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllPeopleReturns a list of people base records with the basic attributes.Returns people base recordokhttp3.Call
getPeopleBaseAsync
(BigDecimal id, ApiCallback<InlineResponse20036> callback) (asynchronously) Returns people base recordokhttp3.Call
getPeopleBaseCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getPeopleBaseReturns people base recordgetPeopleExtended
(BigDecimal id, String meta) Returns people extended recordokhttp3.Call
getPeopleExtendedAsync
(BigDecimal id, String meta, ApiCallback<InlineResponse20037> callback) (asynchronously) Returns people extended recordokhttp3.Call
getPeopleExtendedCall
(BigDecimal id, String meta, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getPeopleExtendedgetPeopleExtendedWithHttpInfo
(BigDecimal id, String meta) Returns people extended recordgetPeopleTranslation
(BigDecimal id, String language) Returns people translation recordokhttp3.Call
getPeopleTranslationAsync
(BigDecimal id, String language, ApiCallback<InlineResponse20020> callback) (asynchronously) Returns people translation recordokhttp3.Call
getPeopleTranslationCall
(BigDecimal id, String language, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getPeopleTranslationgetPeopleTranslationWithHttpInfo
(BigDecimal id, String language) Returns people translation recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
PeopleApi
public PeopleApi() -
PeopleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllPeople
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getPeopleBase
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getPeopleExtended
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getPeopleTranslation
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
-