public class GroupsApi extends Object
Modifier and Type | Class and Description |
---|---|
class |
GroupsApi.ListGroupsOptions |
class |
GroupsApi.ListGroupUsersOptions |
Constructor and Description |
---|
GroupsApi() |
GroupsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
GroupInformation |
createGroups(String accountId,
GroupInformation groupInformation)
Creates one or more groups for the account.
|
BrandsResponse |
deleteBrands(String accountId,
String groupId,
BrandsRequest brandsRequest)
Deletes brand information from the requested group.
|
GroupInformation |
deleteGroups(String accountId,
GroupInformation groupInformation)
Deletes an existing user group.
|
UsersResponse |
deleteGroupUsers(String accountId,
String groupId,
UserInfoList userInfoList)
Deletes one or more users from a gro
Deletes one or more users from a group.
|
ApiClient |
getApiClient() |
BrandsResponse |
getBrands(String accountId,
String groupId)
Gets group brand ID Information.
|
GroupInformation |
listGroups(String accountId)
Gets information about groups associated with the account.
|
GroupInformation |
listGroups(String accountId,
GroupsApi.ListGroupsOptions options)
Gets information about groups associated with the account.
|
UsersResponse |
listGroupUsers(String accountId,
String groupId)
Gets a list of users in a group.
|
UsersResponse |
listGroupUsers(String accountId,
String groupId,
GroupsApi.ListGroupUsersOptions options)
Gets a list of users in a group.
|
void |
setApiClient(ApiClient apiClient) |
BrandsResponse |
updateBrands(String accountId,
String groupId,
BrandsRequest brandsRequest)
Adds group brand ID information to a group.
|
GroupInformation |
updateGroups(String accountId,
GroupInformation groupInformation)
Updates the group information for a group.
|
UsersResponse |
updateGroupUsers(String accountId,
String groupId,
UserInfoList userInfoList)
Adds one or more users to an existing group.
|
public GroupsApi()
public GroupsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public GroupInformation createGroups(String accountId, GroupInformation groupInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupInformation
- (optional)ApiException
- if fails to make API callpublic BrandsResponse deleteBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)brandsRequest
- (optional)ApiException
- if fails to make API callpublic UsersResponse deleteGroupUsers(String accountId, String groupId, UserInfoList userInfoList) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)userInfoList
- (optional)ApiException
- if fails to make API callpublic GroupInformation deleteGroups(String accountId, GroupInformation groupInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupInformation
- (optional)ApiException
- if fails to make API callpublic BrandsResponse getBrands(String accountId, String groupId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)ApiException
- if fails to make API callpublic UsersResponse listGroupUsers(String accountId, String groupId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)ApiException
public UsersResponse listGroupUsers(String accountId, String groupId, GroupsApi.ListGroupUsersOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic GroupInformation listGroups(String accountId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)ApiException
public GroupInformation listGroups(String accountId, GroupsApi.ListGroupsOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic BrandsResponse updateBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)brandsRequest
- (optional)ApiException
- if fails to make API callpublic UsersResponse updateGroupUsers(String accountId, String groupId, UserInfoList userInfoList) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupId
- The ID of the group being accessed. (required)userInfoList
- (optional)ApiException
- if fails to make API callpublic GroupInformation updateGroups(String accountId, GroupInformation groupInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)groupInformation
- (optional)ApiException
- if fails to make API callCopyright © 2018. All rights reserved.