Class UserApi


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

      • UserApi

        public UserApi()
      • UserApi

        public UserApi​(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
      • confirmEmailCall

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

        public void confirmEmail()
                          throws ApiException
        confirm user email
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • confirmEmailWithHttpInfo

        public ApiResponse<java.lang.Void> confirmEmailWithHttpInfo()
                                                             throws ApiException
        confirm user email
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • confirmEmailAsync

        public okhttp3.Call confirmEmailAsync​(ApiCallback<java.lang.Void> _callback)
                                       throws ApiException
        (asynchronously) confirm user email
        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
      • createUserCall

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

        public void createUser​(User user)
                        throws ApiException
        create a user
        Parameters:
        user - user to create (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createUserWithHttpInfo

        public ApiResponse<java.lang.Void> createUserWithHttpInfo​(User user)
                                                           throws ApiException
        create a user
        Parameters:
        user - user to create (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createUserAsync

        public okhttp3.Call createUserAsync​(User user,
                                            ApiCallback<java.lang.Void> _callback)
                                     throws ApiException
        (asynchronously) create a user
        Parameters:
        user - user 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
      • deleteUserCall

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

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

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

        public okhttp3.Call deleteUserAsync​(java.lang.String username,
                                            ApiCallback<java.lang.Void> _callback)
                                     throws ApiException
        (asynchronously) delete a user
        Parameters:
        username - username 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
      • 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
      • 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
      • getSessionCall

        public okhttp3.Call getSessionCall​(java.lang.String rememberMe,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for getSession
        Parameters:
        rememberMe - flag to create a token with expiration of 30 days, default is false (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getSession

        public Token getSession​(java.lang.String rememberMe)
                         throws ApiException
        Get session token for user
        Parameters:
        rememberMe - flag to create a token with expiration of 30 days, default is false (optional)
        Returns:
        Token
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSessionWithHttpInfo

        public ApiResponse<Token> getSessionWithHttpInfo​(java.lang.String rememberMe)
                                                  throws ApiException
        Get session token for user
        Parameters:
        rememberMe - flag to create a token with expiration of 30 days, default is false (optional)
        Returns:
        ApiResponse<Token>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSessionAsync

        public okhttp3.Call getSessionAsync​(java.lang.String rememberMe,
                                            ApiCallback<Token> _callback)
                                     throws ApiException
        (asynchronously) Get session token for user
        Parameters:
        rememberMe - flag to create a token with expiration of 30 days, default is false (optional)
        _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
      • getTokenScopesCall

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

        public java.util.List<TokenScope> getTokenScopes()
                                                  throws ApiException
        retrieves available token scopes for a user
        Returns:
        List<TokenScope>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTokenScopesWithHttpInfo

        public ApiResponse<java.util.List<TokenScope>> getTokenScopesWithHttpInfo()
                                                                           throws ApiException
        retrieves available token scopes for a user
        Returns:
        ApiResponse<List<TokenScope>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTokenScopesAsync

        public okhttp3.Call getTokenScopesAsync​(ApiCallback<java.util.List<TokenScope>> _callback)
                                         throws ApiException
        (asynchronously) retrieves available token scopes for a user
        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
      • getUserCall

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

        public User getUser()
                     throws ApiException
        get a user
        Returns:
        User
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getUserWithHttpInfo

        public ApiResponse<User> getUserWithHttpInfo()
                                              throws ApiException
        get a user
        Returns:
        ApiResponse<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getUserAsync

        public okhttp3.Call getUserAsync​(ApiCallback<User> _callback)
                                  throws ApiException
        (asynchronously) get a user
        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
      • getUserWithUsernameCall

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

        public User getUserWithUsername​(java.lang.String username)
                                 throws ApiException
        get a user
        Parameters:
        username - username or ID (required)
        Returns:
        User
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getUserWithUsernameWithHttpInfo

        public ApiResponse<User> getUserWithUsernameWithHttpInfo​(java.lang.String username)
                                                          throws ApiException
        get a user
        Parameters:
        username - username or ID (required)
        Returns:
        ApiResponse<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getUserWithUsernameAsync

        public okhttp3.Call getUserWithUsernameAsync​(java.lang.String username,
                                                     ApiCallback<User> _callback)
                                              throws ApiException
        (asynchronously) get a user
        Parameters:
        username - username 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
      • requestTokenCall

        public okhttp3.Call requestTokenCall​(TokenRequest tokenRequest,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for requestToken
        Parameters:
        tokenRequest - token request object (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • requestToken

        public Token requestToken​(TokenRequest tokenRequest)
                           throws ApiException
        Request an authorization token, optionally taken a TokenRequest object to set parameters on the token
        Parameters:
        tokenRequest - token request object (optional)
        Returns:
        Token
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • requestTokenWithHttpInfo

        public ApiResponse<Token> requestTokenWithHttpInfo​(TokenRequest tokenRequest)
                                                    throws ApiException
        Request an authorization token, optionally taken a TokenRequest object to set parameters on the token
        Parameters:
        tokenRequest - token request object (optional)
        Returns:
        ApiResponse<Token>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • requestTokenAsync

        public okhttp3.Call requestTokenAsync​(TokenRequest tokenRequest,
                                              ApiCallback<Token> _callback)
                                       throws ApiException
        (asynchronously) Request an authorization token, optionally taken a TokenRequest object to set parameters on the token
        Parameters:
        tokenRequest - token request object (optional)
        _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
      • resetUserPasswordCall

        public okhttp3.Call resetUserPasswordCall​(ResetUserPasswordRequest user,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for resetUserPassword
        Parameters:
        user - password to update for user requesting update (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • resetUserPassword

        public void resetUserPassword​(ResetUserPasswordRequest user)
                               throws ApiException
        reset user password
        Parameters:
        user - password to update for user requesting update (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • resetUserPasswordWithHttpInfo

        public ApiResponse<java.lang.Void> resetUserPasswordWithHttpInfo​(ResetUserPasswordRequest user)
                                                                  throws ApiException
        reset user password
        Parameters:
        user - password to update for user requesting update (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • resetUserPasswordAsync

        public okhttp3.Call resetUserPasswordAsync​(ResetUserPasswordRequest user,
                                                   ApiCallback<java.lang.Void> _callback)
                                            throws ApiException
        (asynchronously) reset user password
        Parameters:
        user - password to update for user requesting 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
      • revokeTokenCall

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

        public void revokeToken​(java.lang.String token)
                         throws ApiException
        revoke an authorization token
        Parameters:
        token - token name or token itself (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • revokeTokenWithHttpInfo

        public ApiResponse<java.lang.Void> revokeTokenWithHttpInfo​(java.lang.String token)
                                                            throws ApiException
        revoke an authorization token
        Parameters:
        token - token name or token itself (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • revokeTokenAsync

        public okhttp3.Call revokeTokenAsync​(java.lang.String token,
                                             ApiCallback<java.lang.Void> _callback)
                                      throws ApiException
        (asynchronously) revoke an authorization token
        Parameters:
        token - token name or token itself (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
      • tokensGetCall

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

        public java.util.List<Token> tokensGet()
                                        throws ApiException
        Fetch a list of user tokens
        Returns:
        List<Token>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • tokensGetWithHttpInfo

        public ApiResponse<java.util.List<Token>> tokensGetWithHttpInfo()
                                                                 throws ApiException
        Fetch a list of user tokens
        Returns:
        ApiResponse<List<Token>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • tokensGetAsync

        public okhttp3.Call tokensGetAsync​(ApiCallback<java.util.List<Token>> _callback)
                                    throws ApiException
        (asynchronously) Fetch a list of user tokens
        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
      • tokensSessionGetCall

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

        public java.util.List<Token> tokensSessionGet()
                                               throws ApiException
        Fetch a list of user session tokens
        Returns:
        List<Token>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • tokensSessionGetWithHttpInfo

        public ApiResponse<java.util.List<Token>> tokensSessionGetWithHttpInfo()
                                                                        throws ApiException
        Fetch a list of user session tokens
        Returns:
        ApiResponse<List<Token>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • tokensSessionGetAsync

        public okhttp3.Call tokensSessionGetAsync​(ApiCallback<java.util.List<Token>> _callback)
                                           throws ApiException
        (asynchronously) Fetch a list of user session tokens
        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
      • 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
      • updateUserCall

        public okhttp3.Call updateUserCall​(java.lang.String username,
                                           User user,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for updateUser
        Parameters:
        username - username or ID (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
      • updateUser

        public void updateUser​(java.lang.String username,
                               User user)
                        throws ApiException
        update a user
        Parameters:
        username - username or ID (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
      • updateUserWithHttpInfo

        public ApiResponse<java.lang.Void> updateUserWithHttpInfo​(java.lang.String username,
                                                                  User user)
                                                           throws ApiException
        update a user
        Parameters:
        username - username or ID (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
      • updateUserAsync

        public okhttp3.Call updateUserAsync​(java.lang.String username,
                                            User user,
                                            ApiCallback<java.lang.Void> _callback)
                                     throws ApiException
        (asynchronously) update a user
        Parameters:
        username - username or ID (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
      • 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