public enum EndSponsoringFutureReservesResultCode extends java.lang.Enum<EndSponsoringFutureReservesResultCode> implements XdrElement
enum EndSponsoringFutureReservesResultCode { // codes considered as "success" for the operation END_SPONSORING_FUTURE_RESERVES_SUCCESS = 0, // codes considered as "failure" for the operation END_SPONSORING_FUTURE_RESERVES_NOT_SPONSORED = -1 };
Enum Constant and Description |
---|
END_SPONSORING_FUTURE_RESERVES_NOT_SPONSORED |
END_SPONSORING_FUTURE_RESERVES_SUCCESS |
Modifier and Type | Method and Description |
---|---|
static EndSponsoringFutureReservesResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static EndSponsoringFutureReservesResultCode |
fromXdrBase64(java.lang.String xdr) |
static EndSponsoringFutureReservesResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static EndSponsoringFutureReservesResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EndSponsoringFutureReservesResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final EndSponsoringFutureReservesResultCode END_SPONSORING_FUTURE_RESERVES_SUCCESS
public static final EndSponsoringFutureReservesResultCode END_SPONSORING_FUTURE_RESERVES_NOT_SPONSORED
public static EndSponsoringFutureReservesResultCode[] values()
for (EndSponsoringFutureReservesResultCode c : EndSponsoringFutureReservesResultCode.values()) System.out.println(c);
public static EndSponsoringFutureReservesResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static EndSponsoringFutureReservesResultCode decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static EndSponsoringFutureReservesResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static EndSponsoringFutureReservesResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException