public class GroupsApi extends Object
Constructor and Description |
---|
GroupsApi() |
GroupsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteUserGroupSubscription(String workspaceId,
String groupId,
String tagName)
Delete tag subscription of given user group
|
com.squareup.okhttp.Call |
deleteUserGroupSubscriptionAsync(String workspaceId,
String groupId,
String tagName,
ApiCallback<Void> callback)
Delete tag subscription of given user group (asynchronously)
|
ApiResponse<Void> |
deleteUserGroupSubscriptionWithHttpInfo(String workspaceId,
String groupId,
String tagName)
Delete tag subscription of given user group
|
ApiClient |
getApiClient() |
List<UserGroupDTO> |
getGroups(String workspaceId)
Get user groups in given workspace
|
com.squareup.okhttp.Call |
getGroupsAsync(String workspaceId,
ApiCallback<List<UserGroupDTO>> callback)
Get user groups in given workspace (asynchronously)
|
ApiResponse<List<UserGroupDTO>> |
getGroupsWithHttpInfo(String workspaceId)
Get user groups in given workspace
|
List<TagSubscriptionDTO> |
getTagSubscriptionsForGroup(String workspaceId,
String groupId)
Get tag subscriptions of given user group
|
com.squareup.okhttp.Call |
getTagSubscriptionsForGroupAsync(String workspaceId,
String groupId,
ApiCallback<List<TagSubscriptionDTO>> callback)
Get tag subscriptions of given user group (asynchronously)
|
ApiResponse<List<TagSubscriptionDTO>> |
getTagSubscriptionsForGroupWithHttpInfo(String workspaceId,
String groupId)
Get tag subscriptions of given user group
|
List<UserDTO> |
getUsersInGroup(String workspaceId,
String groupId)
Get users of given user group
|
com.squareup.okhttp.Call |
getUsersInGroupAsync(String workspaceId,
String groupId,
ApiCallback<List<UserDTO>> callback)
Get users of given user group (asynchronously)
|
ApiResponse<List<UserDTO>> |
getUsersInGroupWithHttpInfo(String workspaceId,
String groupId)
Get users of given user group
|
void |
setApiClient(ApiClient apiClient) |
TagSubscriptionDTO |
updateUserGroupSubscription(String workspaceId,
String groupId,
String tagName,
TagSubscriptionDTO body)
Update or create tag subscription of given user group
|
com.squareup.okhttp.Call |
updateUserGroupSubscriptionAsync(String workspaceId,
String groupId,
String tagName,
TagSubscriptionDTO body,
ApiCallback<TagSubscriptionDTO> callback)
Update or create tag subscription of given user group (asynchronously)
|
ApiResponse<TagSubscriptionDTO> |
updateUserGroupSubscriptionWithHttpInfo(String workspaceId,
String groupId,
String tagName,
TagSubscriptionDTO body)
Update or create tag subscription of given user group
|
public GroupsApi()
public GroupsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<UserGroupDTO> getGroups(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<UserGroupDTO>> getGroupsWithHttpInfo(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getGroupsAsync(String workspaceId, ApiCallback<List<UserGroupDTO>> callback) throws ApiException
workspaceId
- Workspace idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<TagSubscriptionDTO> getTagSubscriptionsForGroup(String workspaceId, String groupId) throws ApiException
workspaceId
- Workspace idgroupId
- Group idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<TagSubscriptionDTO>> getTagSubscriptionsForGroupWithHttpInfo(String workspaceId, String groupId) throws ApiException
workspaceId
- Workspace idgroupId
- Group idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTagSubscriptionsForGroupAsync(String workspaceId, String groupId, ApiCallback<List<TagSubscriptionDTO>> callback) throws ApiException
workspaceId
- Workspace idgroupId
- Group idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic TagSubscriptionDTO updateUserGroupSubscription(String workspaceId, String groupId, String tagName, TagSubscriptionDTO body) throws ApiException
workspaceId
- Workspace idgroupId
- Group idtagName
- Tag namebody
- Tag subscription to update or createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TagSubscriptionDTO> updateUserGroupSubscriptionWithHttpInfo(String workspaceId, String groupId, String tagName, TagSubscriptionDTO body) throws ApiException
workspaceId
- Workspace idgroupId
- Group idtagName
- Tag namebody
- Tag subscription to update or createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateUserGroupSubscriptionAsync(String workspaceId, String groupId, String tagName, TagSubscriptionDTO body, ApiCallback<TagSubscriptionDTO> callback) throws ApiException
workspaceId
- Workspace idgroupId
- Group idtagName
- Tag namebody
- Tag subscription to update or createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void deleteUserGroupSubscription(String workspaceId, String groupId, String tagName) throws ApiException
workspaceId
- Workspace idgroupId
- Group id idtagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteUserGroupSubscriptionWithHttpInfo(String workspaceId, String groupId, String tagName) throws ApiException
workspaceId
- Workspace idgroupId
- Group id idtagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteUserGroupSubscriptionAsync(String workspaceId, String groupId, String tagName, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idgroupId
- Group id idtagName
- Tag namecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<UserDTO> getUsersInGroup(String workspaceId, String groupId) throws ApiException
workspaceId
- Workspace idgroupId
- Group idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<UserDTO>> getUsersInGroupWithHttpInfo(String workspaceId, String groupId) throws ApiException
workspaceId
- Workspace idgroupId
- Group idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUsersInGroupAsync(String workspaceId, String groupId, ApiCallback<List<UserDTO>> callback) throws ApiException
workspaceId
- Workspace idgroupId
- Group idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.