@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-06-30T14:26:28.734Z[UTC]")
public class NamespaceRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
NamespaceRoutesApi() |
NamespaceRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AccountsNamesDTO |
getAccountsNames(AccountIds accountIds)
Get readable names for a set of accountIds
Returns friendly names for accounts.
|
ApiResponse<AccountsNamesDTO> |
getAccountsNamesWithHttpInfo(AccountIds accountIds)
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.
|
NamespacesInfoDTO |
getNamespacesFromAccount(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id)
Get namespaces created by an account
Gets an array of namespaces for a given account address.
|
NamespacesInfoDTO |
getNamespacesFromAccounts(AccountIds accountIds)
Get namespaces for given array of addresses
Gets namespaces for a given array of addresses.
|
ApiResponse<NamespacesInfoDTO> |
getNamespacesFromAccountsWithHttpInfo(AccountIds accountIds)
Get namespaces for given array of addresses
Gets namespaces for a given array of addresses.
|
ApiResponse<NamespacesInfoDTO> |
getNamespacesFromAccountWithHttpInfo(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id)
Get namespaces created by an account
Gets an array of namespaces for a given account address.
|
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.
|
void |
setApiClient(ApiClient apiClient) |
public NamespaceRoutesApi()
public NamespaceRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AccountsNamesDTO getAccountsNames(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<AccountsNamesDTO> getAccountsNamesWithHttpInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)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 NamespacesInfoDTO getNamespacesFromAccount(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id) throws ApiException
accountId - Account public key or address enconded using a 32-character set. (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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<NamespacesInfoDTO> getNamespacesFromAccountWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id) throws ApiException
accountId - Account public key or address enconded using a 32-character set. (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)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public NamespacesInfoDTO getNamespacesFromAccounts(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<NamespacesInfoDTO> getNamespacesFromAccountsWithHttpInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 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 | - |