Class DiagnosticRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.DiagnosticRoutesApi
-
public class DiagnosticRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DiagnosticRoutesApi()DiagnosticRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()StorageInfoDTOgetDiagnosticStorage()Get the storage information of the node Returns diagnostic information about the node storage.okhttp3.CallgetDiagnosticStorageAsync(ApiCallback<StorageInfoDTO> _callback)Get the storage information of the node (asynchronously) Returns diagnostic information about the node storage.okhttp3.CallgetDiagnosticStorageCall(ApiCallback _callback)Build call for getDiagnosticStorageApiResponse<StorageInfoDTO>getDiagnosticStorageWithHttpInfo()Get the storage information of the node Returns diagnostic information about the node storage.ServerInfoDTOgetServerInfo()Get the version of the running rest component Returns the version of the running catapult-rest component.okhttp3.CallgetServerInfoAsync(ApiCallback<ServerInfoDTO> _callback)Get the version of the running rest component (asynchronously) Returns the version of the running catapult-rest component.okhttp3.CallgetServerInfoCall(ApiCallback _callback)Build call for getServerInfoApiResponse<ServerInfoDTO>getServerInfoWithHttpInfo()Get the version of the running rest component Returns the version of the running catapult-rest component.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
DiagnosticRoutesApi
public DiagnosticRoutesApi()
-
DiagnosticRoutesApi
public DiagnosticRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getDiagnosticStorageCall
public okhttp3.Call getDiagnosticStorageCall(ApiCallback _callback) throws ApiException
Build call for getDiagnosticStorage- 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 -
-
getDiagnosticStorage
public StorageInfoDTO getDiagnosticStorage() throws ApiException
Get the storage information of the node Returns diagnostic information about the node storage.- Returns:
- StorageInfoDTO
- 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 -
-
getDiagnosticStorageWithHttpInfo
public ApiResponse<StorageInfoDTO> getDiagnosticStorageWithHttpInfo() throws ApiException
Get the storage information of the node Returns diagnostic information about the node storage.- Returns:
- ApiResponse<StorageInfoDTO>
- 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 -
-
getDiagnosticStorageAsync
public okhttp3.Call getDiagnosticStorageAsync(ApiCallback<StorageInfoDTO> _callback) throws ApiException
Get the storage information of the node (asynchronously) Returns diagnostic information about the node storage.- 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 -
-
getServerInfoCall
public okhttp3.Call getServerInfoCall(ApiCallback _callback) throws ApiException
Build call for getServerInfo- 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 -
-
getServerInfo
public ServerInfoDTO getServerInfo() throws ApiException
Get the version of the running rest component Returns the version of the running catapult-rest component.- Returns:
- ServerInfoDTO
- 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 -
-
getServerInfoWithHttpInfo
public ApiResponse<ServerInfoDTO> getServerInfoWithHttpInfo() throws ApiException
Get the version of the running rest component Returns the version of the running catapult-rest component.- Returns:
- ApiResponse<ServerInfoDTO>
- 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 -
-
getServerInfoAsync
public okhttp3.Call getServerInfoAsync(ApiCallback<ServerInfoDTO> _callback) throws ApiException
Get the version of the running rest component (asynchronously) Returns the version of the running catapult-rest component.- 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 -
-
-