public class AccountsApi extends Object
| Constructor and Description |
|---|
AccountsApi() |
AccountsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AccountDTO |
createAccount(AccountDTO body)
Create a new account
|
com.squareup.okhttp.Call |
createAccountAsync(AccountDTO body,
ApiCallback<AccountDTO> callback)
Create a new account (asynchronously)
|
ApiResponse<AccountDTO> |
createAccountWithHttpInfo(AccountDTO body)
Create a new account
|
void |
deleteGCMAccount()
Update GCM account for authenticated user
|
com.squareup.okhttp.Call |
deleteGCMAccountAsync(ApiCallback<Void> callback)
Update GCM account for authenticated user (asynchronously)
|
ApiResponse<Void> |
deleteGCMAccountWithHttpInfo()
Update GCM account for authenticated user
|
AccountDTO |
getAccount()
Get authenticated user's account
|
com.squareup.okhttp.Call |
getAccountAsync(ApiCallback<AccountDTO> callback)
Get authenticated user's account (asynchronously)
|
ApiResponse<AccountDTO> |
getAccountWithHttpInfo()
Get authenticated user's account
|
ApiClient |
getApiClient() |
List<WorkspaceDTO> |
getWorkspaces()
Get workspaces where authenticated user is active
|
com.squareup.okhttp.Call |
getWorkspacesAsync(ApiCallback<List<WorkspaceDTO>> callback)
Get workspaces where authenticated user is active (asynchronously)
|
ApiResponse<List<WorkspaceDTO>> |
getWorkspacesWithHttpInfo()
Get workspaces where authenticated user is active
|
void |
setApiClient(ApiClient apiClient) |
void |
setGCMAccount(GCMAccountDTO body)
Update GCM account for authenticated user
|
com.squareup.okhttp.Call |
setGCMAccountAsync(GCMAccountDTO body,
ApiCallback<Void> callback)
Update GCM account for authenticated user (asynchronously)
|
ApiResponse<Void> |
setGCMAccountWithHttpInfo(GCMAccountDTO body)
Update GCM account for authenticated user
|
AccountDTO |
updateAccount(AccountDTO body)
Update user's account
|
com.squareup.okhttp.Call |
updateAccountAsync(AccountDTO body,
ApiCallback<AccountDTO> callback)
Update user's account (asynchronously)
|
ApiResponse<AccountDTO> |
updateAccountWithHttpInfo(AccountDTO body)
Update user's account
|
public AccountsApi()
public AccountsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AccountDTO createAccount(AccountDTO body) throws ApiException
body - Account to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountDTO> createAccountWithHttpInfo(AccountDTO body) throws ApiException
body - Account to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAccountAsync(AccountDTO body, ApiCallback<AccountDTO> callback) throws ApiException
body - Account to createcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void setGCMAccount(GCMAccountDTO body) throws ApiException
body - GCM account to setApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> setGCMAccountWithHttpInfo(GCMAccountDTO body) throws ApiException
body - GCM account to setApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call setGCMAccountAsync(GCMAccountDTO body, ApiCallback<Void> callback) throws ApiException
body - GCM account to setcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void deleteGCMAccount()
throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteGCMAccountWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteGCMAccountAsync(ApiCallback<Void> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic AccountDTO getAccount() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountDTO> getAccountWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAccountAsync(ApiCallback<AccountDTO> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic AccountDTO updateAccount(AccountDTO body) throws ApiException
body - Updated accountApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountDTO> updateAccountWithHttpInfo(AccountDTO body) throws ApiException
body - Updated accountApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAccountAsync(AccountDTO body, ApiCallback<AccountDTO> callback) throws ApiException
body - Updated accountcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic List<WorkspaceDTO> getWorkspaces() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<WorkspaceDTO>> getWorkspacesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWorkspacesAsync(ApiCallback<List<WorkspaceDTO>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.