Package com.docusign.admin.api
Class DsGroupsApi
- java.lang.Object
-
- com.docusign.admin.api.DsGroupsApi
-
public class DsGroupsApi extends Object
DsGroupsApi class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDsGroupsApi.GetDSGroupsOptionsGetDSGroupsOptions Class.classDsGroupsApi.GetDSGroupUsersOptionsGetDSGroupUsersOptions Class.
-
Constructor Summary
Constructors Constructor Description DsGroupsApi()DsGroupsApi.DsGroupsApi(ApiClient apiClient)DsGroupsApi.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DSGroupResponseaddDSGroup(UUID organizationId, UUID accountId, DSGroupAddRequest addRequest)Add a new DSGroup.AddDSGroupAndUsersResponseaddDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersAddRequest dSGroupUsersAddRequest)Add list of users to a DSGroup.ApiResponse<AddDSGroupAndUsersResponse>addDSGroupUsersWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersAddRequest dSGroupUsersAddRequest)Add list of users to a DSGroup Required scopes: user_writeApiResponse<DSGroupResponse>addDSGroupWithHttpInfo(UUID organizationId, UUID accountId, DSGroupAddRequest addRequest)Add a new DSGroup Required scopes: user_writevoiddeleteDSGroup(UUID organizationId, UUID accountId, UUID dsGroupId)Delete a DSGroup.ApiResponse<Object>deleteDSGroupWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId)Delete a DSGroup Required scopes: user_writeApiClientgetApiClient()getApiClient Method.DSGroupResponsegetDSGroup(UUID organizationId, UUID accountId, UUID dsGroupId)Get list of DSGroup.DSGroupListResponsegetDSGroups(UUID organizationId, UUID accountId)Get list of DSGroups.DSGroupListResponsegetDSGroups(UUID organizationId, UUID accountId, DsGroupsApi.GetDSGroupsOptions options)Get list of DSGroups.ApiResponse<DSGroupListResponse>getDSGroupsWithHttpInfo(UUID organizationId, UUID accountId, DsGroupsApi.GetDSGroupsOptions options)Get list of DSGroups Required scopes: user_readDSGroupAndUsersResponsegetDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId)Get list of users in a DSGroup.DSGroupAndUsersResponsegetDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId, DsGroupsApi.GetDSGroupUsersOptions options)Get list of users in a DSGroup.ApiResponse<DSGroupAndUsersResponse>getDSGroupUsersWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId, DsGroupsApi.GetDSGroupUsersOptions options)Get list of users in a DSGroup Required scopes: user_readApiResponse<DSGroupResponse>getDSGroupWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId)Get list of DSGroup Required scopes: user_readRemoveDSGroupUsersResponseremoveDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersRemoveRequest dSGroupUsersRemoveRequest)Remove users from a DSGroup.ApiResponse<RemoveDSGroupUsersResponse>removeDSGroupUsersWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersRemoveRequest dSGroupUsersRemoveRequest)Remove users from a DSGroup Required scopes: user_writevoidsetApiClient(ApiClient apiClient)setApiClient Method.
-
-
-
Constructor Detail
-
DsGroupsApi
public DsGroupsApi()
DsGroupsApi.
-
DsGroupsApi
public DsGroupsApi(ApiClient apiClient)
DsGroupsApi.
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
getApiClient Method.- Returns:
- ApiClient
-
setApiClient
public void setApiClient(ApiClient apiClient)
setApiClient Method.
-
addDSGroup
public DSGroupResponse addDSGroup(UUID organizationId, UUID accountId, DSGroupAddRequest addRequest) throws ApiException
Add a new DSGroup. Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)addRequest- Add DSGroup request object (required)- Returns:
- DSGroupResponse
- Throws:
ApiException- if fails to make API call
-
addDSGroupWithHttpInfo
public ApiResponse<DSGroupResponse> addDSGroupWithHttpInfo(UUID organizationId, UUID accountId, DSGroupAddRequest addRequest) throws ApiException
Add a new DSGroup Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)addRequest- Add DSGroup request object (required)- Returns:
- DSGroupResponse
- Throws:
ApiException- if fails to make API call
-
addDSGroupUsers
public AddDSGroupAndUsersResponse addDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersAddRequest dSGroupUsersAddRequest) throws ApiException
Add list of users to a DSGroup. Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)dSGroupUsersAddRequest- Add DSGroup users request object (required)- Returns:
- AddDSGroupAndUsersResponse
- Throws:
ApiException- if fails to make API call
-
addDSGroupUsersWithHttpInfo
public ApiResponse<AddDSGroupAndUsersResponse> addDSGroupUsersWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersAddRequest dSGroupUsersAddRequest) throws ApiException
Add list of users to a DSGroup Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)dSGroupUsersAddRequest- Add DSGroup users request object (required)- Returns:
- AddDSGroupAndUsersResponse
- Throws:
ApiException- if fails to make API call
-
deleteDSGroup
public void deleteDSGroup(UUID organizationId, UUID accountId, UUID dsGroupId) throws ApiException
Delete a DSGroup. Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)- Throws:
ApiException- if fails to make API call
-
deleteDSGroupWithHttpInfo
public ApiResponse<Object> deleteDSGroupWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId) throws ApiException
Delete a DSGroup Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)- Throws:
ApiException- if fails to make API call
-
getDSGroup
public DSGroupResponse getDSGroup(UUID organizationId, UUID accountId, UUID dsGroupId) throws ApiException
Get list of DSGroup. Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The dsGroup ID GUID (required)- Returns:
- DSGroupResponse
- Throws:
ApiException- if fails to make API call
-
getDSGroupWithHttpInfo
public ApiResponse<DSGroupResponse> getDSGroupWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId) throws ApiException
Get list of DSGroup Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The dsGroup ID GUID (required)- Returns:
- DSGroupResponse
- Throws:
ApiException- if fails to make API call
-
getDSGroupUsers
public DSGroupAndUsersResponse getDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId) throws ApiException
Get list of users in a DSGroup. Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)- Returns:
- DSGroupAndUsersResponse
- Throws:
ApiException
-
getDSGroupUsers
public DSGroupAndUsersResponse getDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId, DsGroupsApi.GetDSGroupUsersOptions options) throws ApiException
Get list of users in a DSGroup. Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)options- for modifying the method behavior.- Returns:
- DSGroupAndUsersResponse
- Throws:
ApiException- if fails to make API call
-
getDSGroupUsersWithHttpInfo
public ApiResponse<DSGroupAndUsersResponse> getDSGroupUsersWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId, DsGroupsApi.GetDSGroupUsersOptions options) throws ApiException
Get list of users in a DSGroup Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)options- for modifying the method behavior.- Returns:
- DSGroupAndUsersResponse
- Throws:
ApiException- if fails to make API call
-
getDSGroups
public DSGroupListResponse getDSGroups(UUID organizationId, UUID accountId) throws ApiException
Get list of DSGroups. Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)- Returns:
- DSGroupListResponse
- Throws:
ApiException
-
getDSGroups
public DSGroupListResponse getDSGroups(UUID organizationId, UUID accountId, DsGroupsApi.GetDSGroupsOptions options) throws ApiException
Get list of DSGroups. Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)options- for modifying the method behavior.- Returns:
- DSGroupListResponse
- Throws:
ApiException- if fails to make API call
-
getDSGroupsWithHttpInfo
public ApiResponse<DSGroupListResponse> getDSGroupsWithHttpInfo(UUID organizationId, UUID accountId, DsGroupsApi.GetDSGroupsOptions options) throws ApiException
Get list of DSGroups Required scopes: user_read- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)options- for modifying the method behavior.- Returns:
- DSGroupListResponse
- Throws:
ApiException- if fails to make API call
-
removeDSGroupUsers
public RemoveDSGroupUsersResponse removeDSGroupUsers(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersRemoveRequest dSGroupUsersRemoveRequest) throws ApiException
Remove users from a DSGroup. Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)dSGroupUsersRemoveRequest- Remove DSGroup users request object (required)- Returns:
- RemoveDSGroupUsersResponse
- Throws:
ApiException- if fails to make API call
-
removeDSGroupUsersWithHttpInfo
public ApiResponse<RemoveDSGroupUsersResponse> removeDSGroupUsersWithHttpInfo(UUID organizationId, UUID accountId, UUID dsGroupId, DSGroupUsersRemoveRequest dSGroupUsersRemoveRequest) throws ApiException
Remove users from a DSGroup Required scopes: user_write- Parameters:
organizationId- The organization ID GUID (required)accountId- The account ID GUID (required)dsGroupId- The DSGroup ID GUID (required)dSGroupUsersRemoveRequest- Remove DSGroup users request object (required)- Returns:
- RemoveDSGroupUsersResponse
- Throws:
ApiException- if fails to make API call
-
-