Class GetLedgerEntriesResponse.LedgerEntryResult
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetLedgerEntriesResponse.LedgerEntryResult
- Enclosing class:
GetLedgerEntriesResponse
-
Constructor Summary
ConstructorsConstructorDescriptionLedgerEntryResult(String key, String xdr, Long lastModifiedLedger, Long liveUntilLedger) Creates a newLedgerEntryResultinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()The field can be parsed asLedgerKeyobject.getXdr()The field can be parsed asLedgerEntry.LedgerEntryDataobject.inthashCode()parseKey()Parses thekeyfield from a string to anLedgerKeyobject.parseXdr()Parses thexdrfield from a string to anLedgerEntry.LedgerEntryDataobject.toString()
-
Constructor Details
-
LedgerEntryResult
Creates a newLedgerEntryResultinstance.- Parameters:
key- The field can be parsed asLedgerKeyobject.xdr- The field can be parsed asLedgerEntry.LedgerEntryDataobject.lastModifiedLedger-liveUntilLedger-
-
-
Method Details
-
parseKey
Parses thekeyfield from a string to anLedgerKeyobject.- Returns:
- the parsed
LedgerKeyobject
-
parseXdr
Parses thexdrfield from a string to anLedgerEntry.LedgerEntryDataobject.- Returns:
- the parsed
LedgerEntry.LedgerEntryDataobject
-
getKey
The field can be parsed asLedgerKeyobject. -
getXdr
The field can be parsed asLedgerEntry.LedgerEntryDataobject. -
getLastModifiedLedger
-
getLiveUntilLedger
-
equals
-
hashCode
public int hashCode() -
toString
-