@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-01-14T22:22:10.865Z[UTC]")
public class NamespaceRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
NamespaceRoutesApi() |
NamespaceRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AccountsNamesDTO |
getAccountsNames(Addresses addresses)
Get readable names for a set of accountIds
Returns friendly names for accounts.
|
ApiResponse<AccountsNamesDTO> |
getAccountsNamesWithHttpInfo(Addresses addresses)
Get readable names for a set of accountIds
Returns friendly names for accounts.
|
ApiClient |
getApiClient() |
MosaicsNamesDTO |
getMosaicsNames(MosaicIds mosaicIds)
Get readable names for a set of mosaics
Returns friendly names for mosaics.
|
ApiResponse<MosaicsNamesDTO> |
getMosaicsNamesWithHttpInfo(MosaicIds mosaicIds)
Get readable names for a set of mosaics
Returns friendly names for mosaics.
|
NamespaceInfoDTO |
getNamespace(java.lang.String namespaceId)
Get namespace information
Gets the namespace for a given namespace identifier.
|
MerkleStateInfoDTO |
getNamespaceMerkle(java.lang.String namespaceId)
Get namespace merkle information
Gets the namespace merkle for a given namespace identifier.
|
ApiResponse<MerkleStateInfoDTO> |
getNamespaceMerkleWithHttpInfo(java.lang.String namespaceId)
Get namespace merkle information
Gets the namespace merkle for a given namespace identifier.
|
java.util.List<NamespaceNameDTO> |
getNamespacesNames(NamespaceIds namespaceIds)
Get readable names for a set of namespaces
Returns friendly names for namespaces.
|
ApiResponse<java.util.List<NamespaceNameDTO>> |
getNamespacesNamesWithHttpInfo(NamespaceIds namespaceIds)
Get readable names for a set of namespaces
Returns friendly names for namespaces.
|
ApiResponse<NamespaceInfoDTO> |
getNamespaceWithHttpInfo(java.lang.String namespaceId)
Get namespace information
Gets the namespace for a given namespace identifier.
|
NamespacePage |
searchNamespaces(java.lang.String ownerAddress,
NamespaceRegistrationTypeEnum registrationType,
java.lang.String level0,
AliasTypeEnum aliasType,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search namespaces
Gets an array of namespaces.
|
ApiResponse<NamespacePage> |
searchNamespacesWithHttpInfo(java.lang.String ownerAddress,
NamespaceRegistrationTypeEnum registrationType,
java.lang.String level0,
AliasTypeEnum aliasType,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search namespaces
Gets an array of namespaces.
|
void |
setApiClient(ApiClient apiClient) |
public NamespaceRoutesApi()
public NamespaceRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AccountsNamesDTO getAccountsNames(Addresses addresses) throws ApiException
addresses - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<AccountsNamesDTO> getAccountsNamesWithHttpInfo(Addresses addresses) throws ApiException
addresses - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public MosaicsNamesDTO getMosaicsNames(MosaicIds mosaicIds) throws ApiException
mosaicIds - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<MosaicsNamesDTO> getMosaicsNamesWithHttpInfo(MosaicIds mosaicIds) throws ApiException
mosaicIds - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public NamespaceInfoDTO getNamespace(java.lang.String namespaceId) throws ApiException
namespaceId - Namespace identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<NamespaceInfoDTO> getNamespaceWithHttpInfo(java.lang.String namespaceId) throws ApiException
namespaceId - Namespace identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public MerkleStateInfoDTO getNamespaceMerkle(java.lang.String namespaceId) throws ApiException
namespaceId - Namespace identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MerkleStateInfoDTO> getNamespaceMerkleWithHttpInfo(java.lang.String namespaceId) throws ApiException
namespaceId - Namespace identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public java.util.List<NamespaceNameDTO> getNamespacesNames(NamespaceIds namespaceIds) throws ApiException
namespaceIds - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<NamespaceNameDTO>> getNamespacesNamesWithHttpInfo(NamespaceIds namespaceIds) throws ApiException
namespaceIds - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public NamespacePage searchNamespaces(java.lang.String ownerAddress, NamespaceRegistrationTypeEnum registrationType, java.lang.String level0, AliasTypeEnum aliasType, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
ownerAddress - Filter by owner address. (optional)registrationType - Filter by registration type. (optional)level0 - Filter by root namespace. (optional)aliasType - Filter by alias 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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public ApiResponse<NamespacePage> searchNamespacesWithHttpInfo(java.lang.String ownerAddress, NamespaceRegistrationTypeEnum registrationType, java.lang.String level0, AliasTypeEnum aliasType, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
ownerAddress - Filter by owner address. (optional)registrationType - Filter by registration type. (optional)level0 - Filter by root namespace. (optional)aliasType - Filter by alias 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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |