public final class RootResponse extends Response
Server.root()
Modifier and Type | Class and Description |
---|---|
static class |
RootResponse.Links |
Constructor and Description |
---|
RootResponse(java.lang.String horizonVersion,
java.lang.String stellarCoreVersion,
java.lang.Long ingestLatestLedger,
java.lang.Long historyLatestLedger,
java.lang.String historyLatestLedgerClosedAt,
java.lang.Long historyElderLedger,
java.lang.Long coreLatestLedger,
java.lang.String networkPassphrase,
java.lang.Integer currentProtocolVersion,
java.lang.Integer supportedProtocolVersion,
java.lang.Integer coreSupportedProtocolVersion,
RootResponse.Links links) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getCoreLatestLedger() |
java.lang.Integer |
getCoreSupportedProtocolVersion() |
java.lang.Integer |
getCurrentProtocolVersion() |
java.lang.Long |
getHistoryElderLedger() |
java.lang.Long |
getHistoryLatestLedger() |
java.lang.String |
getHistoryLatestLedgerClosedAt() |
java.lang.String |
getHorizonVersion() |
java.lang.Long |
getIngestLatestLedger() |
RootResponse.Links |
getLinks() |
java.lang.String |
getNetworkPassphrase() |
java.lang.String |
getStellarCoreVersion() |
java.lang.Integer |
getSupportedProtocolVersion() |
int |
hashCode() |
java.lang.String |
toString() |
public RootResponse(java.lang.String horizonVersion, java.lang.String stellarCoreVersion, java.lang.Long ingestLatestLedger, java.lang.Long historyLatestLedger, java.lang.String historyLatestLedgerClosedAt, java.lang.Long historyElderLedger, java.lang.Long coreLatestLedger, java.lang.String networkPassphrase, java.lang.Integer currentProtocolVersion, java.lang.Integer supportedProtocolVersion, java.lang.Integer coreSupportedProtocolVersion, RootResponse.Links links)
public java.lang.String getHorizonVersion()
public java.lang.String getStellarCoreVersion()
public java.lang.Long getIngestLatestLedger()
public java.lang.Long getHistoryLatestLedger()
public java.lang.String getHistoryLatestLedgerClosedAt()
public java.lang.Long getHistoryElderLedger()
public java.lang.Long getCoreLatestLedger()
public java.lang.String getNetworkPassphrase()
public java.lang.Integer getCurrentProtocolVersion()
public java.lang.Integer getSupportedProtocolVersion()
public java.lang.Integer getCoreSupportedProtocolVersion()
public RootResponse.Links getLinks()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object