@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-06-26T18:32:22.702Z[UTC]")
public class MetadataRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
MetadataRoutesApi() |
MetadataRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
MetadataEntriesDTO |
getAccountMetadata(java.lang.String address,
java.lang.Integer pageSize,
Order order,
java.lang.String id)
Get account metadata
Returns the account metadata given an account id.
|
MetadataEntriesDTO |
getAccountMetadataByKey(java.lang.String address,
java.lang.String key)
Get account metadata
Returns the account metadata given an account id and a key.
|
MetadataDTO |
getAccountMetadataByKeyAndSender(java.lang.String address,
java.lang.String key,
java.lang.String sourceAddress)
Get account metadata
Returns the account metadata given an account id, a key, and a sender.
|
ApiResponse<MetadataDTO> |
getAccountMetadataByKeyAndSenderWithHttpInfo(java.lang.String address,
java.lang.String key,
java.lang.String sourceAddress)
Get account metadata
Returns the account metadata given an account id, a key, and a sender.
|
ApiResponse<MetadataEntriesDTO> |
getAccountMetadataByKeyWithHttpInfo(java.lang.String address,
java.lang.String key)
Get account metadata
Returns the account metadata given an account id and a key.
|
ApiResponse<MetadataEntriesDTO> |
getAccountMetadataWithHttpInfo(java.lang.String address,
java.lang.Integer pageSize,
Order order,
java.lang.String id)
Get account metadata
Returns the account metadata given an account id.
|
ApiClient |
getApiClient() |
MetadataEntriesDTO |
getMosaicMetadata(java.lang.String mosaicId,
java.lang.Integer pageSize,
java.lang.String id,
Order order)
Get mosaic metadata
Returns the mosaic metadata given a mosaic id.
|
MetadataEntriesDTO |
getMosaicMetadataByKey(java.lang.String mosaicId,
java.lang.String key)
Get mosaic metadata
Returns the mosaic metadata given a mosaic id and a key.
|
MetadataDTO |
getMosaicMetadataByKeyAndSender(java.lang.String mosaicId,
java.lang.String key,
java.lang.String sourceAddress)
Get mosaic metadata
Returns the mosaic metadata given a mosaic id, a key, and a sender.
|
ApiResponse<MetadataDTO> |
getMosaicMetadataByKeyAndSenderWithHttpInfo(java.lang.String mosaicId,
java.lang.String key,
java.lang.String sourceAddress)
Get mosaic metadata
Returns the mosaic metadata given a mosaic id, a key, and a sender.
|
ApiResponse<MetadataEntriesDTO> |
getMosaicMetadataByKeyWithHttpInfo(java.lang.String mosaicId,
java.lang.String key)
Get mosaic metadata
Returns the mosaic metadata given a mosaic id and a key.
|
ApiResponse<MetadataEntriesDTO> |
getMosaicMetadataWithHttpInfo(java.lang.String mosaicId,
java.lang.Integer pageSize,
java.lang.String id,
Order order)
Get mosaic metadata
Returns the mosaic metadata given a mosaic id.
|
MetadataEntriesDTO |
getNamespaceMetadata(java.lang.String namespaceId,
java.lang.Integer pageSize,
java.lang.String id,
Order order)
Get namespace metadata
Returns the namespace metadata given a namespace id.
|
MetadataEntriesDTO |
getNamespaceMetadataByKey(java.lang.String namespaceId,
java.lang.String key)
Get namespace metadata
Returns the namespace metadata given a namespace id and a key.
|
MetadataDTO |
getNamespaceMetadataByKeyAndSender(java.lang.String namespaceId,
java.lang.String key,
java.lang.String sourceAddress)
Get namespace metadata
Returns the namespace metadata given a namespace id, a key, and a sender.
|
ApiResponse<MetadataDTO> |
getNamespaceMetadataByKeyAndSenderWithHttpInfo(java.lang.String namespaceId,
java.lang.String key,
java.lang.String sourceAddress)
Get namespace metadata
Returns the namespace metadata given a namespace id, a key, and a sender.
|
ApiResponse<MetadataEntriesDTO> |
getNamespaceMetadataByKeyWithHttpInfo(java.lang.String namespaceId,
java.lang.String key)
Get namespace metadata
Returns the namespace metadata given a namespace id and a key.
|
ApiResponse<MetadataEntriesDTO> |
getNamespaceMetadataWithHttpInfo(java.lang.String namespaceId,
java.lang.Integer pageSize,
java.lang.String id,
Order order)
Get namespace metadata
Returns the namespace metadata given a namespace id.
|
void |
setApiClient(ApiClient apiClient) |
public MetadataRoutesApi()
public MetadataRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public MetadataEntriesDTO getAccountMetadata(java.lang.String address, java.lang.Integer pageSize, Order order, java.lang.String id) throws ApiException
address - Account address. (required)pageSize - Select the number of entries to return. (optional, default to 10)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)id - 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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataEntriesDTO> getAccountMetadataWithHttpInfo(java.lang.String address, java.lang.Integer pageSize, Order order, java.lang.String id) throws ApiException
address - Account address. (required)pageSize - Select the number of entries to return. (optional, default to 10)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)id - 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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MetadataEntriesDTO getAccountMetadataByKey(java.lang.String address, java.lang.String key) throws ApiException
address - Account address. (required)key - Metadata key. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataEntriesDTO> getAccountMetadataByKeyWithHttpInfo(java.lang.String address, java.lang.String key) throws ApiException
address - Account address. (required)key - Metadata key. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MetadataDTO getAccountMetadataByKeyAndSender(java.lang.String address, java.lang.String key, java.lang.String sourceAddress) throws ApiException
address - Account address. (required)key - Metadata key. (required)sourceAddress - Account address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataDTO> getAccountMetadataByKeyAndSenderWithHttpInfo(java.lang.String address, java.lang.String key, java.lang.String sourceAddress) throws ApiException
address - Account address. (required)key - Metadata key. (required)sourceAddress - Account address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MetadataEntriesDTO getMosaicMetadata(java.lang.String mosaicId, java.lang.Integer pageSize, java.lang.String id, Order order) throws ApiException
mosaicId - Mosaic identifier. (required)pageSize - Select the number of entries to return. (optional, default to 10)id - 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<MetadataEntriesDTO> getMosaicMetadataWithHttpInfo(java.lang.String mosaicId, java.lang.Integer pageSize, java.lang.String id, Order order) throws ApiException
mosaicId - Mosaic identifier. (required)pageSize - Select the number of entries to return. (optional, default to 10)id - 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 MetadataEntriesDTO getMosaicMetadataByKey(java.lang.String mosaicId, java.lang.String key) throws ApiException
mosaicId - Mosaic identifier. (required)key - Metadata key. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataEntriesDTO> getMosaicMetadataByKeyWithHttpInfo(java.lang.String mosaicId, java.lang.String key) throws ApiException
mosaicId - Mosaic identifier. (required)key - Metadata key. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MetadataDTO getMosaicMetadataByKeyAndSender(java.lang.String mosaicId, java.lang.String key, java.lang.String sourceAddress) throws ApiException
mosaicId - Mosaic identifier. (required)key - Metadata key. (required)sourceAddress - Account address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataDTO> getMosaicMetadataByKeyAndSenderWithHttpInfo(java.lang.String mosaicId, java.lang.String key, java.lang.String sourceAddress) throws ApiException
mosaicId - Mosaic identifier. (required)key - Metadata key. (required)sourceAddress - Account address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MetadataEntriesDTO getNamespaceMetadata(java.lang.String namespaceId, java.lang.Integer pageSize, java.lang.String id, Order order) throws ApiException
namespaceId - Namespace identifier. (required)pageSize - Select the number of entries to return. (optional, default to 10)id - 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<MetadataEntriesDTO> getNamespaceMetadataWithHttpInfo(java.lang.String namespaceId, java.lang.Integer pageSize, java.lang.String id, Order order) throws ApiException
namespaceId - Namespace identifier. (required)pageSize - Select the number of entries to return. (optional, default to 10)id - 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 MetadataEntriesDTO getNamespaceMetadataByKey(java.lang.String namespaceId, java.lang.String key) throws ApiException
namespaceId - Namespace identifier. (required)key - Metadata key. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataEntriesDTO> getNamespaceMetadataByKeyWithHttpInfo(java.lang.String namespaceId, java.lang.String key) throws ApiException
namespaceId - Namespace identifier. (required)key - Metadata key. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MetadataDTO getNamespaceMetadataByKeyAndSender(java.lang.String namespaceId, java.lang.String key, java.lang.String sourceAddress) throws ApiException
namespaceId - Namespace identifier. (required)key - Metadata key. (required)sourceAddress - Account address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MetadataDTO> getNamespaceMetadataByKeyAndSenderWithHttpInfo(java.lang.String namespaceId, java.lang.String key, java.lang.String sourceAddress) throws ApiException
namespaceId - Namespace identifier. (required)key - Metadata key. (required)sourceAddress - Account address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |