Class AccountsApi


  • public class AccountsApi
    extends Object
    AccountsApi class.
    • Constructor Detail

      • AccountsApi

        public AccountsApi()
        AccountsApi.
      • AccountsApi

        public AccountsApi​(ApiClient apiClient)
        AccountsApi.
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
        getApiClient Method.
        Returns:
        ApiClient
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
        setApiClient Method.
      • getGroups

        public MemberGroupsResponse getGroups​(UUID organizationId,
                                              UUID accountId)
                                       throws ApiException
        Returns the list of groups in an account.. Required scopes: group_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        Returns:
        MemberGroupsResponse
        Throws:
        ApiException
      • getGroups

        public MemberGroupsResponse getGroups​(UUID organizationId,
                                              UUID accountId,
                                              AccountsApi.GetGroupsOptions options)
                                       throws ApiException
        Returns the list of groups in an account.. Required scopes: group_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        options - for modifying the method behavior.
        Returns:
        MemberGroupsResponse
        Throws:
        ApiException - if fails to make API call
      • getOrganizations

        public OrganizationsResponse getOrganizations()
                                               throws ApiException
        Returns the list of organizations of which the authenticated user is a member.. Required scopes: organization_read
        Returns:
        OrganizationsResponse
        Throws:
        ApiException
      • getPermissions

        public PermissionsResponse getPermissions​(UUID organizationId,
                                                  UUID accountId)
                                           throws ApiException
        Returns the list of permission profiles in an account.. Required scopes: permission_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        Returns:
        PermissionsResponse
        Throws:
        ApiException - if fails to make API call