Class NodeRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.NodeRoutesApi
-
public class NodeRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NodeRoutesApi()NodeRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()NodeInfoDTOgetNodeInfo()Get the node information Supplies additional information about the application running on a node.okhttp3.CallgetNodeInfoAsync(ApiCallback<NodeInfoDTO> _callback)Get the node information (asynchronously) Supplies additional information about the application running on a node.okhttp3.CallgetNodeInfoCall(ApiCallback _callback)Build call for getNodeInfoApiResponse<NodeInfoDTO>getNodeInfoWithHttpInfo()Get the node information Supplies additional information about the application running on a node.NodeTimeDTOgetNodeTime()Get the node time Gets the node time at the moment the reply was sent and received.okhttp3.CallgetNodeTimeAsync(ApiCallback<NodeTimeDTO> _callback)Get the node time (asynchronously) Gets the node time at the moment the reply was sent and received.okhttp3.CallgetNodeTimeCall(ApiCallback _callback)Build call for getNodeTimeApiResponse<NodeTimeDTO>getNodeTimeWithHttpInfo()Get the node time Gets the node time at the moment the reply was sent and received.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
NodeRoutesApi
public NodeRoutesApi()
-
NodeRoutesApi
public NodeRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getNodeInfoCall
public okhttp3.Call getNodeInfoCall(ApiCallback _callback) throws ApiException
Build call for getNodeInfo- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeInfo
public NodeInfoDTO getNodeInfo() throws ApiException
Get the node information Supplies additional information about the application running on a node.- Returns:
- NodeInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeInfoWithHttpInfo
public ApiResponse<NodeInfoDTO> getNodeInfoWithHttpInfo() throws ApiException
Get the node information Supplies additional information about the application running on a node.- Returns:
- ApiResponse<NodeInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeInfoAsync
public okhttp3.Call getNodeInfoAsync(ApiCallback<NodeInfoDTO> _callback) throws ApiException
Get the node information (asynchronously) Supplies additional information about the application running on a node.- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeTimeCall
public okhttp3.Call getNodeTimeCall(ApiCallback _callback) throws ApiException
Build call for getNodeTime- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeTime
public NodeTimeDTO getNodeTime() throws ApiException
Get the node time Gets the node time at the moment the reply was sent and received.- Returns:
- NodeTimeDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeTimeWithHttpInfo
public ApiResponse<NodeTimeDTO> getNodeTimeWithHttpInfo() throws ApiException
Get the node time Gets the node time at the moment the reply was sent and received.- Returns:
- ApiResponse<NodeTimeDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success -
-
getNodeTimeAsync
public okhttp3.Call getNodeTimeAsync(ApiCallback<NodeTimeDTO> _callback) throws ApiException
Get the node time (asynchronously) Gets the node time at the moment the reply was sent and received.- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 success -
-
-