public static class HashIDPreimage.HashIDPreimageSorobanAuthorization extends java.lang.Object implements XdrElement
struct
{
Hash networkID;
int64 nonce;
uint32 signatureExpirationLedger;
SorobanAuthorizedInvocation invocation;
}
| Modifier and Type | Class and Description |
|---|---|
static class |
HashIDPreimage.HashIDPreimageSorobanAuthorization.HashIDPreimageSorobanAuthorizationBuilder |
| Constructor and Description |
|---|
HashIDPreimageSorobanAuthorization() |
HashIDPreimageSorobanAuthorization(Hash networkID,
Int64 nonce,
Uint32 signatureExpirationLedger,
SorobanAuthorizedInvocation invocation) |
toXdrBase64, toXdrByteArraypublic HashIDPreimageSorobanAuthorization()
public HashIDPreimageSorobanAuthorization(Hash networkID, Int64 nonce, Uint32 signatureExpirationLedger, SorobanAuthorizedInvocation invocation)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static HashIDPreimage.HashIDPreimageSorobanAuthorization decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static HashIDPreimage.HashIDPreimageSorobanAuthorization fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static HashIDPreimage.HashIDPreimageSorobanAuthorization fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static HashIDPreimage.HashIDPreimageSorobanAuthorization.HashIDPreimageSorobanAuthorizationBuilder builder()
public HashIDPreimage.HashIDPreimageSorobanAuthorization.HashIDPreimageSorobanAuthorizationBuilder toBuilder()
public Hash getNetworkID()
public Int64 getNonce()
public Uint32 getSignatureExpirationLedger()
public SorobanAuthorizedInvocation getInvocation()
public void setNetworkID(Hash networkID)
public void setNonce(Int64 nonce)
public void setSignatureExpirationLedger(Uint32 signatureExpirationLedger)
public void setInvocation(SorobanAuthorizedInvocation invocation)
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