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

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

        public ApiResponse<ConfidentifyUser> 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<ConfidentifyUser>
        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<ConfidentifyUser> _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