public enum APIVersion extends java.lang.Enum<APIVersion>
| Enum Constant and Description |
|---|
V_2008_08_01 |
V_2010_04_01 |
| Modifier and Type | Field and Description |
|---|---|
static APIVersion |
CURRENT
The API version that this library version adheres to (always the last and most recent enum value).
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static APIVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIVersion V_2008_08_01
public static final APIVersion V_2010_04_01
public static final APIVersion CURRENT
public static APIVersion[] values()
for (APIVersion c : APIVersion.values()) System.out.println(c);
public static APIVersion 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 java.lang.String toString()
toString in class java.lang.Enum<APIVersion>