Class DsGroupsApi


  • public class DsGroupsApi
    extends Object
    DsGroupsApi class.
    • 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