@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-19T21:35:16.459Z[UTC]")
public class RestrictionAccountRoutesApiImpl
extends java.lang.Object
implements RestrictionAccountRoutesApi
| Constructor and Description |
|---|
RestrictionAccountRoutesApiImpl() |
RestrictionAccountRoutesApiImpl(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
getAccountRestrictions(java.lang.String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountRestrictionsInfoDTO>> resultHandler)
Get the account restrictions
Returns the account restrictions for a given address.
|
void |
getAccountRestrictionsMerkle(java.lang.String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
Get the account restrictions merkle
Returns the account restrictions merkle for a given address.
|
ApiClient |
getApiClient() |
void |
searchAccountRestrictions(java.lang.String address,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountRestrictionsPage>> resultHandler)
Search account restrictions
Returns an array of account restrictions.
|
void |
setApiClient(ApiClient apiClient) |
public RestrictionAccountRoutesApiImpl()
public RestrictionAccountRoutesApiImpl(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void getAccountRestrictions(java.lang.String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountRestrictionsInfoDTO>> resultHandler)
getAccountRestrictions in interface RestrictionAccountRoutesApiaddress - Account address. (required)resultHandler - Asynchronous result handlerpublic void getAccountRestrictionsMerkle(java.lang.String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
getAccountRestrictionsMerkle in interface RestrictionAccountRoutesApiaddress - Account address. (required)resultHandler - Asynchronous result handlerpublic void searchAccountRestrictions(java.lang.String address,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountRestrictionsPage>> resultHandler)
searchAccountRestrictions in interface RestrictionAccountRoutesApiaddress - Filter by address involved in the transaction. An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction. This filter cannot be combined with ``recipientAddress`` and ``signerPublicKey`` query params. (optional)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)resultHandler - Asynchronous result handler