public class RevokeSponsorshipOp extends java.lang.Object implements XdrElement
union RevokeSponsorshipOp switch (RevokeSponsorshipType type)
{
case REVOKE_SPONSORSHIP_LEDGER_ENTRY:
LedgerKey ledgerKey;
case REVOKE_SPONSORSHIP_SIGNER:
struct
{
AccountID accountID;
SignerKey signerKey;
} signer;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
RevokeSponsorshipOp.RevokeSponsorshipOpBuilder |
static class |
RevokeSponsorshipOp.RevokeSponsorshipOpSigner
RevokeSponsorshipOpSigner's original definition in the XDR file is:
|
| Constructor and Description |
|---|
RevokeSponsorshipOp() |
RevokeSponsorshipOp(RevokeSponsorshipType discriminant,
LedgerKey ledgerKey,
RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer) |
| Modifier and Type | Method and Description |
|---|---|
static RevokeSponsorshipOp.RevokeSponsorshipOpBuilder |
builder() |
static RevokeSponsorshipOp |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static RevokeSponsorshipOp |
fromXdrBase64(java.lang.String xdr) |
static RevokeSponsorshipOp |
fromXdrByteArray(byte[] xdr) |
RevokeSponsorshipType |
getDiscriminant() |
LedgerKey |
getLedgerKey() |
RevokeSponsorshipOp.RevokeSponsorshipOpSigner |
getSigner() |
int |
hashCode() |
void |
setDiscriminant(RevokeSponsorshipType discriminant) |
void |
setLedgerKey(LedgerKey ledgerKey) |
void |
setSigner(RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer) |
RevokeSponsorshipOp.RevokeSponsorshipOpBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic RevokeSponsorshipOp()
public RevokeSponsorshipOp(RevokeSponsorshipType discriminant, LedgerKey ledgerKey, RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static RevokeSponsorshipOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static RevokeSponsorshipOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static RevokeSponsorshipOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static RevokeSponsorshipOp.RevokeSponsorshipOpBuilder builder()
public RevokeSponsorshipOp.RevokeSponsorshipOpBuilder toBuilder()
public RevokeSponsorshipType getDiscriminant()
public LedgerKey getLedgerKey()
public RevokeSponsorshipOp.RevokeSponsorshipOpSigner getSigner()
public void setDiscriminant(RevokeSponsorshipType discriminant)
public void setLedgerKey(LedgerKey ledgerKey)
public void setSigner(RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer)
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