public static class TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 extends java.lang.Object implements XdrElement
struct { Liabilities liabilities; union switch (int v) { case 0: void; case 2: TrustLineEntryExtensionV2 v2; } ext; }
Modifier and Type | Class and Description |
---|---|
static class |
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Builder |
static class |
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext
TrustLineEntryV1Ext's original definition in the XDR file is:
|
Constructor and Description |
---|
TrustLineEntryV1() |
TrustLineEntryV1(Liabilities liabilities,
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext ext) |
Modifier and Type | Method and Description |
---|---|
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Builder |
builder() |
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 |
fromXdrBase64(java.lang.String xdr) |
static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 |
fromXdrByteArray(byte[] xdr) |
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext |
getExt() |
Liabilities |
getLiabilities() |
int |
hashCode() |
void |
setExt(TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext ext) |
void |
setLiabilities(Liabilities liabilities) |
TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TrustLineEntryV1()
public TrustLineEntryV1(Liabilities liabilities, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext ext)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Builder builder()
public TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Builder toBuilder()
public Liabilities getLiabilities()
public TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext getExt()
public void setLiabilities(Liabilities liabilities)
public void setExt(TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1.TrustLineEntryV1Ext ext)
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