Package org.stellar.sdk.xdr
Class RevokeSponsorshipOp
java.lang.Object
org.stellar.sdk.xdr.RevokeSponsorshipOp
- All Implemented Interfaces:
XdrElement
RevokeSponsorshipOp's original definition in the XDR file is:
union RevokeSponsorshipOp switch (RevokeSponsorshipType type)
{
case REVOKE_SPONSORSHIP_LEDGER_ENTRY:
LedgerKey ledgerKey;
case REVOKE_SPONSORSHIP_SIGNER:
struct
{
AccountID accountID;
SignerKey signerKey;
} signer;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classRevokeSponsorshipOpSigner's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionRevokeSponsorshipOp(RevokeSponsorshipType discriminant, LedgerKey ledgerKey, RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static RevokeSponsorshipOpdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic RevokeSponsorshipOpfromXdrBase64(String xdr) static RevokeSponsorshipOpfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(RevokeSponsorshipType discriminant) voidsetLedgerKey(LedgerKey ledgerKey) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
RevokeSponsorshipOp
public RevokeSponsorshipOp() -
RevokeSponsorshipOp
public RevokeSponsorshipOp(RevokeSponsorshipType discriminant, LedgerKey ledgerKey, RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getLedgerKey
-
getSigner
-
setDiscriminant
-
setLedgerKey
-
setSigner
-
equals
-
hashCode
public int hashCode() -
toString
-