public enum ExtendFootprintTTLResultCode extends java.lang.Enum<ExtendFootprintTTLResultCode> implements XdrElement
enum ExtendFootprintTTLResultCode { // codes considered as "success" for the operation EXTEND_FOOTPRINT_TTL_SUCCESS = 0, // codes considered as "failure" for the operation EXTEND_FOOTPRINT_TTL_MALFORMED = -1, EXTEND_FOOTPRINT_TTL_RESOURCE_LIMIT_EXCEEDED = -2, EXTEND_FOOTPRINT_TTL_INSUFFICIENT_REFUNDABLE_FEE = -3 };
Enum Constant and Description |
---|
EXTEND_FOOTPRINT_TTL_INSUFFICIENT_REFUNDABLE_FEE |
EXTEND_FOOTPRINT_TTL_MALFORMED |
EXTEND_FOOTPRINT_TTL_RESOURCE_LIMIT_EXCEEDED |
EXTEND_FOOTPRINT_TTL_SUCCESS |
Modifier and Type | Method and Description |
---|---|
static ExtendFootprintTTLResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ExtendFootprintTTLResultCode |
fromXdrBase64(java.lang.String xdr) |
static ExtendFootprintTTLResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ExtendFootprintTTLResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtendFootprintTTLResultCode[] |
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 ExtendFootprintTTLResultCode EXTEND_FOOTPRINT_TTL_SUCCESS
public static final ExtendFootprintTTLResultCode EXTEND_FOOTPRINT_TTL_MALFORMED
public static final ExtendFootprintTTLResultCode EXTEND_FOOTPRINT_TTL_RESOURCE_LIMIT_EXCEEDED
public static final ExtendFootprintTTLResultCode EXTEND_FOOTPRINT_TTL_INSUFFICIENT_REFUNDABLE_FEE
public static ExtendFootprintTTLResultCode[] values()
for (ExtendFootprintTTLResultCode c : ExtendFootprintTTLResultCode.values()) System.out.println(c);
public static ExtendFootprintTTLResultCode 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 ExtendFootprintTTLResultCode 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 ExtendFootprintTTLResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ExtendFootprintTTLResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException