public enum SwaggerFields extends Enum<SwaggerFields>
| Enum Constant and Description |
|---|
BOOLEAN |
DOUBLE |
FLOAT |
INT_32 |
INT_64 |
NUMBER |
STRING |
X_EXAMPLE |
X_IGNORE |
| Modifier and Type | Method and Description |
|---|---|
String |
getField() |
static SwaggerFields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwaggerFields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwaggerFields X_EXAMPLE
public static final SwaggerFields STRING
public static final SwaggerFields NUMBER
public static final SwaggerFields BOOLEAN
public static final SwaggerFields DOUBLE
public static final SwaggerFields FLOAT
public static final SwaggerFields X_IGNORE
public static final SwaggerFields INT_32
public static final SwaggerFields INT_64
public static SwaggerFields[] values()
for (SwaggerFields c : SwaggerFields.values()) System.out.println(c);
public static SwaggerFields 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 getField()
Copyright © 2018 Spring. All rights reserved.