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 listGroups(String accountId) throws ApiException
Gets information about groups associated with the account. Retrieves information about groups associated with the account.
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic GroupInformation listGroups(String accountId, GroupsApi.ListGroupsOptions options) throws ApiException
Gets information about groups associated with the account. Retrieves information about groups associated with the account.
accountId - The external account number (int) or account ID Guid.GroupsApi.ListGroupsOptions - Options for modifying the method behavior.ApiExceptionpublic GroupInformation updateGroups(String accountId, GroupInformation groupInformation) throws ApiException
Updates the group information for a group. Updates the group name and modifies, or sets, the permission profile for the group.
accountId - The external account number (int) or account ID Guid.GroupsApi.UpdateGroupsOptions - Options for modifying the method behavior.ApiExceptionpublic GroupInformation createGroups(String accountId, GroupInformation groupInformation) throws ApiException
Creates one or more groups for the account. Creates one or more groups for the account.\n\nGroups can be used to help manage users by associating users with a group. You can associate a group with a Permission Profile, which sets the user permissions for users in that group without having to set the userSettings property for each user. You are not required to set Permission Profiles for a group, but it makes it easier to manage user permissions for a large number of users. You can also use groups with template sharing to limit user access to templates.
accountId - The external account number (int) or account ID Guid.GroupsApi.CreateGroupsOptions - Options for modifying the method behavior.ApiExceptionpublic GroupInformation deleteGroups(String accountId, GroupInformation groupInformation) throws ApiException
Deletes an existing user group. Deletes an existing user group.
accountId - The external account number (int) or account ID Guid.GroupsApi.DeleteGroupsOptions - Options for modifying the method behavior.ApiExceptionpublic BrandsResponse getBrands(String accountId, String groupId) throws ApiException
Gets group brand ID Information. Retrieves information about the brands associated with the requested group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.GroupsApi.GetBrandsOptions - Options for modifying the method behavior.ApiExceptionpublic BrandsResponse updateBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException
Adds group brand ID information to a group. Adds group brand ID information to a group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.GroupsApi.UpdateBrandsOptions - Options for modifying the method behavior.ApiExceptionpublic BrandsResponse deleteBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException
Deletes brand information from the requested group. Deletes brand information from the requested group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.GroupsApi.DeleteBrandsOptions - Options for modifying the method behavior.ApiExceptionpublic UsersResponse listGroupUsers(String accountId, String groupId) throws ApiException
Gets a list of users in a group. Retrieves a list of users in a group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.ApiExceptionpublic UsersResponse listGroupUsers(String accountId, String groupId, GroupsApi.ListGroupUsersOptions options) throws ApiException
Gets a list of users in a group. Retrieves a list of users in a group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.GroupsApi.ListGroupUsersOptions - Options for modifying the method behavior.ApiExceptionpublic UsersResponse updateGroupUsers(String accountId, String groupId, UserInfoList userInfoList) throws ApiException
Adds one or more users to an existing group. Adds one or more users to an existing group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.GroupsApi.UpdateGroupUsersOptions - Options for modifying the method behavior.ApiExceptionpublic UsersResponse deleteGroupUsers(String accountId, String groupId, UserInfoList userInfoList) throws ApiException
Deletes one or more users from a gro Deletes one or more users from a group.
accountId - The external account number (int) or account ID Guid.groupId - The ID of the group being accessed.GroupsApi.DeleteGroupUsersOptions - Options for modifying the method behavior.ApiExceptionCopyright © 2017. All Rights Reserved.