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.
|
okhttp3.Call |
getNodeHealthAsync(ApiCallback<NodeHealthInfoDTO> _callback)
Get the node health information (asynchronously)
Supplies information regarding the connection and services status.
|
okhttp3.Call |
getNodeHealthCall(ApiCallback _callback)
Build call for getNodeHealth
|
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.
|
okhttp3.Call |
getNodeInfoAsync(ApiCallback<NodeInfoDTO> _callback)
Get the node information (asynchronously)
Supplies additional information about the application running on a node.
|
okhttp3.Call |
getNodeInfoCall(ApiCallback _callback)
Build call for getNodeInfo
|
ApiResponse<NodeInfoDTO> |
getNodeInfoWithHttpInfo()
Get the node information
Supplies additional information about the application running on a node.
|
StorageInfoDTO |
getNodeStorage()
Get the storage information of the node
Returns storage information about the node.
|
okhttp3.Call |
getNodeStorageAsync(ApiCallback<StorageInfoDTO> _callback)
Get the storage information of the node (asynchronously)
Returns storage information about the node.
|
okhttp3.Call |
getNodeStorageCall(ApiCallback _callback)
Build call for getNodeStorage
|
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.
|
okhttp3.Call |
getNodeTimeAsync(ApiCallback<NodeTimeDTO> _callback)
Get the node time (asynchronously)
Gets the node time at the moment the reply was sent and received.
|
okhttp3.Call |
getNodeTimeCall(ApiCallback _callback)
Build call for getNodeTime
|
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.
|
okhttp3.Call |
getServerInfoAsync(ApiCallback<ServerInfoDTO> _callback)
Get the version of the running REST component (asynchronously)
Returns the version of the running catapult-rest component.
|
okhttp3.Call |
getServerInfoCall(ApiCallback _callback)
Build call for getServerInfo
|
ApiResponse<ServerInfoDTO> |
getServerInfoWithHttpInfo()
Get the version of the running REST component
Returns the version of the running catapult-rest component.
|
void |
setApiClient(ApiClient apiClient) |
public NodeRoutesApi()
public NodeRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getNodeHealthCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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 NodeHealthInfoDTO getNodeHealth() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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 fail to call the API, e.g. server error or cannot deserialize the response body| 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 okhttp3.Call getNodeHealthAsync(ApiCallback<NodeHealthInfoDTO> _callback) throws ApiException
_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 | 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 okhttp3.Call getNodeInfoCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public NodeInfoDTO getNodeInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<NodeInfoDTO> getNodeInfoWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getNodeInfoAsync(ApiCallback<NodeInfoDTO> _callback) throws ApiException
_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 | - |
public okhttp3.Call getNodeStorageCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public StorageInfoDTO getNodeStorage() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<StorageInfoDTO> getNodeStorageWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getNodeStorageAsync(ApiCallback<StorageInfoDTO> _callback) throws ApiException
_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 | - |
public okhttp3.Call getNodeTimeCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public NodeTimeDTO getNodeTime() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<NodeTimeDTO> getNodeTimeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getNodeTimeAsync(ApiCallback<NodeTimeDTO> _callback) throws ApiException
_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 | - |
public okhttp3.Call getServerInfoCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
public ServerInfoDTO getServerInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public ApiResponse<ServerInfoDTO> getServerInfoWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
public okhttp3.Call getServerInfoAsync(ApiCallback<ServerInfoDTO> _callback) throws ApiException
_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 | - |