Package org.stellar.sdk.xdr
Class SorobanAuthorizationEntries
java.lang.Object
org.stellar.sdk.xdr.SorobanAuthorizationEntries
- All Implemented Interfaces:
XdrElement
SorobanAuthorizationEntries's original definition in the XDR file is:
typedef SorobanAuthorizationEntry SorobanAuthorizationEntries<>;
-
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionSorobanAuthorizationEntries(SorobanAuthorizationEntry[] SorobanAuthorizationEntries) Creates a newSorobanAuthorizationEntriesinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic SorobanAuthorizationEntriesdecode(XdrDataInputStream stream) static SorobanAuthorizationEntriesdecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic SorobanAuthorizationEntriesstatic SorobanAuthorizationEntriesfromXdrBase64(String xdr) static SorobanAuthorizationEntriesfromXdrByteArray(byte[] xdr) Value of theSorobanAuthorizationEntriesfield.inthashCode()voidsetSorobanAuthorizationEntries(SorobanAuthorizationEntry[] SorobanAuthorizationEntries) Value of theSorobanAuthorizationEntriesfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SorobanAuthorizationEntries
public SorobanAuthorizationEntries() -
SorobanAuthorizationEntries
Creates a newSorobanAuthorizationEntriesinstance.- Parameters:
SorobanAuthorizationEntries- theSorobanAuthorizationEntriesfield 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 SorobanAuthorizationEntries 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
-
getSorobanAuthorizationEntries
Value of theSorobanAuthorizationEntriesfield.- Returns:
- the
SorobanAuthorizationEntriesfield value
-
setSorobanAuthorizationEntries
Value of theSorobanAuthorizationEntriesfield.- Parameters:
SorobanAuthorizationEntries- theSorobanAuthorizationEntriesfield value
-
equals
-
hashCode
public int hashCode() -
toString
-