Package org.stellar.sdk.xdr
Class SorobanAuthorizationEntry
java.lang.Object
org.stellar.sdk.xdr.SorobanAuthorizationEntry
- All Implemented Interfaces:
XdrElement
SorobanAuthorizationEntry's original definition in the XDR file is:
struct SorobanAuthorizationEntry
{
SorobanCredentials credentials;
SorobanAuthorizedInvocation rootInvocation;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionSorobanAuthorizationEntry(SorobanCredentials credentials, SorobanAuthorizedInvocation rootInvocation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SorobanAuthorizationEntrydecode(XdrDataInputStream stream) static SorobanAuthorizationEntrydecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) booleanstatic SorobanAuthorizationEntrystatic SorobanAuthorizationEntryfromXdrBase64(String xdr) static SorobanAuthorizationEntryfromXdrByteArray(byte[] xdr) inthashCode()voidsetCredentials(SorobanCredentials credentials) voidsetRootInvocation(SorobanAuthorizedInvocation rootInvocation) toJson()toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SorobanAuthorizationEntry
public SorobanAuthorizationEntry() -
SorobanAuthorizationEntry
public SorobanAuthorizationEntry(SorobanCredentials credentials, SorobanAuthorizedInvocation rootInvocation)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
public static SorobanAuthorizationEntry decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
- Specified by:
toJsonin interfaceXdrElement
-
fromJson
-
builder
-
toBuilder
-
getCredentials
-
getRootInvocation
-
setCredentials
-
setRootInvocation
-
equals
-
hashCode
public int hashCode() -
toString
-