public enum ApiKeyType extends java.lang.Enum<ApiKeyType>
| Enum Constant and Description |
|---|
PRODUCTION |
SANDBOX |
| Modifier and Type | Method and Description |
|---|---|
static ApiKeyType |
parse(java.lang.String name) |
static java.util.List<ApiKeyType> |
toKeyTypeList(java.util.List<java.lang.String> names) |
static ApiKeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiKeyType PRODUCTION
public static final ApiKeyType SANDBOX
public static ApiKeyType[] values()
for (ApiKeyType c : ApiKeyType.values()) System.out.println(c);
public static ApiKeyType 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 static java.util.List<ApiKeyType> toKeyTypeList(java.util.List<java.lang.String> names)
public static ApiKeyType parse(java.lang.String name)