public static enum ApiKeyAuthDefinition.ApiKeyLocation extends Enum<ApiKeyAuthDefinition.ApiKeyLocation>
Modifier and Type | Method and Description |
---|---|
static ApiKeyAuthDefinition.ApiKeyLocation |
forValue(String value) |
String |
toValue() |
static ApiKeyAuthDefinition.ApiKeyLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiKeyAuthDefinition.ApiKeyLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiKeyAuthDefinition.ApiKeyLocation HEADER
public static final ApiKeyAuthDefinition.ApiKeyLocation QUERY
public static ApiKeyAuthDefinition.ApiKeyLocation[] values()
for (ApiKeyAuthDefinition.ApiKeyLocation c : ApiKeyAuthDefinition.ApiKeyLocation.values()) System.out.println(c);
public static ApiKeyAuthDefinition.ApiKeyLocation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ApiKeyAuthDefinition.ApiKeyLocation forValue(String value)
public String toValue()
Copyright © 2017. All Rights Reserved.