public static class LedgerKey.LedgerKeyTtl extends java.lang.Object implements XdrElement
struct { // Hash of the LedgerKey that is associated with this TTLEntry Hash keyHash; }
Modifier and Type | Class and Description |
---|---|
static class |
LedgerKey.LedgerKeyTtl.LedgerKeyTtlBuilder |
Constructor and Description |
---|
LedgerKeyTtl() |
LedgerKeyTtl(Hash keyHash) |
Modifier and Type | Method and Description |
---|---|
static LedgerKey.LedgerKeyTtl.LedgerKeyTtlBuilder |
builder() |
static LedgerKey.LedgerKeyTtl |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static LedgerKey.LedgerKeyTtl |
fromXdrBase64(java.lang.String xdr) |
static LedgerKey.LedgerKeyTtl |
fromXdrByteArray(byte[] xdr) |
Hash |
getKeyHash() |
int |
hashCode() |
void |
setKeyHash(Hash keyHash) |
LedgerKey.LedgerKeyTtl.LedgerKeyTtlBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public LedgerKeyTtl()
public LedgerKeyTtl(Hash keyHash)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static LedgerKey.LedgerKeyTtl decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static LedgerKey.LedgerKeyTtl fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static LedgerKey.LedgerKeyTtl fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static LedgerKey.LedgerKeyTtl.LedgerKeyTtlBuilder builder()
public LedgerKey.LedgerKeyTtl.LedgerKeyTtlBuilder toBuilder()
public Hash getKeyHash()
public void setKeyHash(Hash keyHash)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object