Package org.stellar.sdk.xdr
Class FreezeBypassTxsDelta
java.lang.Object
org.stellar.sdk.xdr.FreezeBypassTxsDelta
- All Implemented Interfaces:
XdrElement
FreezeBypassTxsDelta's original definition in the XDR file is:
struct FreezeBypassTxsDelta {
Hash addTxs<>;
Hash removeTxs<>;
};
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionFreezeBypassTxsDelta(Hash[] addTxs, Hash[] removeTxs) Creates a newFreezeBypassTxsDeltainstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static FreezeBypassTxsDeltadecode(XdrDataInputStream stream) static FreezeBypassTxsDeltadecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic FreezeBypassTxsDeltastatic FreezeBypassTxsDeltafromXdrBase64(String xdr) static FreezeBypassTxsDeltafromXdrByteArray(byte[] xdr) Hash[]Value of theaddTxsfield.Hash[]Value of theremoveTxsfield.inthashCode()voidValue of theaddTxsfield.voidsetRemoveTxs(Hash[] removeTxs) Value of theremoveTxsfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
FreezeBypassTxsDelta
public FreezeBypassTxsDelta() -
FreezeBypassTxsDelta
Creates a newFreezeBypassTxsDeltainstance.- Parameters:
addTxs- theaddTxsfield valueremoveTxs- theremoveTxsfield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
public static FreezeBypassTxsDelta decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
builder
-
toBuilder
-
getAddTxs
Value of theaddTxsfield.- Returns:
- the
addTxsfield value
-
getRemoveTxs
Value of theremoveTxsfield.- Returns:
- the
removeTxsfield value
-
setAddTxs
Value of theaddTxsfield.- Parameters:
addTxs- theaddTxsfield value
-
setRemoveTxs
Value of theremoveTxsfield.- Parameters:
removeTxs- theremoveTxsfield value
-
equals
-
hashCode
public int hashCode() -
toString
-