@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-01-14T22:22:10.865Z[UTC]")
public class NodeRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
NodeRoutesApi() |
NodeRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
NodeHealthInfoDTO |
getNodeHealth()
Get the node health information
Supplies information regarding the connection and services status.
|
ApiResponse<NodeHealthInfoDTO> |
getNodeHealthWithHttpInfo()
Get the node health information
Supplies information regarding the connection and services status.
|
NodeInfoDTO |
getNodeInfo()
Get the node information
Supplies additional information about the application running on a node.
|
ApiResponse<NodeInfoDTO> |
getNodeInfoWithHttpInfo()
Get the node information
Supplies additional information about the application running on a node.
|
java.util.List<NodeInfoDTO> |
getNodePeers()
Get peers information
Gets the list of peers visible by the node.
|
ApiResponse<java.util.List<NodeInfoDTO>> |
getNodePeersWithHttpInfo()
Get peers information
Gets the list of peers visible by the node.
|
StorageInfoDTO |
getNodeStorage()
Get the storage information of the node
Returns storage information about the node.
|
ApiResponse<StorageInfoDTO> |
getNodeStorageWithHttpInfo()
Get the storage information of the node
Returns storage information about the node.
|
NodeTimeDTO |
getNodeTime()
Get the node time
Gets the node time at the moment the reply was sent and received.
|
ApiResponse<NodeTimeDTO> |
getNodeTimeWithHttpInfo()
Get the node time
Gets the node time at the moment the reply was sent and received.
|
ServerInfoDTO |
getServerInfo()
Get the version of the running REST component
Returns the version of the running catapult-rest component.
|
ApiResponse<ServerInfoDTO> |
getServerInfoWithHttpInfo()
Get the version of the running REST component
Returns the version of the running catapult-rest component.
|
UnlockedAccountDTO |
getUnlockedAccount()
Get the unlocked harvesting account public keys.
|
ApiResponse<UnlockedAccountDTO> |
getUnlockedAccountWithHttpInfo()
Get the unlocked harvesting account public keys.
|
void |
setApiClient(ApiClient apiClient) |
public NodeRoutesApi()
public NodeRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public NodeHealthInfoDTO getNodeHealth() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Both API node and database services are reachable from REST server. | - |
| 503 | Either API node or database service is unavailable or unreachable from REST server. | - |
public ApiResponse<NodeHealthInfoDTO> getNodeHealthWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Both API node and database services are reachable from REST server. | - |
| 503 | Either API node or database service is unavailable or unreachable from REST server. | - |
public NodeInfoDTO getNodeInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<NodeInfoDTO> getNodeInfoWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public java.util.List<NodeInfoDTO> getNodePeers() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<java.util.List<NodeInfoDTO>> getNodePeersWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public StorageInfoDTO getNodeStorage() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<StorageInfoDTO> getNodeStorageWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public NodeTimeDTO getNodeTime() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<NodeTimeDTO> getNodeTimeWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ServerInfoDTO getServerInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<ServerInfoDTO> getServerInfoWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public UnlockedAccountDTO getUnlockedAccount() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<UnlockedAccountDTO> getUnlockedAccountWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |