public class MeApi
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
MeModel |
getMe()
Get authenticated user details
|
okhttp3.Call |
getMeAsync(ApiCallback<MeModel> _callback)
Get authenticated user details (asynchronously)
|
okhttp3.Call |
getMeCall(ApiCallback _callback)
Build call for getMe
|
ApiResponse<MeModel> |
getMeWithHttpInfo()
Get authenticated user details
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public MeApi()
public MeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call getMeCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public MeModel getMe() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<MeModel> getMeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getMeAsync(ApiCallback<MeModel> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |