Class OrganizationApi


  • public class OrganizationApi
    extends java.lang.Object
    • Constructor Detail

      • OrganizationApi

        public OrganizationApi()
      • OrganizationApi

        public OrganizationApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • addAWSAccessCredentialsCall

        public okhttp3.Call addAWSAccessCredentialsCall​(java.lang.String namespace,
                                                        AWSAccessCredentials awsAccessCredentials,
                                                        ApiCallback _callback)
                                                 throws ApiException
        Build call for addAWSAccessCredentials
        Parameters:
        namespace - namespace (required)
        awsAccessCredentials - aws access credentials to store for a namespace (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • addAWSAccessCredentials

        public void addAWSAccessCredentials​(java.lang.String namespace,
                                            AWSAccessCredentials awsAccessCredentials)
                                     throws ApiException
        Add aws keys
        Parameters:
        namespace - namespace (required)
        awsAccessCredentials - aws access credentials to store for a namespace (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • addAWSAccessCredentialsWithHttpInfo

        public ApiResponse<java.lang.Void> addAWSAccessCredentialsWithHttpInfo​(java.lang.String namespace,
                                                                               AWSAccessCredentials awsAccessCredentials)
                                                                        throws ApiException
        Add aws keys
        Parameters:
        namespace - namespace (required)
        awsAccessCredentials - aws access credentials to store for a namespace (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • addAWSAccessCredentialsAsync

        public okhttp3.Call addAWSAccessCredentialsAsync​(java.lang.String namespace,
                                                         AWSAccessCredentials awsAccessCredentials,
                                                         ApiCallback<java.lang.Void> _callback)
                                                  throws ApiException
        (asynchronously) Add aws keys
        Parameters:
        namespace - namespace (required)
        awsAccessCredentials - aws access credentials to store for a namespace (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • addUserToOrganizationCall

        public okhttp3.Call addUserToOrganizationCall​(java.lang.String organization,
                                                      OrganizationUser user,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for addUserToOrganization
        Parameters:
        organization - organization name (required)
        user - user to add (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • addUserToOrganization

        public void addUserToOrganization​(java.lang.String organization,
                                          OrganizationUser user)
                                   throws ApiException
        add a user to an organization
        Parameters:
        organization - organization name (required)
        user - user to add (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • addUserToOrganizationWithHttpInfo

        public ApiResponse<java.lang.Void> addUserToOrganizationWithHttpInfo​(java.lang.String organization,
                                                                             OrganizationUser user)
                                                                      throws ApiException
        add a user to an organization
        Parameters:
        organization - organization name (required)
        user - user to add (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • addUserToOrganizationAsync

        public okhttp3.Call addUserToOrganizationAsync​(java.lang.String organization,
                                                       OrganizationUser user,
                                                       ApiCallback<java.lang.Void> _callback)
                                                throws ApiException
        (asynchronously) add a user to an organization
        Parameters:
        organization - organization name (required)
        user - user to add (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • checkAWSAccessCredentialsCall

        public okhttp3.Call checkAWSAccessCredentialsCall​(java.lang.String namespace,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for checkAWSAccessCredentials
        Parameters:
        namespace - namespace (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • checkAWSAccessCredentials

        public java.util.List<AWSAccessCredentials> checkAWSAccessCredentials​(java.lang.String namespace)
                                                                       throws ApiException
        Check if aws keys are set
        Parameters:
        namespace - namespace (required)
        Returns:
        List<AWSAccessCredentials>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • checkAWSAccessCredentialsWithHttpInfo

        public ApiResponse<java.util.List<AWSAccessCredentials>> checkAWSAccessCredentialsWithHttpInfo​(java.lang.String namespace)
                                                                                                throws ApiException
        Check if aws keys are set
        Parameters:
        namespace - namespace (required)
        Returns:
        ApiResponse<List<AWSAccessCredentials>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • checkAWSAccessCredentialsAsync

        public okhttp3.Call checkAWSAccessCredentialsAsync​(java.lang.String namespace,
                                                           ApiCallback<java.util.List<AWSAccessCredentials>> _callback)
                                                    throws ApiException
        (asynchronously) Check if aws keys are set
        Parameters:
        namespace - namespace (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • checkAWSAccessCredentialsByNameCall

        public okhttp3.Call checkAWSAccessCredentialsByNameCall​(java.lang.String namespace,
                                                                java.lang.String name,
                                                                ApiCallback _callback)
                                                         throws ApiException
        Build call for checkAWSAccessCredentialsByName
        Parameters:
        namespace - namespace (required)
        name - name (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • checkAWSAccessCredentialsByName

        public AWSAccessCredentials checkAWSAccessCredentialsByName​(java.lang.String namespace,
                                                                    java.lang.String name)
                                                             throws ApiException
        Check if aws keys are set by name
        Parameters:
        namespace - namespace (required)
        name - name (required)
        Returns:
        AWSAccessCredentials
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • checkAWSAccessCredentialsByNameWithHttpInfo

        public ApiResponse<AWSAccessCredentials> checkAWSAccessCredentialsByNameWithHttpInfo​(java.lang.String namespace,
                                                                                             java.lang.String name)
                                                                                      throws ApiException
        Check if aws keys are set by name
        Parameters:
        namespace - namespace (required)
        name - name (required)
        Returns:
        ApiResponse<AWSAccessCredentials>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • checkAWSAccessCredentialsByNameAsync

        public okhttp3.Call checkAWSAccessCredentialsByNameAsync​(java.lang.String namespace,
                                                                 java.lang.String name,
                                                                 ApiCallback<AWSAccessCredentials> _callback)
                                                          throws ApiException
        (asynchronously) Check if aws keys are set by name
        Parameters:
        namespace - namespace (required)
        name - name (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • checkSSODomainCall

        public okhttp3.Call checkSSODomainCall​(java.lang.String organization,
                                               java.lang.String uuid,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for checkSSODomain
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • checkSSODomain

        public DomainCheckResult checkSSODomain​(java.lang.String organization,
                                                java.lang.String uuid)
                                         throws ApiException
        Immediately verify ownership of the specified SSO domain ownership claim.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        Returns:
        DomainCheckResult
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • checkSSODomainWithHttpInfo

        public ApiResponse<DomainCheckResult> checkSSODomainWithHttpInfo​(java.lang.String organization,
                                                                         java.lang.String uuid)
                                                                  throws ApiException
        Immediately verify ownership of the specified SSO domain ownership claim.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        Returns:
        ApiResponse<DomainCheckResult>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • checkSSODomainAsync

        public okhttp3.Call checkSSODomainAsync​(java.lang.String organization,
                                                java.lang.String uuid,
                                                ApiCallback<DomainCheckResult> _callback)
                                         throws ApiException
        (asynchronously) Immediately verify ownership of the specified SSO domain ownership claim.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • createOrganizationCall

        public okhttp3.Call createOrganizationCall​(Organization organization,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for createOrganization
        Parameters:
        organization - organization to create (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createOrganization

        public void createOrganization​(Organization organization)
                                throws ApiException
        create a organization, the user creating will be listed as owner
        Parameters:
        organization - organization to create (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createOrganizationWithHttpInfo

        public ApiResponse<java.lang.Void> createOrganizationWithHttpInfo​(Organization organization)
                                                                   throws ApiException
        create a organization, the user creating will be listed as owner
        Parameters:
        organization - organization to create (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createOrganizationAsync

        public okhttp3.Call createOrganizationAsync​(Organization organization,
                                                    ApiCallback<java.lang.Void> _callback)
                                             throws ApiException
        (asynchronously) create a organization, the user creating will be listed as owner
        Parameters:
        organization - organization to create (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • createSSODomainCall

        public okhttp3.Call createSSODomainCall​(java.lang.String organization,
                                                SSODomainConfig config,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for createSSODomain
        Parameters:
        organization - organization name (required)
        config - The SSO connection to create. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createSSODomain

        public SSODomainConfig createSSODomain​(java.lang.String organization,
                                               SSODomainConfig config)
                                        throws ApiException
        Create a new SSO connection that connects this organization to this domain.
        Parameters:
        organization - organization name (required)
        config - The SSO connection to create. (required)
        Returns:
        SSODomainConfig
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createSSODomainWithHttpInfo

        public ApiResponse<SSODomainConfig> createSSODomainWithHttpInfo​(java.lang.String organization,
                                                                        SSODomainConfig config)
                                                                 throws ApiException
        Create a new SSO connection that connects this organization to this domain.
        Parameters:
        organization - organization name (required)
        config - The SSO connection to create. (required)
        Returns:
        ApiResponse<SSODomainConfig>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createSSODomainAsync

        public okhttp3.Call createSSODomainAsync​(java.lang.String organization,
                                                 SSODomainConfig config,
                                                 ApiCallback<SSODomainConfig> _callback)
                                          throws ApiException
        (asynchronously) Create a new SSO connection that connects this organization to this domain.
        Parameters:
        organization - organization name (required)
        config - The SSO connection to create. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • deleteAWSAccessCredentialsCall

        public okhttp3.Call deleteAWSAccessCredentialsCall​(java.lang.String namespace,
                                                           java.lang.String name,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for deleteAWSAccessCredentials
        Parameters:
        namespace - namespace (required)
        name - name (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteAWSAccessCredentials

        public void deleteAWSAccessCredentials​(java.lang.String namespace,
                                               java.lang.String name)
                                        throws ApiException
        delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable
        Parameters:
        namespace - namespace (required)
        name - name (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteAWSAccessCredentialsWithHttpInfo

        public ApiResponse<java.lang.Void> deleteAWSAccessCredentialsWithHttpInfo​(java.lang.String namespace,
                                                                                  java.lang.String name)
                                                                           throws ApiException
        delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable
        Parameters:
        namespace - namespace (required)
        name - name (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteAWSAccessCredentialsAsync

        public okhttp3.Call deleteAWSAccessCredentialsAsync​(java.lang.String namespace,
                                                            java.lang.String name,
                                                            ApiCallback<java.lang.Void> _callback)
                                                     throws ApiException
        (asynchronously) delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable
        Parameters:
        namespace - namespace (required)
        name - name (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • deleteOrganizationCall

        public okhttp3.Call deleteOrganizationCall​(java.lang.String organization,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for deleteOrganization
        Parameters:
        organization - organization name or ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteOrganization

        public void deleteOrganization​(java.lang.String organization)
                                throws ApiException
        delete a organization
        Parameters:
        organization - organization name or ID (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteOrganizationWithHttpInfo

        public ApiResponse<java.lang.Void> deleteOrganizationWithHttpInfo​(java.lang.String organization)
                                                                   throws ApiException
        delete a organization
        Parameters:
        organization - organization name or ID (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteOrganizationAsync

        public okhttp3.Call deleteOrganizationAsync​(java.lang.String organization,
                                                    ApiCallback<java.lang.Void> _callback)
                                             throws ApiException
        (asynchronously) delete a organization
        Parameters:
        organization - organization name or ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • deleteSSODomainCall

        public okhttp3.Call deleteSSODomainCall​(java.lang.String organization,
                                                java.lang.String uuid,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for deleteSSODomain
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteSSODomain

        public void deleteSSODomain​(java.lang.String organization,
                                    java.lang.String uuid)
                             throws ApiException
        Deletes the configuration for the given SSO connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteSSODomainWithHttpInfo

        public ApiResponse<java.lang.Void> deleteSSODomainWithHttpInfo​(java.lang.String organization,
                                                                       java.lang.String uuid)
                                                                throws ApiException
        Deletes the configuration for the given SSO connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteSSODomainAsync

        public okhttp3.Call deleteSSODomainAsync​(java.lang.String organization,
                                                 java.lang.String uuid,
                                                 ApiCallback<java.lang.Void> _callback)
                                          throws ApiException
        (asynchronously) Deletes the configuration for the given SSO connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • deleteUserFromOrganizationCall

        public okhttp3.Call deleteUserFromOrganizationCall​(java.lang.String organization,
                                                           java.lang.String username,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for deleteUserFromOrganization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteUserFromOrganization

        public void deleteUserFromOrganization​(java.lang.String organization,
                                               java.lang.String username)
                                        throws ApiException
        delete a user from an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteUserFromOrganizationWithHttpInfo

        public ApiResponse<java.lang.Void> deleteUserFromOrganizationWithHttpInfo​(java.lang.String organization,
                                                                                  java.lang.String username)
                                                                           throws ApiException
        delete a user from an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteUserFromOrganizationAsync

        public okhttp3.Call deleteUserFromOrganizationAsync​(java.lang.String organization,
                                                            java.lang.String username,
                                                            ApiCallback<java.lang.Void> _callback)
                                                     throws ApiException
        (asynchronously) delete a user from an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getAllOrganizationsCall

        public okhttp3.Call getAllOrganizationsCall​(ApiCallback _callback)
                                             throws ApiException
        Build call for getAllOrganizations
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getAllOrganizations

        public java.util.List<Organization> getAllOrganizations()
                                                         throws ApiException
        get all organizations that the user is member of
        Returns:
        List<Organization>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllOrganizationsWithHttpInfo

        public ApiResponse<java.util.List<Organization>> getAllOrganizationsWithHttpInfo()
                                                                                  throws ApiException
        get all organizations that the user is member of
        Returns:
        ApiResponse<List<Organization>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllOrganizationsAsync

        public okhttp3.Call getAllOrganizationsAsync​(ApiCallback<java.util.List<Organization>> _callback)
                                              throws ApiException
        (asynchronously) get all organizations that the user is member of
        Parameters:
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getOrganizationCall

        public okhttp3.Call getOrganizationCall​(java.lang.String organization,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for getOrganization
        Parameters:
        organization - organization name or ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getOrganization

        public Organization getOrganization​(java.lang.String organization)
                                     throws ApiException
        get a organization
        Parameters:
        organization - organization name or ID (required)
        Returns:
        Organization
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getOrganizationWithHttpInfo

        public ApiResponse<Organization> getOrganizationWithHttpInfo​(java.lang.String organization)
                                                              throws ApiException
        get a organization
        Parameters:
        organization - organization name or ID (required)
        Returns:
        ApiResponse<Organization>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getOrganizationAsync

        public okhttp3.Call getOrganizationAsync​(java.lang.String organization,
                                                 ApiCallback<Organization> _callback)
                                          throws ApiException
        (asynchronously) get a organization
        Parameters:
        organization - organization name or ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getOrganizationUserCall

        public okhttp3.Call getOrganizationUserCall​(java.lang.String organization,
                                                    java.lang.String username,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for getOrganizationUser
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getOrganizationUser

        public OrganizationUser getOrganizationUser​(java.lang.String organization,
                                                    java.lang.String username)
                                             throws ApiException
        get a user from an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        Returns:
        OrganizationUser
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getOrganizationUserWithHttpInfo

        public ApiResponse<OrganizationUser> getOrganizationUserWithHttpInfo​(java.lang.String organization,
                                                                             java.lang.String username)
                                                                      throws ApiException
        get a user from an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        Returns:
        ApiResponse<OrganizationUser>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getOrganizationUserAsync

        public okhttp3.Call getOrganizationUserAsync​(java.lang.String organization,
                                                     java.lang.String username,
                                                     ApiCallback<OrganizationUser> _callback)
                                              throws ApiException
        (asynchronously) get a user from an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getSSODomainCall

        public okhttp3.Call getSSODomainCall​(java.lang.String organization,
                                             java.lang.String uuid,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for getSSODomain
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getSSODomain

        public SSODomainConfig getSSODomain​(java.lang.String organization,
                                            java.lang.String uuid)
                                     throws ApiException
        Gets details about the given SSO domain connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        Returns:
        SSODomainConfig
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSSODomainWithHttpInfo

        public ApiResponse<SSODomainConfig> getSSODomainWithHttpInfo​(java.lang.String organization,
                                                                     java.lang.String uuid)
                                                              throws ApiException
        Gets details about the given SSO domain connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        Returns:
        ApiResponse<SSODomainConfig>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSSODomainAsync

        public okhttp3.Call getSSODomainAsync​(java.lang.String organization,
                                              java.lang.String uuid,
                                              ApiCallback<SSODomainConfig> _callback)
                                       throws ApiException
        (asynchronously) Gets details about the given SSO domain connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getSSODomainsCall

        public okhttp3.Call getSSODomainsCall​(java.lang.String organization,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for getSSODomains
        Parameters:
        organization - organization name (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getSSODomains

        public SSODomainConfigResponse getSSODomains​(java.lang.String organization)
                                              throws ApiException
        Lists all the SSO connections associated with the given organization.
        Parameters:
        organization - organization name (required)
        Returns:
        SSODomainConfigResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSSODomainsWithHttpInfo

        public ApiResponse<SSODomainConfigResponse> getSSODomainsWithHttpInfo​(java.lang.String organization)
                                                                       throws ApiException
        Lists all the SSO connections associated with the given organization.
        Parameters:
        organization - organization name (required)
        Returns:
        ApiResponse<SSODomainConfigResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSSODomainsAsync

        public okhttp3.Call getSSODomainsAsync​(java.lang.String organization,
                                               ApiCallback<SSODomainConfigResponse> _callback)
                                        throws ApiException
        (asynchronously) Lists all the SSO connections associated with the given organization.
        Parameters:
        organization - organization name (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateAWSAccessCredentialsCall

        public okhttp3.Call updateAWSAccessCredentialsCall​(java.lang.String namespace,
                                                           java.lang.String name,
                                                           AWSAccessCredentials awsAccessCredentials,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for updateAWSAccessCredentials
        Parameters:
        namespace - namespace (required)
        name - name (required)
        awsAccessCredentials - aws credentials to update (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateAWSAccessCredentials

        public void updateAWSAccessCredentials​(java.lang.String namespace,
                                               java.lang.String name,
                                               AWSAccessCredentials awsAccessCredentials)
                                        throws ApiException
        Update aws keys or associated buckets. This will update the key associations for each array in the namespace
        Parameters:
        namespace - namespace (required)
        name - name (required)
        awsAccessCredentials - aws credentials to update (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateAWSAccessCredentialsWithHttpInfo

        public ApiResponse<java.lang.Void> updateAWSAccessCredentialsWithHttpInfo​(java.lang.String namespace,
                                                                                  java.lang.String name,
                                                                                  AWSAccessCredentials awsAccessCredentials)
                                                                           throws ApiException
        Update aws keys or associated buckets. This will update the key associations for each array in the namespace
        Parameters:
        namespace - namespace (required)
        name - name (required)
        awsAccessCredentials - aws credentials to update (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateAWSAccessCredentialsAsync

        public okhttp3.Call updateAWSAccessCredentialsAsync​(java.lang.String namespace,
                                                            java.lang.String name,
                                                            AWSAccessCredentials awsAccessCredentials,
                                                            ApiCallback<java.lang.Void> _callback)
                                                     throws ApiException
        (asynchronously) Update aws keys or associated buckets. This will update the key associations for each array in the namespace
        Parameters:
        namespace - namespace (required)
        name - name (required)
        awsAccessCredentials - aws credentials to update (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateOrganizationCall

        public okhttp3.Call updateOrganizationCall​(java.lang.String organization,
                                                   Organization organizationDetails,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for updateOrganization
        Parameters:
        organization - organization name or ID (required)
        organizationDetails - organization details to update (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateOrganization

        public void updateOrganization​(java.lang.String organization,
                                       Organization organizationDetails)
                                throws ApiException
        update a organization
        Parameters:
        organization - organization name or ID (required)
        organizationDetails - organization details to update (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateOrganizationWithHttpInfo

        public ApiResponse<java.lang.Void> updateOrganizationWithHttpInfo​(java.lang.String organization,
                                                                          Organization organizationDetails)
                                                                   throws ApiException
        update a organization
        Parameters:
        organization - organization name or ID (required)
        organizationDetails - organization details to update (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateOrganizationAsync

        public okhttp3.Call updateOrganizationAsync​(java.lang.String organization,
                                                    Organization organizationDetails,
                                                    ApiCallback<java.lang.Void> _callback)
                                             throws ApiException
        (asynchronously) update a organization
        Parameters:
        organization - organization name or ID (required)
        organizationDetails - organization details to update (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateSSODomainCall

        public okhttp3.Call updateSSODomainCall​(java.lang.String organization,
                                                java.lang.String uuid,
                                                SSODomainConfig config,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for updateSSODomain
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        config - The changes to make to the configuration. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateSSODomain

        public SSODomainConfig updateSSODomain​(java.lang.String organization,
                                               java.lang.String uuid,
                                               SSODomainConfig config)
                                        throws ApiException
        Updates the configuration for the given SSO connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        config - The changes to make to the configuration. (required)
        Returns:
        SSODomainConfig
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateSSODomainWithHttpInfo

        public ApiResponse<SSODomainConfig> updateSSODomainWithHttpInfo​(java.lang.String organization,
                                                                        java.lang.String uuid,
                                                                        SSODomainConfig config)
                                                                 throws ApiException
        Updates the configuration for the given SSO connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        config - The changes to make to the configuration. (required)
        Returns:
        ApiResponse<SSODomainConfig>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateSSODomainAsync

        public okhttp3.Call updateSSODomainAsync​(java.lang.String organization,
                                                 java.lang.String uuid,
                                                 SSODomainConfig config,
                                                 ApiCallback<SSODomainConfig> _callback)
                                          throws ApiException
        (asynchronously) Updates the configuration for the given SSO connection.
        Parameters:
        organization - organization name (required)
        uuid - configuration ID (required)
        config - The changes to make to the configuration. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateUserInOrganizationCall

        public okhttp3.Call updateUserInOrganizationCall​(java.lang.String organization,
                                                         java.lang.String username,
                                                         OrganizationUser user,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for updateUserInOrganization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        user - user details to update (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateUserInOrganization

        public void updateUserInOrganization​(java.lang.String organization,
                                             java.lang.String username,
                                             OrganizationUser user)
                                      throws ApiException
        update a user in an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        user - user details to update (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateUserInOrganizationWithHttpInfo

        public ApiResponse<java.lang.Void> updateUserInOrganizationWithHttpInfo​(java.lang.String organization,
                                                                                java.lang.String username,
                                                                                OrganizationUser user)
                                                                         throws ApiException
        update a user in an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        user - user details to update (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateUserInOrganizationAsync

        public okhttp3.Call updateUserInOrganizationAsync​(java.lang.String organization,
                                                          java.lang.String username,
                                                          OrganizationUser user,
                                                          ApiCallback<java.lang.Void> _callback)
                                                   throws ApiException
        (asynchronously) update a user in an organization
        Parameters:
        organization - organization name (required)
        username - username to manipulate (required)
        user - user details to update (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object