@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-01-14T22:22:10.865Z[UTC]")
public class AccountRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
AccountRoutesApi() |
AccountRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AccountInfoDTO |
getAccountInfo(java.lang.String accountId)
Get account information
Returns the account information.
|
MerkleStateInfoDTO |
getAccountInfoMerkle(java.lang.String accountId)
Get account merkle information
Returns the account merkle information.
|
ApiResponse<MerkleStateInfoDTO> |
getAccountInfoMerkleWithHttpInfo(java.lang.String accountId)
Get account merkle information
Returns the account merkle information.
|
ApiResponse<AccountInfoDTO> |
getAccountInfoWithHttpInfo(java.lang.String accountId)
Get account information
Returns the account information.
|
java.util.List<AccountInfoDTO> |
getAccountsInfo(AccountIds accountIds)
Get accounts information
Returns the account information for an array of accounts.
|
ApiResponse<java.util.List<AccountInfoDTO>> |
getAccountsInfoWithHttpInfo(AccountIds accountIds)
Get accounts information
Returns the account information for an array of accounts.
|
ApiClient |
getApiClient() |
AccountPage |
searchAccounts(java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
AccountOrderByEnum orderBy,
java.lang.String mosaicId)
Search accounts
Gets an array of accounts.
|
ApiResponse<AccountPage> |
searchAccountsWithHttpInfo(java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
AccountOrderByEnum orderBy,
java.lang.String mosaicId)
Search accounts
Gets an array of accounts.
|
void |
setApiClient(ApiClient apiClient) |
public AccountRoutesApi()
public AccountRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AccountInfoDTO getAccountInfo(java.lang.String accountId) throws ApiException
accountId - Account public key or address encoded using a 32-character set. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<AccountInfoDTO> getAccountInfoWithHttpInfo(java.lang.String accountId) throws ApiException
accountId - Account public key or address encoded using a 32-character set. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MerkleStateInfoDTO getAccountInfoMerkle(java.lang.String accountId) throws ApiException
accountId - Account public key or address encoded using a 32-character set. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MerkleStateInfoDTO> getAccountInfoMerkleWithHttpInfo(java.lang.String accountId) throws ApiException
accountId - Account public key or address encoded using a 32-character set. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public java.util.List<AccountInfoDTO> getAccountsInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<AccountInfoDTO>> getAccountsInfoWithHttpInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public AccountPage searchAccounts(java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order, AccountOrderByEnum orderBy, java.lang.String mosaicId) throws ApiException
pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)orderBy - Sort responses by the property set. If ``balance`` option is selected, the request must define the ``mosaicId`` filter. (optional)mosaicId - Filter by mosaic identifier. (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public ApiResponse<AccountPage> searchAccountsWithHttpInfo(java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order, AccountOrderByEnum orderBy, java.lang.String mosaicId) throws ApiException
pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)orderBy - Sort responses by the property set. If ``balance`` option is selected, the request must define the ``mosaicId`` filter. (optional)mosaicId - Filter by mosaic identifier. (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |