Package com.amilesend.tvdb.client.api
Class UserInfoApi
java.lang.Object
com.amilesend.tvdb.client.api.UserInfoApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns user infookhttp3.Call
getUserInfoAsync
(ApiCallback<InlineResponse20053> callback) (asynchronously) returns user inforeturns user info by user idokhttp3.Call
getUserInfoByIdAsync
(BigDecimal id, ApiCallback<InlineResponse20053> callback) (asynchronously) returns user info by user idokhttp3.Call
getUserInfoByIdCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getUserInfoByIdreturns user info by user idokhttp3.Call
getUserInfoCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getUserInforeturns user infovoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
UserInfoApi
public UserInfoApi() -
UserInfoApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getUserInfoCall
public okhttp3.Call getUserInfoCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getUserInfo- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getUserInfo
returns user info- Returns:
- InlineResponse20053
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserInfoWithHttpInfo
returns user info- Returns:
- ApiResponse<InlineResponse20053>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserInfoAsync
(asynchronously) returns user info- 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
-
getUserInfoByIdCall
public okhttp3.Call getUserInfoByIdCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getUserInfoById- Parameters:
id
- id (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getUserInfoById
returns user info by user id- Parameters:
id
- id (required)- Returns:
- InlineResponse20053
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserInfoByIdWithHttpInfo
public ApiResponse<InlineResponse20053> getUserInfoByIdWithHttpInfo(BigDecimal id) throws ApiException returns user info by user id- Parameters:
id
- id (required)- Returns:
- ApiResponse<InlineResponse20053>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserInfoByIdAsync
public okhttp3.Call getUserInfoByIdAsync(BigDecimal id, ApiCallback<InlineResponse20053> callback) throws ApiException (asynchronously) returns user info by user id- 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
-