public enum OpenApiSecurityScheme extends Enum<OpenApiSecurityScheme>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalTo(String type) |
String |
getName() |
static Set<String> |
namesAndAliases() |
String |
toString() |
static OpenApiSecurityScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenApiSecurityScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenApiSecurityScheme OAUTH2
public static final OpenApiSecurityScheme BASIC
public static final OpenApiSecurityScheme API_KEY
public static OpenApiSecurityScheme[] values()
for (OpenApiSecurityScheme c : OpenApiSecurityScheme.values()) System.out.println(c);
public static OpenApiSecurityScheme 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 boolean equalTo(String type)
public String getName()
public String toString()
toString in class Enum<OpenApiSecurityScheme>Copyright © 2016–2021 Red Hat. All rights reserved.