Package org.stellar.sdk.responses
Class RootResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.RootResponse
Represents root endpoint response.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRootResponse(String horizonVersion, String stellarCoreVersion, Long ingestLatestLedger, int historyLatestLedger, String historyLatestLedgerClosedAt, int historyElderLedger, int coreLatestLedger, String networkPassphrase, int currentProtocolVersion, Long supportedProtocolVersion, int coreSupportedProtocolVersion, RootResponse.Links links) -
Method Summary
Methods inherited from class org.stellar.sdk.responses.Response
getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, setHeaders
-
Constructor Details
-
RootResponse
public RootResponse(String horizonVersion, String stellarCoreVersion, Long ingestLatestLedger, int historyLatestLedger, String historyLatestLedgerClosedAt, int historyElderLedger, int coreLatestLedger, String networkPassphrase, int currentProtocolVersion, Long supportedProtocolVersion, int coreSupportedProtocolVersion, RootResponse.Links links)
-
-
Method Details
-
getHorizonVersion
-
getStellarCoreVersion
-
getIngestLatestLedger
-
getHistoryLatestLedger
public int getHistoryLatestLedger() -
getHistoryLatestLedgerClosedAt
-
getHistoryElderLedger
public int getHistoryElderLedger() -
getCoreLatestLedger
public int getCoreLatestLedger() -
getNetworkPassphrase
-
getCurrentProtocolVersion
public int getCurrentProtocolVersion() -
getSupportedProtocolVersion
-
getCoreSupportedProtocolVersion
public int getCoreSupportedProtocolVersion() -
getLinks
-
toString
-
equals
-
hashCode
public int hashCode()
-