Package com.intercom.api.core
Enum ApiVersion.Value
- java.lang.Object
-
- java.lang.Enum<ApiVersion.Value>
-
- com.intercom.api.core.ApiVersion.Value
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ApiVersion.Value>
- Enclosing class:
- ApiVersion
public static enum ApiVersion.Value extends java.lang.Enum<ApiVersion.Value>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApiVersion.ValuevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ApiVersion.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_1_0
public static final ApiVersion.Value _1_0
-
_1_1
public static final ApiVersion.Value _1_1
-
_1_2
public static final ApiVersion.Value _1_2
-
_1_3
public static final ApiVersion.Value _1_3
-
_1_4
public static final ApiVersion.Value _1_4
-
_2_0
public static final ApiVersion.Value _2_0
-
_2_1
public static final ApiVersion.Value _2_1
-
_2_2
public static final ApiVersion.Value _2_2
-
_2_3
public static final ApiVersion.Value _2_3
-
_2_4
public static final ApiVersion.Value _2_4
-
_2_5
public static final ApiVersion.Value _2_5
-
_2_6
public static final ApiVersion.Value _2_6
-
_2_7
public static final ApiVersion.Value _2_7
-
_2_8
public static final ApiVersion.Value _2_8
-
_2_9
public static final ApiVersion.Value _2_9
-
_2_10
public static final ApiVersion.Value _2_10
-
_2_11
public static final ApiVersion.Value _2_11
-
_2_12
public static final ApiVersion.Value _2_12
-
_2_13
public static final ApiVersion.Value _2_13
-
_2_14
public static final ApiVersion.Value _2_14
-
UNSTABLE
public static final ApiVersion.Value UNSTABLE
-
UNKNOWN
public static final ApiVersion.Value UNKNOWN
-
-
Method Detail
-
values
public static ApiVersion.Value[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ApiVersion.Value c : ApiVersion.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiVersion.Value valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-