public class AccountApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AccountApi.APIlistSTPGroupsRequest |
| Constructor and Description |
|---|
AccountApi() |
AccountApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<StpGroupUser> |
addSTPGroupUsers(Long stpId,
List<Long> requestBody)
Add users to the STP group
- Only the master account that created the STP user group is allowed to add users to the STP user group.- Only accounts under the main account are allowed to be added.
|
okhttp3.Call |
addSTPGroupUsersAsync(Long stpId,
List<Long> requestBody,
ApiCallback<List<StpGroupUser>> _callback)
Add users to the STP group (asynchronously)
- Only the master account that created the STP user group is allowed to add users to the STP user group.- Only accounts under the main account are allowed to be added.
|
okhttp3.Call |
addSTPGroupUsersCall(Long stpId,
List<Long> requestBody,
ApiCallback _callback)
Build call for addSTPGroupUsers
|
ApiResponse<List<StpGroupUser>> |
addSTPGroupUsersWithHttpInfo(Long stpId,
List<Long> requestBody)
Add users to the STP group
- Only the master account that created the STP user group is allowed to add users to the STP user group.- Only accounts under the main account are allowed to be added.
|
StpGroup |
createSTPGroup(StpGroup stpGroup)
Create STP Group
Only the main account is allowed to create a new STP user group
|
okhttp3.Call |
createSTPGroupAsync(StpGroup stpGroup,
ApiCallback<StpGroup> _callback)
Create STP Group (asynchronously)
Only the main account is allowed to create a new STP user group
|
okhttp3.Call |
createSTPGroupCall(StpGroup stpGroup,
ApiCallback _callback)
Build call for createSTPGroup
|
ApiResponse<StpGroup> |
createSTPGroupWithHttpInfo(StpGroup stpGroup)
Create STP Group
Only the main account is allowed to create a new STP user group
|
List<StpGroupUser> |
deleteSTPGroupUsers(Long stpId,
List<Long> requestBody)
Delete the user in the STP group
- Only the main account that created this STP group is allowed to delete users from the STP user group - Deletion is limited to accounts under the current main account; cross-account deletion is not permitted
|
okhttp3.Call |
deleteSTPGroupUsersAsync(Long stpId,
List<Long> requestBody,
ApiCallback<List<StpGroupUser>> _callback)
Delete the user in the STP group (asynchronously)
- Only the main account that created this STP group is allowed to delete users from the STP user group - Deletion is limited to accounts under the current main account; cross-account deletion is not permitted
|
okhttp3.Call |
deleteSTPGroupUsersCall(Long stpId,
List<Long> requestBody,
ApiCallback _callback)
Build call for deleteSTPGroupUsers
|
ApiResponse<List<StpGroupUser>> |
deleteSTPGroupUsersWithHttpInfo(Long stpId,
List<Long> requestBody)
Delete the user in the STP group
- Only the main account that created this STP group is allowed to delete users from the STP user group - Deletion is limited to accounts under the current main account; cross-account deletion is not permitted
|
AccountDetail |
getAccountDetail()
Get account detail
|
okhttp3.Call |
getAccountDetailAsync(ApiCallback<AccountDetail> _callback)
Get account detail (asynchronously)
|
okhttp3.Call |
getAccountDetailCall(ApiCallback _callback)
Build call for getAccountDetail
|
ApiResponse<AccountDetail> |
getAccountDetailWithHttpInfo()
Get account detail
|
ApiClient |
getApiClient() |
AccountApi.APIlistSTPGroupsRequest |
listSTPGroups()
List STP Groups
Retrieve the list of STP groups created by the main account user only
|
List<StpGroupUser> |
listSTPGroupsUsers(Long stpId)
List users of the STP group
Only the main account that created this STP group is allowed to list the user ID of the STP group
|
okhttp3.Call |
listSTPGroupsUsersAsync(Long stpId,
ApiCallback<List<StpGroupUser>> _callback)
List users of the STP group (asynchronously)
Only the main account that created this STP group is allowed to list the user ID of the STP group
|
okhttp3.Call |
listSTPGroupsUsersCall(Long stpId,
ApiCallback _callback)
Build call for listSTPGroupsUsers
|
ApiResponse<List<StpGroupUser>> |
listSTPGroupsUsersWithHttpInfo(Long stpId)
List users of the STP group
Only the main account that created this STP group is allowed to list the user ID of the STP group
|
void |
setApiClient(ApiClient apiClient) |
public AccountApi()
public AccountApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAccountDetailCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successful | - |
public AccountDetail getAccountDetail() 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 | Successful | - |
public ApiResponse<AccountDetail> getAccountDetailWithHttpInfo() 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 | Successful | - |
public okhttp3.Call getAccountDetailAsync(ApiCallback<AccountDetail> _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 | Successful | - |
public AccountApi.APIlistSTPGroupsRequest listSTPGroups()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call createSTPGroupCall(StpGroup stpGroup, ApiCallback _callback) throws ApiException
stpGroup - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | User added successfully. Returning the current users within the STP group. | - |
public StpGroup createSTPGroup(StpGroup stpGroup) throws ApiException
stpGroup - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | User added successfully. Returning the current users within the STP group. | - |
public ApiResponse<StpGroup> createSTPGroupWithHttpInfo(StpGroup stpGroup) throws ApiException
stpGroup - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | User added successfully. Returning the current users within the STP group. | - |
public okhttp3.Call createSTPGroupAsync(StpGroup stpGroup, ApiCallback<StpGroup> _callback) throws ApiException
stpGroup - (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 | User added successfully. Returning the current users within the STP group. | - |
public okhttp3.Call listSTPGroupsUsersCall(Long stpId, ApiCallback _callback) throws ApiException
stpId - STP Group 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<StpGroupUser> listSTPGroupsUsers(Long stpId) throws ApiException
stpId - STP Group 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<StpGroupUser>> listSTPGroupsUsersWithHttpInfo(Long stpId) throws ApiException
stpId - STP Group 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 listSTPGroupsUsersAsync(Long stpId, ApiCallback<List<StpGroupUser>> _callback) throws ApiException
stpId - STP Group 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 addSTPGroupUsersCall(Long stpId, List<Long> requestBody, ApiCallback _callback) throws ApiException
stpId - STP Group ID (required)requestBody - User ID (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | User added successfully. Returning the current users within the STP group. | - |
public List<StpGroupUser> addSTPGroupUsers(Long stpId, List<Long> requestBody) throws ApiException
stpId - STP Group ID (required)requestBody - 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 | User added successfully. Returning the current users within the STP group. | - |
public ApiResponse<List<StpGroupUser>> addSTPGroupUsersWithHttpInfo(Long stpId, List<Long> requestBody) throws ApiException
stpId - STP Group ID (required)requestBody - 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 | User added successfully. Returning the current users within the STP group. | - |
public okhttp3.Call addSTPGroupUsersAsync(Long stpId, List<Long> requestBody, ApiCallback<List<StpGroupUser>> _callback) throws ApiException
stpId - STP Group ID (required)requestBody - 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 | User added successfully. Returning the current users within the STP group. | - |
public okhttp3.Call deleteSTPGroupUsersCall(Long stpId, List<Long> requestBody, ApiCallback _callback) throws ApiException
stpId - STP Group ID (required)requestBody - User ID (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Success | - |
public List<StpGroupUser> deleteSTPGroupUsers(Long stpId, List<Long> requestBody) throws ApiException
stpId - STP Group ID (required)requestBody - 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 | Success | - |
public ApiResponse<List<StpGroupUser>> deleteSTPGroupUsersWithHttpInfo(Long stpId, List<Long> requestBody) throws ApiException
stpId - STP Group ID (required)requestBody - 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 | Success | - |
public okhttp3.Call deleteSTPGroupUsersAsync(Long stpId, List<Long> requestBody, ApiCallback<List<StpGroupUser>> _callback) throws ApiException
stpId - STP Group ID (required)requestBody - 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 | Success | - |
Copyright © 2023. All rights reserved.