public class SubAccountApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SubAccountApi.APIlistSubAccountsRequest |
| Constructor and Description |
|---|
SubAccountApi() |
SubAccountApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<SubAccountKey> |
createSubAccountKeys(Long userId,
SubAccountKey subAccountKey)
Create API Key of the sub-account
|
okhttp3.Call |
createSubAccountKeysAsync(Long userId,
SubAccountKey subAccountKey,
ApiCallback<List<SubAccountKey>> _callback)
Create API Key of the sub-account (asynchronously)
|
okhttp3.Call |
createSubAccountKeysCall(Long userId,
SubAccountKey subAccountKey,
ApiCallback _callback)
Build call for createSubAccountKeys
|
ApiResponse<List<SubAccountKey>> |
createSubAccountKeysWithHttpInfo(Long userId,
SubAccountKey subAccountKey)
Create API Key of the sub-account
|
SubAccount |
createSubAccounts(SubAccount subAccount)
Create a new sub-account
|
okhttp3.Call |
createSubAccountsAsync(SubAccount subAccount,
ApiCallback<SubAccount> _callback)
Create a new sub-account (asynchronously)
|
okhttp3.Call |
createSubAccountsCall(SubAccount subAccount,
ApiCallback _callback)
Build call for createSubAccounts
|
ApiResponse<SubAccount> |
createSubAccountsWithHttpInfo(SubAccount subAccount)
Create a new sub-account
|
void |
deleteSubAccountKeys(Integer userId,
String key)
Delete API key of the sub-account
|
okhttp3.Call |
deleteSubAccountKeysAsync(Integer userId,
String key,
ApiCallback<Void> _callback)
Delete API key of the sub-account (asynchronously)
|
okhttp3.Call |
deleteSubAccountKeysCall(Integer userId,
String key,
ApiCallback _callback)
Build call for deleteSubAccountKeys
|
ApiResponse<Void> |
deleteSubAccountKeysWithHttpInfo(Integer userId,
String key)
Delete API key of the sub-account
|
ApiClient |
getApiClient() |
SubAccount |
getSubAccount(Long userId)
Get the sub-account
|
okhttp3.Call |
getSubAccountAsync(Long userId,
ApiCallback<SubAccount> _callback)
Get the sub-account (asynchronously)
|
okhttp3.Call |
getSubAccountCall(Long userId,
ApiCallback _callback)
Build call for getSubAccount
|
SubAccountKey |
getSubAccountKey(Integer userId,
String key)
Get the API Key of the sub-account
|
okhttp3.Call |
getSubAccountKeyAsync(Integer userId,
String key,
ApiCallback<SubAccountKey> _callback)
Get the API Key of the sub-account (asynchronously)
|
okhttp3.Call |
getSubAccountKeyCall(Integer userId,
String key,
ApiCallback _callback)
Build call for getSubAccountKey
|
ApiResponse<SubAccountKey> |
getSubAccountKeyWithHttpInfo(Integer userId,
String key)
Get the API Key of the sub-account
|
ApiResponse<SubAccount> |
getSubAccountWithHttpInfo(Long userId)
Get the sub-account
|
List<SubAccountKey> |
listSubAccountKeys(Integer userId)
List all API Key of the sub-account
|
okhttp3.Call |
listSubAccountKeysAsync(Integer userId,
ApiCallback<List<SubAccountKey>> _callback)
List all API Key of the sub-account (asynchronously)
|
okhttp3.Call |
listSubAccountKeysCall(Integer userId,
ApiCallback _callback)
Build call for listSubAccountKeys
|
ApiResponse<List<SubAccountKey>> |
listSubAccountKeysWithHttpInfo(Integer userId)
List all API Key of the sub-account
|
SubAccountApi.APIlistSubAccountsRequest |
listSubAccounts()
List sub-accounts
|
void |
lockSubAccount(Long userId)
Lock the sub-account
|
okhttp3.Call |
lockSubAccountAsync(Long userId,
ApiCallback<Void> _callback)
Lock the sub-account (asynchronously)
|
okhttp3.Call |
lockSubAccountCall(Long userId,
ApiCallback _callback)
Build call for lockSubAccount
|
ApiResponse<Void> |
lockSubAccountWithHttpInfo(Long userId)
Lock the sub-account
|
void |
setApiClient(ApiClient apiClient) |
void |
unlockSubAccount(Long userId)
Unlock the sub-account
|
okhttp3.Call |
unlockSubAccountAsync(Long userId,
ApiCallback<Void> _callback)
Unlock the sub-account (asynchronously)
|
okhttp3.Call |
unlockSubAccountCall(Long userId,
ApiCallback _callback)
Build call for unlockSubAccount
|
ApiResponse<Void> |
unlockSubAccountWithHttpInfo(Long userId)
Unlock the sub-account
|
void |
updateSubAccountKeys(Integer userId,
String key,
SubAccountKey subAccountKey)
Update API key of the sub-account
|
okhttp3.Call |
updateSubAccountKeysAsync(Integer userId,
String key,
SubAccountKey subAccountKey,
ApiCallback<Void> _callback)
Update API key of the sub-account (asynchronously)
|
okhttp3.Call |
updateSubAccountKeysCall(Integer userId,
String key,
SubAccountKey subAccountKey,
ApiCallback _callback)
Build call for updateSubAccountKeys
|
ApiResponse<Void> |
updateSubAccountKeysWithHttpInfo(Integer userId,
String key,
SubAccountKey subAccountKey)
Update API key of the sub-account
|
public SubAccountApi()
public SubAccountApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public SubAccountApi.APIlistSubAccountsRequest listSubAccounts()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call createSubAccountsCall(SubAccount subAccount, ApiCallback _callback) throws ApiException
subAccount - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Created Successfully | - |
public SubAccount createSubAccounts(SubAccount subAccount) throws ApiException
subAccount - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created Successfully | - |
public ApiResponse<SubAccount> createSubAccountsWithHttpInfo(SubAccount subAccount) throws ApiException
subAccount - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created Successfully | - |
public okhttp3.Call createSubAccountsAsync(SubAccount subAccount, ApiCallback<SubAccount> _callback) throws ApiException
subAccount - (required)_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 |
| 201 | Created Successfully | - |
public okhttp3.Call getSubAccountCall(Long userId, ApiCallback _callback) throws ApiException
userId - Sub-account user id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successful | - |
public SubAccount getSubAccount(Long userId) throws ApiException
userId - Sub-account user id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successful | - |
public ApiResponse<SubAccount> getSubAccountWithHttpInfo(Long userId) throws ApiException
userId - Sub-account user id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successful | - |
public okhttp3.Call getSubAccountAsync(Long userId, ApiCallback<SubAccount> _callback) throws ApiException
userId - Sub-account user id (required)_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 | Successful | - |
public okhttp3.Call listSubAccountKeysCall(Integer userId, ApiCallback _callback) throws ApiException
userId - Sub-account user id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public List<SubAccountKey> listSubAccountKeys(Integer userId) throws ApiException
userId - Sub-account user id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public ApiResponse<List<SubAccountKey>> listSubAccountKeysWithHttpInfo(Integer userId) throws ApiException
userId - Sub-account user id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call listSubAccountKeysAsync(Integer userId, ApiCallback<List<SubAccountKey>> _callback) throws ApiException
userId - Sub-account user id (required)_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 | List retrieved | - |
public okhttp3.Call createSubAccountKeysCall(Long userId, SubAccountKey subAccountKey, ApiCallback _callback) throws ApiException
userId - Sub-account user id (required)subAccountKey - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Created Successfully | - |
public List<SubAccountKey> createSubAccountKeys(Long userId, SubAccountKey subAccountKey) throws ApiException
userId - Sub-account user id (required)subAccountKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Created Successfully | - |
public ApiResponse<List<SubAccountKey>> createSubAccountKeysWithHttpInfo(Long userId, SubAccountKey subAccountKey) throws ApiException
userId - Sub-account user id (required)subAccountKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Created Successfully | - |
public okhttp3.Call createSubAccountKeysAsync(Long userId, SubAccountKey subAccountKey, ApiCallback<List<SubAccountKey>> _callback) throws ApiException
userId - Sub-account user id (required)subAccountKey - (required)_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 | Created Successfully | - |
public okhttp3.Call getSubAccountKeyCall(Integer userId, String key, ApiCallback _callback) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successful | - |
public SubAccountKey getSubAccountKey(Integer userId, String key) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successful | - |
public ApiResponse<SubAccountKey> getSubAccountKeyWithHttpInfo(Integer userId, String key) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successful | - |
public okhttp3.Call getSubAccountKeyAsync(Integer userId, String key, ApiCallback<SubAccountKey> _callback) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)_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 | Successful | - |
public okhttp3.Call updateSubAccountKeysCall(Integer userId, String key, SubAccountKey subAccountKey, ApiCallback _callback) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)subAccountKey - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | Updated | - |
public void updateSubAccountKeys(Integer userId, String key, SubAccountKey subAccountKey) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)subAccountKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Updated | - |
public ApiResponse<Void> updateSubAccountKeysWithHttpInfo(Integer userId, String key, SubAccountKey subAccountKey) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)subAccountKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Updated | - |
public okhttp3.Call updateSubAccountKeysAsync(Integer userId, String key, SubAccountKey subAccountKey, ApiCallback<Void> _callback) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)subAccountKey - (required)_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 |
| 204 | Updated | - |
public okhttp3.Call deleteSubAccountKeysCall(Integer userId, String key, ApiCallback _callback) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | Delete successfully | - |
public void deleteSubAccountKeys(Integer userId, String key) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Delete successfully | - |
public ApiResponse<Void> deleteSubAccountKeysWithHttpInfo(Integer userId, String key) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Delete successfully | - |
public okhttp3.Call deleteSubAccountKeysAsync(Integer userId, String key, ApiCallback<Void> _callback) throws ApiException
userId - Sub-account user id (required)key - The API Key of the sub-account (required)_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 |
| 204 | Delete successfully | - |
public okhttp3.Call lockSubAccountCall(Long userId, ApiCallback _callback) throws ApiException
userId - The user id of the sub-account (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | Lock successfully | - |
public void lockSubAccount(Long userId) throws ApiException
userId - The user id of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Lock successfully | - |
public ApiResponse<Void> lockSubAccountWithHttpInfo(Long userId) throws ApiException
userId - The user id of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Lock successfully | - |
public okhttp3.Call lockSubAccountAsync(Long userId, ApiCallback<Void> _callback) throws ApiException
userId - The user id of the sub-account (required)_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 |
| 204 | Lock successfully | - |
public okhttp3.Call unlockSubAccountCall(Long userId, ApiCallback _callback) throws ApiException
userId - The user id of the sub-account (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | Unlock successfully | - |
public void unlockSubAccount(Long userId) throws ApiException
userId - The user id of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Unlock successfully | - |
public ApiResponse<Void> unlockSubAccountWithHttpInfo(Long userId) throws ApiException
userId - The user id of the sub-account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Unlock successfully | - |
public okhttp3.Call unlockSubAccountAsync(Long userId, ApiCallback<Void> _callback) throws ApiException
userId - The user id of the sub-account (required)_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 |
| 204 | Unlock successfully | - |
Copyright © 2023. All rights reserved.