@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-19T21:35:16.459Z[UTC]")
public class RestrictionAccountRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionAccountRoutesApi(RestrictionAccountRoutesApi delegate) |
| 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.
|
RestrictionAccountRoutesApi |
getDelegate() |
static RestrictionAccountRoutesApi |
newInstance(RestrictionAccountRoutesApi arg) |
rx.Single<AccountRestrictionsInfoDTO> |
rxGetAccountRestrictions(java.lang.String address)
Get the account restrictions
Returns the account restrictions for a given address.
|
rx.Single<MerkleStateInfoDTO> |
rxGetAccountRestrictionsMerkle(java.lang.String address)
Get the account restrictions merkle
Returns the account restrictions merkle for a given address.
|
rx.Single<AccountRestrictionsPage> |
rxSearchAccountRestrictions(java.lang.String address,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search account restrictions
Returns an array of account restrictions.
|
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.
|
public RestrictionAccountRoutesApi(RestrictionAccountRoutesApi delegate)
public RestrictionAccountRoutesApi getDelegate()
public void getAccountRestrictions(java.lang.String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountRestrictionsInfoDTO>> resultHandler)
address - Account address. (required)resultHandler - Asynchronous result handlerpublic rx.Single<AccountRestrictionsInfoDTO> rxGetAccountRestrictions(java.lang.String address)
address - Account address. (required)public void getAccountRestrictionsMerkle(java.lang.String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
address - Account address. (required)resultHandler - Asynchronous result handlerpublic rx.Single<MerkleStateInfoDTO> rxGetAccountRestrictionsMerkle(java.lang.String address)
address - Account address. (required)public 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)
address - 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 handlerpublic rx.Single<AccountRestrictionsPage> rxSearchAccountRestrictions(java.lang.String address, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order)
address - 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)public static RestrictionAccountRoutesApi newInstance(RestrictionAccountRoutesApi arg)