@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2018-11-21T02:24:22.050Z") public class GroupsApi extends Object
Constructor and Description |
---|
GroupsApi() |
GroupsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Group |
createGroup(GroupRequest body)
Create new group
Create a new group with the specified properties.
|
void |
deleteGroup(String groupId)
Delete group
Remove a group from SDKMS.
|
ApiClient |
getApiClient() |
Group |
getGroup(String groupId)
Get a specific group
Look up a specific group by group ID.
|
List<Group> |
getGroups()
Get all groups
Get detailed information about all groups the authenticated User or authenticated Application belongs to.
|
void |
setApiClient(ApiClient apiClient) |
Group |
updateGroup(String groupId,
GroupRequest body)
Update group
Change a group's properties.
|
public GroupsApi()
public GroupsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Group createGroup(GroupRequest body) throws ApiException
body
- Name of group (required)ApiException
- if fails to make API callpublic void deleteGroup(String groupId) throws ApiException
groupId
- Group Identifier (required)ApiException
- if fails to make API callpublic Group getGroup(String groupId) throws ApiException
groupId
- Group Identifier (required)ApiException
- if fails to make API callpublic List<Group> getGroups() throws ApiException
ApiException
- if fails to make API callpublic Group updateGroup(String groupId, GroupRequest body) throws ApiException
groupId
- Group Identifier (required)body
- Name of group (required)ApiException
- if fails to make API callCopyright © 2017-2018 Fortanix Inc. All Rights Reserved