public static enum ApiDeclaration.SwaggerVersion extends Enum<ApiDeclaration.SwaggerVersion>
| Enum Constant and Description |
|---|
_1_2 |
| Modifier and Type | Method and Description |
|---|---|
static ApiDeclaration.SwaggerVersion |
fromValue(String value) |
String |
toString() |
String |
value() |
static ApiDeclaration.SwaggerVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiDeclaration.SwaggerVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiDeclaration.SwaggerVersion _1_2
public static ApiDeclaration.SwaggerVersion[] values()
for (ApiDeclaration.SwaggerVersion c : ApiDeclaration.SwaggerVersion.values()) System.out.println(c);
public static ApiDeclaration.SwaggerVersion 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 String toString()
toString in class Enum<ApiDeclaration.SwaggerVersion>public String value()
public static ApiDeclaration.SwaggerVersion fromValue(String value)
Copyright © 2011–2017 Red Hat. All rights reserved.