Package io.nem.sdk.openapi.jersey2.api
Class NetworkRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.api.NetworkRoutesApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class NetworkRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NetworkRoutesApi()NetworkRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()NetworkTypeDTOgetNetworkType()Get the current network type of the chain Returns the current network type.ApiResponse<NetworkTypeDTO>getNetworkTypeWithHttpInfo()Get the current network type of the chain Returns the current network type.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
NetworkRoutesApi
public NetworkRoutesApi()
-
NetworkRoutesApi
public NetworkRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getNetworkType
public NetworkTypeDTO getNetworkType() throws ApiException
Get the current network type of the chain Returns the current network type.- Returns:
- NetworkTypeDTO
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success -
-
getNetworkTypeWithHttpInfo
public ApiResponse<NetworkTypeDTO> getNetworkTypeWithHttpInfo() throws ApiException
Get the current network type of the chain Returns the current network type.- Returns:
- ApiResponse<NetworkTypeDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success -
-
-