Class GetLedgerEntriesResponse.LedgerEntryResult
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetLedgerEntriesResponse.LedgerEntryResult
- Enclosing class:
GetLedgerEntriesResponse
-
Constructor Summary
ConstructorDescriptionLedgerEntryResult
(String key, String xdr, Long lastModifiedLedger, Long liveUntilLedger) Creates a newLedgerEntryResult
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
The field can be parsed asLedgerKey
object.getXdr()
The field can be parsed asLedgerEntry.LedgerEntryData
object.int
hashCode()
parseKey()
Parses thekey
field from a string to anLedgerKey
object.parseXdr()
Parses thexdr
field from a string to anLedgerEntry.LedgerEntryData
object.toString()
-
Constructor Details
-
LedgerEntryResult
Creates a newLedgerEntryResult
instance.- Parameters:
key
- The field can be parsed asLedgerKey
object.xdr
- The field can be parsed asLedgerEntry.LedgerEntryData
object.lastModifiedLedger
-liveUntilLedger
-
-
-
Method Details
-
parseKey
Parses thekey
field from a string to anLedgerKey
object.- Returns:
- the parsed
LedgerKey
object
-
parseXdr
Parses thexdr
field from a string to anLedgerEntry.LedgerEntryData
object.- Returns:
- the parsed
LedgerEntry.LedgerEntryData
object
-
getKey
The field can be parsed asLedgerKey
object. -
getXdr
The field can be parsed asLedgerEntry.LedgerEntryData
object. -
getLastModifiedLedger
-
getLiveUntilLedger
-
equals
-
hashCode
public int hashCode() -
toString
-