public class UserApi
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
GetUserInfoResponse |
getUserInfo()
Get User Info Gets the current user's info.
|
okhttp3.Call |
getUserInfoAsync(ApiCallback<GetUserInfoResponse> _callback)
Get User Info (asynchronously) Gets the current user's info.
|
okhttp3.Call |
getUserInfoCall(ApiCallback _callback)
Build call for getUserInfo
|
ApiResponse<GetUserInfoResponse> |
getUserInfoWithHttpInfo()
Get User Info Gets the current user's info.
|
ListUserCompaniesResponse |
listUserCompanies()
List User Companies Lists the companies controlled by the current user.
|
okhttp3.Call |
listUserCompaniesAsync(ApiCallback<ListUserCompaniesResponse> _callback)
List User Companies (asynchronously) Lists the companies controlled by the current user.
|
okhttp3.Call |
listUserCompaniesCall(ApiCallback _callback)
Build call for listUserCompanies
|
ApiResponse<ListUserCompaniesResponse> |
listUserCompaniesWithHttpInfo()
List User Companies Lists the companies controlled by the current user.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public UserApi()
public UserApi(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 getUserInfoCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 401 | Unauthorized. | - |
public GetUserInfoResponse getUserInfo() 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 | - | |
| 401 | Unauthorized. | - |
public ApiResponse<GetUserInfoResponse> getUserInfoWithHttpInfo() 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 | - | |
| 401 | Unauthorized. | - |
public okhttp3.Call getUserInfoAsync(ApiCallback<GetUserInfoResponse> _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 | - | |
| 401 | Unauthorized. | - |
public okhttp3.Call listUserCompaniesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | User Companies. | - |
| 401 | Unauthorized | - |
public ListUserCompaniesResponse listUserCompanies() 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 | User Companies. | - |
| 401 | Unauthorized | - |
public ApiResponse<ListUserCompaniesResponse> listUserCompaniesWithHttpInfo() 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 | User Companies. | - |
| 401 | Unauthorized | - |
public okhttp3.Call listUserCompaniesAsync(ApiCallback<ListUserCompaniesResponse> _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 | User Companies. | - |
| 401 | Unauthorized | - |