public class ClaimClaimableBalanceResult extends java.lang.Object implements XdrElement
union ClaimClaimableBalanceResult switch (ClaimClaimableBalanceResultCode code) { case CLAIM_CLAIMABLE_BALANCE_SUCCESS: void; case CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST: case CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM: case CLAIM_CLAIMABLE_BALANCE_LINE_FULL: case CLAIM_CLAIMABLE_BALANCE_NO_TRUST: case CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED: void; };
Modifier and Type | Class and Description |
---|---|
static class |
ClaimClaimableBalanceResult.ClaimClaimableBalanceResultBuilder |
Constructor and Description |
---|
ClaimClaimableBalanceResult() |
ClaimClaimableBalanceResult(ClaimClaimableBalanceResultCode discriminant) |
Modifier and Type | Method and Description |
---|---|
static ClaimClaimableBalanceResult.ClaimClaimableBalanceResultBuilder |
builder() |
static ClaimClaimableBalanceResult |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ClaimClaimableBalanceResult |
fromXdrBase64(java.lang.String xdr) |
static ClaimClaimableBalanceResult |
fromXdrByteArray(byte[] xdr) |
ClaimClaimableBalanceResultCode |
getDiscriminant() |
int |
hashCode() |
void |
setDiscriminant(ClaimClaimableBalanceResultCode discriminant) |
ClaimClaimableBalanceResult.ClaimClaimableBalanceResultBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ClaimClaimableBalanceResult()
public ClaimClaimableBalanceResult(ClaimClaimableBalanceResultCode discriminant)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ClaimClaimableBalanceResult decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ClaimClaimableBalanceResult fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ClaimClaimableBalanceResult fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ClaimClaimableBalanceResult.ClaimClaimableBalanceResultBuilder builder()
public ClaimClaimableBalanceResult.ClaimClaimableBalanceResultBuilder toBuilder()
public ClaimClaimableBalanceResultCode getDiscriminant()
public void setDiscriminant(ClaimClaimableBalanceResultCode discriminant)
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