Package org.stellar.sdk.xdr
Class SetTrustLineFlagsResult
java.lang.Object
org.stellar.sdk.xdr.SetTrustLineFlagsResult
SetTrustLineFlagsResult's original definition in the XDR file is:
union SetTrustLineFlagsResult switch (SetTrustLineFlagsResultCode code)
{
case SET_TRUST_LINE_FLAGS_SUCCESS:
void;
case SET_TRUST_LINE_FLAGS_MALFORMED:
case SET_TRUST_LINE_FLAGS_NO_TRUST_LINE:
case SET_TRUST_LINE_FLAGS_CANT_REVOKE:
case SET_TRUST_LINE_FLAGS_INVALID_STATE:
case SET_TRUST_LINE_FLAGS_LOW_RESERVE:
void;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SetTrustLineFlagsResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SetTrustLineFlagsResultfromXdrBase64(String xdr) static SetTrustLineFlagsResultfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(SetTrustLineFlagsResultCode discriminant) toString()default Stringdefault byte[]
-
Constructor Details
-
SetTrustLineFlagsResult
public SetTrustLineFlagsResult() -
SetTrustLineFlagsResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
setDiscriminant
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-