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.
|
okhttp3.Call |
getAccountsNamesAsync(AccountIds accountIds,
ApiCallback<AccountsNamesDTO> _callback)
Get readable names for a set of accountIds (asynchronously)
Returns friendly names for accounts.
|
okhttp3.Call |
getAccountsNamesCall(AccountIds accountIds,
ApiCallback _callback)
Build call for getAccountsNames
|
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.
|
okhttp3.Call |
getMosaicsNamesAsync(MosaicIds mosaicIds,
ApiCallback<MosaicsNamesDTO> _callback)
Get readable names for a set of mosaics (asynchronously)
Returns friendly names for mosaics.
|
okhttp3.Call |
getMosaicsNamesCall(MosaicIds mosaicIds,
ApiCallback _callback)
Build call for getMosaicsNames
|
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.
|
okhttp3.Call |
getNamespaceAsync(java.lang.String namespaceId,
ApiCallback<NamespaceInfoDTO> _callback)
Get namespace information (asynchronously)
Gets the namespace for a given namespace identifier.
|
okhttp3.Call |
getNamespaceCall(java.lang.String namespaceId,
ApiCallback _callback)
Build call for getNamespace
|
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.
|
okhttp3.Call |
getNamespacesFromAccountAsync(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id,
ApiCallback<NamespacesInfoDTO> _callback)
Get namespaces created by an account (asynchronously)
Gets an array of namespaces for a given account address.
|
okhttp3.Call |
getNamespacesFromAccountCall(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id,
ApiCallback _callback)
Build call for getNamespacesFromAccount
|
NamespacesInfoDTO |
getNamespacesFromAccounts(AccountIds accountIds)
Get namespaces for given array of addresses
Gets namespaces for a given array of addresses.
|
okhttp3.Call |
getNamespacesFromAccountsAsync(AccountIds accountIds,
ApiCallback<NamespacesInfoDTO> _callback)
Get namespaces for given array of addresses (asynchronously)
Gets namespaces for a given array of addresses.
|
okhttp3.Call |
getNamespacesFromAccountsCall(AccountIds accountIds,
ApiCallback _callback)
Build call for getNamespacesFromAccounts
|
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.
|
okhttp3.Call |
getNamespacesNamesAsync(NamespaceIds namespaceIds,
ApiCallback<java.util.List<NamespaceNameDTO>> _callback)
Get readable names for a set of namespaces (asynchronously)
Returns friendly names for namespaces.
|
okhttp3.Call |
getNamespacesNamesCall(NamespaceIds namespaceIds,
ApiCallback _callback)
Build call for getNamespacesNames
|
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 okhttp3.Call getAccountsNamesCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
accountIds - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public AccountsNamesDTO getAccountsNames(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<AccountsNamesDTO> getAccountsNamesWithHttpInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getAccountsNamesAsync(AccountIds accountIds, ApiCallback<AccountsNamesDTO> _callback) throws ApiException
accountIds - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getMosaicsNamesCall(MosaicIds mosaicIds, ApiCallback _callback) throws ApiException
mosaicIds - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public MosaicsNamesDTO getMosaicsNames(MosaicIds mosaicIds) throws ApiException
mosaicIds - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<MosaicsNamesDTO> getMosaicsNamesWithHttpInfo(MosaicIds mosaicIds) throws ApiException
mosaicIds - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getMosaicsNamesAsync(MosaicIds mosaicIds, ApiCallback<MosaicsNamesDTO> _callback) throws ApiException
mosaicIds - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespaceCall(java.lang.String namespaceId,
ApiCallback _callback)
throws ApiException
namespaceId - Namespace identifier. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public NamespaceInfoDTO getNamespace(java.lang.String namespaceId) throws ApiException
namespaceId - Namespace identifier. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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 fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespaceAsync(java.lang.String namespaceId,
ApiCallback<NamespaceInfoDTO> _callback)
throws ApiException
namespaceId - Namespace identifier. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespacesFromAccountCall(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id,
ApiCallback _callback)
throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)pageSize - Number of transactions to return for each request. (optional, default to 10)id - Namespace identifier up to which transactions are returned. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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 - Number of transactions to return for each request. (optional, default to 10)id - Namespace identifier up to which transactions are returned. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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 - Number of transactions to return for each request. (optional, default to 10)id - Namespace identifier up to which transactions are returned. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespacesFromAccountAsync(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id,
ApiCallback<NamespacesInfoDTO> _callback)
throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)pageSize - Number of transactions to return for each request. (optional, default to 10)id - Namespace identifier up to which transactions are returned. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespacesFromAccountsCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
accountIds - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public NamespacesInfoDTO getNamespacesFromAccounts(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<NamespacesInfoDTO> getNamespacesFromAccountsWithHttpInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespacesFromAccountsAsync(AccountIds accountIds, ApiCallback<NamespacesInfoDTO> _callback) throws ApiException
accountIds - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespacesNamesCall(NamespaceIds namespaceIds, ApiCallback _callback) throws ApiException
namespaceIds - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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 fail to call the API, e.g. server error or cannot deserialize the response body| 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 fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getNamespacesNamesAsync(NamespaceIds namespaceIds, ApiCallback<java.util.List<NamespaceNameDTO>> _callback) throws ApiException
namespaceIds - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |