public class RevokeSponsorshipResult extends java.lang.Object implements XdrElement
union RevokeSponsorshipResult switch (RevokeSponsorshipResultCode code)
{
case REVOKE_SPONSORSHIP_SUCCESS:
void;
case REVOKE_SPONSORSHIP_DOES_NOT_EXIST:
case REVOKE_SPONSORSHIP_NOT_SPONSOR:
case REVOKE_SPONSORSHIP_LOW_RESERVE:
case REVOKE_SPONSORSHIP_ONLY_TRANSFERABLE:
case REVOKE_SPONSORSHIP_MALFORMED:
void;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
RevokeSponsorshipResult.RevokeSponsorshipResultBuilder |
| Constructor and Description |
|---|
RevokeSponsorshipResult() |
RevokeSponsorshipResult(RevokeSponsorshipResultCode discriminant) |
| Modifier and Type | Method and Description |
|---|---|
static RevokeSponsorshipResult.RevokeSponsorshipResultBuilder |
builder() |
static RevokeSponsorshipResult |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static RevokeSponsorshipResult |
fromXdrBase64(java.lang.String xdr) |
static RevokeSponsorshipResult |
fromXdrByteArray(byte[] xdr) |
RevokeSponsorshipResultCode |
getDiscriminant() |
int |
hashCode() |
void |
setDiscriminant(RevokeSponsorshipResultCode discriminant) |
RevokeSponsorshipResult.RevokeSponsorshipResultBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic RevokeSponsorshipResult()
public RevokeSponsorshipResult(RevokeSponsorshipResultCode discriminant)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static RevokeSponsorshipResult decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static RevokeSponsorshipResult fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static RevokeSponsorshipResult fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static RevokeSponsorshipResult.RevokeSponsorshipResultBuilder builder()
public RevokeSponsorshipResult.RevokeSponsorshipResultBuilder toBuilder()
public RevokeSponsorshipResultCode getDiscriminant()
public void setDiscriminant(RevokeSponsorshipResultCode discriminant)
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