public class GroupsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
GroupsManager() |
protected |
GroupsManager(GroupsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
GroupFull |
createGroup(CreateGroupRequestBody requestBody)
Creates a new group of users in an enterprise.
|
GroupFull |
createGroup(CreateGroupRequestBody requestBody,
CreateGroupHeaders headers)
Creates a new group of users in an enterprise.
|
GroupFull |
createGroup(CreateGroupRequestBody requestBody,
CreateGroupQueryParams queryParams)
Creates a new group of users in an enterprise.
|
GroupFull |
createGroup(CreateGroupRequestBody requestBody,
CreateGroupQueryParams queryParams,
CreateGroupHeaders headers)
Creates a new group of users in an enterprise.
|
void |
deleteGroupById(String groupId)
Permanently deletes a group.
|
void |
deleteGroupById(String groupId,
DeleteGroupByIdHeaders headers)
Permanently deletes a group.
|
Authentication |
getAuth() |
GroupFull |
getGroupById(String groupId)
Retrieves information about a group.
|
GroupFull |
getGroupById(String groupId,
GetGroupByIdHeaders headers)
Retrieves information about a group.
|
GroupFull |
getGroupById(String groupId,
GetGroupByIdQueryParams queryParams)
Retrieves information about a group.
|
GroupFull |
getGroupById(String groupId,
GetGroupByIdQueryParams queryParams,
GetGroupByIdHeaders headers)
Retrieves information about a group.
|
Groups |
getGroups()
Retrieves all of the groups for a given enterprise.
|
Groups |
getGroups(GetGroupsHeaders headers)
Retrieves all of the groups for a given enterprise.
|
Groups |
getGroups(GetGroupsQueryParams queryParams)
Retrieves all of the groups for a given enterprise.
|
Groups |
getGroups(GetGroupsQueryParams queryParams,
GetGroupsHeaders headers)
Retrieves all of the groups for a given enterprise.
|
NetworkSession |
getNetworkSession() |
GroupFull |
updateGroupById(String groupId)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdHeaders headers)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdQueryParams queryParams)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdQueryParams queryParams,
UpdateGroupByIdHeaders headers)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdRequestBody requestBody)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdRequestBody requestBody,
UpdateGroupByIdHeaders headers)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdRequestBody requestBody,
UpdateGroupByIdQueryParams queryParams)
Updates a specific group.
|
GroupFull |
updateGroupById(String groupId,
UpdateGroupByIdRequestBody requestBody,
UpdateGroupByIdQueryParams queryParams,
UpdateGroupByIdHeaders headers)
Updates a specific group.
|
public Authentication auth
public NetworkSession networkSession
public GroupsManager()
protected GroupsManager(GroupsManager.Builder builder)
public Groups getGroups()
public Groups getGroups(GetGroupsQueryParams queryParams)
queryParams - Query parameters of getGroups methodpublic Groups getGroups(GetGroupsHeaders headers)
headers - Headers of getGroups methodpublic Groups getGroups(GetGroupsQueryParams queryParams, GetGroupsHeaders headers)
queryParams - Query parameters of getGroups methodheaders - Headers of getGroups methodpublic GroupFull createGroup(CreateGroupRequestBody requestBody)
requestBody - Request body of createGroup methodpublic GroupFull createGroup(CreateGroupRequestBody requestBody, CreateGroupQueryParams queryParams)
requestBody - Request body of createGroup methodqueryParams - Query parameters of createGroup methodpublic GroupFull createGroup(CreateGroupRequestBody requestBody, CreateGroupHeaders headers)
requestBody - Request body of createGroup methodheaders - Headers of createGroup methodpublic GroupFull createGroup(CreateGroupRequestBody requestBody, CreateGroupQueryParams queryParams, CreateGroupHeaders headers)
requestBody - Request body of createGroup methodqueryParams - Query parameters of createGroup methodheaders - Headers of createGroup methodpublic GroupFull getGroupById(String groupId)
groupId - The ID of the group. Example: "57645"public GroupFull getGroupById(String groupId, GetGroupByIdQueryParams queryParams)
groupId - The ID of the group. Example: "57645"queryParams - Query parameters of getGroupById methodpublic GroupFull getGroupById(String groupId, GetGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"headers - Headers of getGroupById methodpublic GroupFull getGroupById(String groupId, GetGroupByIdQueryParams queryParams, GetGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"queryParams - Query parameters of getGroupById methodheaders - Headers of getGroupById methodpublic GroupFull updateGroupById(String groupId)
groupId - The ID of the group. Example: "57645"public GroupFull updateGroupById(String groupId, UpdateGroupByIdRequestBody requestBody)
groupId - The ID of the group. Example: "57645"requestBody - Request body of updateGroupById methodpublic GroupFull updateGroupById(String groupId, UpdateGroupByIdQueryParams queryParams)
groupId - The ID of the group. Example: "57645"queryParams - Query parameters of updateGroupById methodpublic GroupFull updateGroupById(String groupId, UpdateGroupByIdRequestBody requestBody, UpdateGroupByIdQueryParams queryParams)
groupId - The ID of the group. Example: "57645"requestBody - Request body of updateGroupById methodqueryParams - Query parameters of updateGroupById methodpublic GroupFull updateGroupById(String groupId, UpdateGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"headers - Headers of updateGroupById methodpublic GroupFull updateGroupById(String groupId, UpdateGroupByIdRequestBody requestBody, UpdateGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"requestBody - Request body of updateGroupById methodheaders - Headers of updateGroupById methodpublic GroupFull updateGroupById(String groupId, UpdateGroupByIdQueryParams queryParams, UpdateGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"queryParams - Query parameters of updateGroupById methodheaders - Headers of updateGroupById methodpublic GroupFull updateGroupById(String groupId, UpdateGroupByIdRequestBody requestBody, UpdateGroupByIdQueryParams queryParams, UpdateGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"requestBody - Request body of updateGroupById methodqueryParams - Query parameters of updateGroupById methodheaders - Headers of updateGroupById methodpublic void deleteGroupById(String groupId)
groupId - The ID of the group. Example: "57645"public void deleteGroupById(String groupId, DeleteGroupByIdHeaders headers)
groupId - The ID of the group. Example: "57645"headers - Headers of deleteGroupById methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()