@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-01-14T22:22:10.865Z[UTC]")
public class RestrictionMosaicRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionMosaicRoutesApi() |
RestrictionMosaicRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.lang.Object |
getMosaicRestrictions(java.lang.String compositeHash)
Get the mosaic restrictions
Returns the mosaic restrictions for a composite hash.
|
MerkleStateInfoDTO |
getMosaicRestrictionsMerkle(java.lang.String compositeHash)
Get the mosaic restrictions merkle
Returns the mosaic restrictions merkle for a given composite hash.
|
ApiResponse<MerkleStateInfoDTO> |
getMosaicRestrictionsMerkleWithHttpInfo(java.lang.String compositeHash)
Get the mosaic restrictions merkle
Returns the mosaic restrictions merkle for a given composite hash.
|
ApiResponse<java.lang.Object> |
getMosaicRestrictionsWithHttpInfo(java.lang.String compositeHash)
Get the mosaic restrictions
Returns the mosaic restrictions for a composite hash.
|
MosaicRestrictionsPage |
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)
Search mosaic restrictions
Returns an array of mosaic restrictions.
|
ApiResponse<MosaicRestrictionsPage> |
searchMosaicRestrictionsWithHttpInfo(java.lang.String mosaicId,
MosaicRestrictionEntryTypeEnum entryType,
java.lang.String targetAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search mosaic restrictions
Returns an array of mosaic restrictions.
|
void |
setApiClient(ApiClient apiClient) |
public RestrictionMosaicRoutesApi()
public RestrictionMosaicRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public java.lang.Object getMosaicRestrictions(java.lang.String compositeHash)
throws ApiException
compositeHash - Filter by composite hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.lang.Object> getMosaicRestrictionsWithHttpInfo(java.lang.String compositeHash) throws ApiException
compositeHash - Filter by composite hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MerkleStateInfoDTO getMosaicRestrictionsMerkle(java.lang.String compositeHash) throws ApiException
compositeHash - Filter by composite hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MerkleStateInfoDTO> getMosaicRestrictionsMerkleWithHttpInfo(java.lang.String compositeHash) throws ApiException
compositeHash - Filter by composite hash. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MosaicRestrictionsPage 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) throws ApiException
mosaicId - 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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MosaicRestrictionsPage> searchMosaicRestrictionsWithHttpInfo(java.lang.String mosaicId, MosaicRestrictionEntryTypeEnum entryType, java.lang.String targetAddress, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
mosaicId - 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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |