@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-19T21:35:16.459Z[UTC]")
public class RestrictionMosaicRoutesApiImpl
extends java.lang.Object
implements RestrictionMosaicRoutesApi
| Constructor and Description |
|---|
RestrictionMosaicRoutesApiImpl() |
RestrictionMosaicRoutesApiImpl(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
getMosaicRestrictions(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)
Get the mosaic restrictions
Returns the mosaic restrictions for a composite hash.
|
void |
getMosaicRestrictionsMerkle(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
Get the mosaic restrictions merkle
Returns the mosaic restrictions merkle for a given composite hash.
|
void |
searchMosaicRestrictions(java.lang.String mosaicId,
MosaicRestrictionEntryTypeEnum entryType,
java.lang.String targetAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MosaicRestrictionsPage>> resultHandler)
Search mosaic restrictions
Returns an array of mosaic restrictions.
|
void |
setApiClient(ApiClient apiClient) |
public RestrictionMosaicRoutesApiImpl()
public RestrictionMosaicRoutesApiImpl(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void getMosaicRestrictions(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)
getMosaicRestrictions in interface RestrictionMosaicRoutesApicompositeHash - Filter by composite hash. (required)resultHandler - Asynchronous result handlerpublic void getMosaicRestrictionsMerkle(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
getMosaicRestrictionsMerkle in interface RestrictionMosaicRoutesApicompositeHash - Filter by composite hash. (required)resultHandler - Asynchronous result handlerpublic void searchMosaicRestrictions(java.lang.String mosaicId,
MosaicRestrictionEntryTypeEnum entryType,
java.lang.String targetAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MosaicRestrictionsPage>> resultHandler)
searchMosaicRestrictions in interface RestrictionMosaicRoutesApimosaicId - Filter by mosaic identifier. (optional)entryType - Filter by entry type. (optional)targetAddress - Filter by target address. (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