@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-01-14T22:22:33.231Z[UTC]")
public class MetadataRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
MetadataRoutesApi(MetadataRoutesApi delegate) |
| Modifier and Type | Method and Description |
|---|---|
MetadataRoutesApi |
getDelegate() |
void |
getMetadata(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MetadataInfoDTO>> resultHandler)
Get metadata information
Gets the metadata for a given composite hash.
|
void |
getMetadataMerkle(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
Get metadata merkle information
Gets the metadata merkle for a given composite hash.
|
static MetadataRoutesApi |
newInstance(MetadataRoutesApi arg) |
rx.Single<MetadataInfoDTO> |
rxGetMetadata(java.lang.String compositeHash)
Get metadata information
Gets the metadata for a given composite hash.
|
rx.Single<MerkleStateInfoDTO> |
rxGetMetadataMerkle(java.lang.String compositeHash)
Get metadata merkle information
Gets the metadata merkle for a given composite hash.
|
rx.Single<MetadataPage> |
rxSearchMetadataEntries(java.lang.String sourceAddress,
java.lang.String targetAddress,
java.lang.String scopedMetadataKey,
java.lang.String targetId,
MetadataTypeEnum metadataType,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search metadata entries
Returns an array of metadata.
|
void |
searchMetadataEntries(java.lang.String sourceAddress,
java.lang.String targetAddress,
java.lang.String scopedMetadataKey,
java.lang.String targetId,
MetadataTypeEnum metadataType,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MetadataPage>> resultHandler)
Search metadata entries
Returns an array of metadata.
|
public MetadataRoutesApi(MetadataRoutesApi delegate)
public MetadataRoutesApi getDelegate()
public void getMetadata(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MetadataInfoDTO>> resultHandler)
compositeHash - Filter by composite hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<MetadataInfoDTO> rxGetMetadata(java.lang.String compositeHash)
compositeHash - Filter by composite hash. (required)public void getMetadataMerkle(java.lang.String compositeHash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MerkleStateInfoDTO>> resultHandler)
compositeHash - Filter by composite hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<MerkleStateInfoDTO> rxGetMetadataMerkle(java.lang.String compositeHash)
compositeHash - Filter by composite hash. (required)public void searchMetadataEntries(java.lang.String sourceAddress,
java.lang.String targetAddress,
java.lang.String scopedMetadataKey,
java.lang.String targetId,
MetadataTypeEnum metadataType,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MetadataPage>> resultHandler)
sourceAddress - Filter by address sending the metadata entry. (optional)targetAddress - Filter by target address. (optional)scopedMetadataKey - Filter by metadata key. (optional)targetId - Filter by namespace or mosaic id. (optional)metadataType - Filter by metadata type. (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<MetadataPage> rxSearchMetadataEntries(java.lang.String sourceAddress, java.lang.String targetAddress, java.lang.String scopedMetadataKey, java.lang.String targetId, MetadataTypeEnum metadataType, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order)
sourceAddress - Filter by address sending the metadata entry. (optional)targetAddress - Filter by target address. (optional)scopedMetadataKey - Filter by metadata key. (optional)targetId - Filter by namespace or mosaic id. (optional)metadataType - Filter by metadata type. (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 MetadataRoutesApi newInstance(MetadataRoutesApi arg)