@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2019-10-15T22:22:43.352+02:00[Europe/Madrid]")
public class NamespaceRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
NamespaceRoutesApi() |
NamespaceRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
NamespaceInfoDTO |
getNamespace(java.lang.String namespaceId)
Get namespace information
Gets the namespace for a given namespace identifier.
|
java.util.List<NamespaceInfoDTO> |
getNamespacesFromAccount(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id)
Get namespaces owned by an account
Gets an array of namespaces for a given account address.
|
java.util.List<NamespaceInfoDTO> |
getNamespacesFromAccounts(AccountIds accountIds)
Get namespaces for given array of addresses
Gets namespaces for a given array of addresses.
|
ApiResponse<java.util.List<NamespaceInfoDTO>> |
getNamespacesFromAccountsWithHttpInfo(AccountIds accountIds)
Get namespaces for given array of addresses
Gets namespaces for a given array of addresses.
|
ApiResponse<java.util.List<NamespaceInfoDTO>> |
getNamespacesFromAccountWithHttpInfo(java.lang.String accountId,
java.lang.Integer pageSize,
java.lang.String id)
Get namespaces owned 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 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 java.util.List<NamespaceInfoDTO> getNamespacesFromAccount(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id) throws ApiException
accountId - Account public key or address. (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 fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<NamespaceInfoDTO>> getNamespacesFromAccountWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id) throws ApiException
accountId - Account public key or address. (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 fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public java.util.List<NamespaceInfoDTO> 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<java.util.List<NamespaceInfoDTO>> 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 | - |