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, toXdrByteArray
public RevokeSponsorshipOp()
public RevokeSponsorshipOp(RevokeSponsorshipType discriminant, LedgerKey ledgerKey, RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static RevokeSponsorshipOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static RevokeSponsorshipOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static RevokeSponsorshipOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object