@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-09-25T14:18:23.319Z[UTC]")
public class HashLockRoutesApiImpl
extends java.lang.Object
implements HashLockRoutesApi
| Constructor and Description |
|---|
HashLockRoutesApiImpl() |
HashLockRoutesApiImpl(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
getHashLock(java.lang.String hash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HashLockInfoDTO>> resultHandler)
Get hash lock information
Gets the hash lock for a given hash.
|
void |
searchHashLock(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<HashLockPage>> resultHandler)
Search hash lock entries
Returns an array of hash locks.
|
void |
setApiClient(ApiClient apiClient) |
public HashLockRoutesApiImpl()
public HashLockRoutesApiImpl(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void getHashLock(java.lang.String hash,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HashLockInfoDTO>> resultHandler)
getHashLock in interface HashLockRoutesApihash - Filter by hash. (required)resultHandler - Asynchronous result handlerpublic void searchHashLock(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<HashLockPage>> resultHandler)
searchHashLock in interface HashLockRoutesApiaddress - Account address. (required)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