Class AccountsApi


  • public class AccountsApi
    extends Object
    • Constructor Detail

      • AccountsApi

        public AccountsApi()
      • AccountsApi

        public AccountsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • accountByIdGetCall

        public okhttp3.Call accountByIdGetCall​(String accountId,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for accountByIdGet
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • accountByIdGet

        public ConfidentifyAccountResponse accountByIdGet​(String accountId)
                                                   throws ApiException
        Get account information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        Returns:
        ConfidentifyAccountResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • accountByIdGetWithHttpInfo

        public ApiResponse<ConfidentifyAccountResponse> accountByIdGetWithHttpInfo​(String accountId)
                                                                            throws ApiException
        Get account information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        Returns:
        ApiResponse<ConfidentifyAccountResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • accountByIdGetAsync

        public okhttp3.Call accountByIdGetAsync​(String accountId,
                                                ApiCallback<ConfidentifyAccountResponse> _callback)
                                         throws ApiException
        Get account information (asynchronously)
        Parameters:
        accountId - An account ID or `_` for your own account. (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
      • accountByIdUpdateCall

        public okhttp3.Call accountByIdUpdateCall​(String accountId,
                                                  ConfidentifyAccountUpdateRequest confidentifyAccountUpdateRequest,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for accountByIdUpdate
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        confidentifyAccountUpdateRequest - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • accountByIdUpdate

        public ConfidentifyAccountResponse accountByIdUpdate​(String accountId,
                                                             ConfidentifyAccountUpdateRequest confidentifyAccountUpdateRequest)
                                                      throws ApiException
        Update account information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        confidentifyAccountUpdateRequest - (optional)
        Returns:
        ConfidentifyAccountResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • accountByIdUpdateWithHttpInfo

        public ApiResponse<ConfidentifyAccountResponse> accountByIdUpdateWithHttpInfo​(String accountId,
                                                                                      ConfidentifyAccountUpdateRequest confidentifyAccountUpdateRequest)
                                                                               throws ApiException
        Update account information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        confidentifyAccountUpdateRequest - (optional)
        Returns:
        ApiResponse<ConfidentifyAccountResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • accountByIdUpdateAsync

        public okhttp3.Call accountByIdUpdateAsync​(String accountId,
                                                   ConfidentifyAccountUpdateRequest confidentifyAccountUpdateRequest,
                                                   ApiCallback<ConfidentifyAccountResponse> _callback)
                                            throws ApiException
        Update account information (asynchronously)
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        confidentifyAccountUpdateRequest - (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
      • accountCreateCall

        public okhttp3.Call accountCreateCall​(ConfidentifyAccountCreateRequest confidentifyAccountCreateRequest,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for accountCreate
        Parameters:
        confidentifyAccountCreateRequest - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • accountCreateAsync

        public okhttp3.Call accountCreateAsync​(ConfidentifyAccountCreateRequest confidentifyAccountCreateRequest,
                                               ApiCallback<ConfidentifyAccountResponse> _callback)
                                        throws ApiException
        Create new account (asynchronously)
        Parameters:
        confidentifyAccountCreateRequest - (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
      • userByIdGetCall

        public okhttp3.Call userByIdGetCall​(String accountId,
                                            String username,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for userByIdGet
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • userByIdGet

        public ConfidentifyUserResponse userByIdGet​(String accountId,
                                                    String username)
                                             throws ApiException
        Get user information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        Returns:
        ConfidentifyUserResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userByIdGetWithHttpInfo

        public ApiResponse<ConfidentifyUserResponse> userByIdGetWithHttpInfo​(String accountId,
                                                                             String username)
                                                                      throws ApiException
        Get user information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        Returns:
        ApiResponse<ConfidentifyUserResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userByIdGetAsync

        public okhttp3.Call userByIdGetAsync​(String accountId,
                                             String username,
                                             ApiCallback<ConfidentifyUserResponse> _callback)
                                      throws ApiException
        Get user information (asynchronously)
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (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
      • userByIdUpdateCall

        public okhttp3.Call userByIdUpdateCall​(String accountId,
                                               String username,
                                               ConfidentifyUserUpdateRequest confidentifyUserUpdateRequest,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for userByIdUpdate
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        confidentifyUserUpdateRequest - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • userByIdUpdate

        public ConfidentifyUserResponse userByIdUpdate​(String accountId,
                                                       String username,
                                                       ConfidentifyUserUpdateRequest confidentifyUserUpdateRequest)
                                                throws ApiException
        Update user information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        confidentifyUserUpdateRequest - (optional)
        Returns:
        ConfidentifyUserResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userByIdUpdateWithHttpInfo

        public ApiResponse<ConfidentifyUserResponse> userByIdUpdateWithHttpInfo​(String accountId,
                                                                                String username,
                                                                                ConfidentifyUserUpdateRequest confidentifyUserUpdateRequest)
                                                                         throws ApiException
        Update user information
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        confidentifyUserUpdateRequest - (optional)
        Returns:
        ApiResponse<ConfidentifyUserResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userByIdUpdateAsync

        public okhttp3.Call userByIdUpdateAsync​(String accountId,
                                                String username,
                                                ConfidentifyUserUpdateRequest confidentifyUserUpdateRequest,
                                                ApiCallback<ConfidentifyUserResponse> _callback)
                                         throws ApiException
        Update user information (asynchronously)
        Parameters:
        accountId - An account ID or `_` for your own account. (required)
        username - A username or `_` for your own username. (required)
        confidentifyUserUpdateRequest - (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