@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-19T21:35:16.459Z[UTC]")
public class MosaicRoutesApiImpl
extends java.lang.Object
implements MosaicRoutesApi
| Constructor and Description |
|---|
MosaicRoutesApiImpl() |
MosaicRoutesApiImpl(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
getMosaic(java.lang.String mosaicId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MosaicInfoDTO>> resultHandler)
Get mosaic information
Gets the mosaic definition for a given mosaic identifier.
|
void |
getMosaicMerkle(java.lang.String mosaicId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
Get mosaic merkle information
Gets the mosaic definition merkle for a given mosaic identifier.
|
void |
getMosaics(MosaicIds mosaicIds,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<MosaicInfoDTO>>> resultHandler)
Get mosaics information for an array of mosaics
Gets an array of mosaic definition.
|
void |
searchMosaics(java.lang.String ownerAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MosaicPage>> resultHandler)
Search mosaics
Gets an array of mosaics.
|
void |
setApiClient(ApiClient apiClient) |
public MosaicRoutesApiImpl()
public MosaicRoutesApiImpl(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void getMosaic(java.lang.String mosaicId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MosaicInfoDTO>> resultHandler)
getMosaic in interface MosaicRoutesApimosaicId - Mosaic identifier. (required)resultHandler - Asynchronous result handlerpublic void getMosaicMerkle(java.lang.String mosaicId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
getMosaicMerkle in interface MosaicRoutesApimosaicId - Mosaic identifier. (required)resultHandler - Asynchronous result handlerpublic void getMosaics(MosaicIds mosaicIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<MosaicInfoDTO>>> resultHandler)
getMosaics in interface MosaicRoutesApimosaicIds - (required)resultHandler - Asynchronous result handlerpublic void searchMosaics(java.lang.String ownerAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MosaicPage>> resultHandler)
searchMosaics in interface MosaicRoutesApiownerAddress - Filter by owner 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