public static final class SimulateTransactionResponse.SimulateHostFunctionResult
extends java.lang.Object
| Constructor and Description |
|---|
SimulateHostFunctionResult(java.util.List<java.lang.String> auth,
java.lang.String xdr)
Creates a new
SimulateHostFunctionResult instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getAuth()
The elements inside can be parsed as
SorobanAuthorizationEntry
objects. |
java.lang.String |
getXdr()
The field can be parsed as
SCVal object. |
int |
hashCode() |
java.util.List<SorobanAuthorizationEntry> |
parseAuth()
Parses the
auth field from a list of strings to a list of SorobanAuthorizationEntry objects. |
SCVal |
parseXdr()
Parses the
xdr field from a string to an SCVal object. |
java.lang.String |
toString() |
public SimulateHostFunctionResult(java.util.List<java.lang.String> auth,
java.lang.String xdr)
SimulateHostFunctionResult instance.auth - The elements inside can be parsed as SorobanAuthorizationEntry
objects.xdr - The field can be parsed as SCVal object.public java.util.List<SorobanAuthorizationEntry> parseAuth()
auth field from a list of strings to a list of SorobanAuthorizationEntry objects.SorobanAuthorizationEntry objectspublic SCVal parseXdr()
xdr field from a string to an SCVal object.SCVal objectpublic java.util.List<java.lang.String> getAuth()
SorobanAuthorizationEntry
objects.public java.lang.String getXdr()
SCVal object.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object