Enum Parameter.StyleEnum
- java.lang.Object
-
- java.lang.Enum<Parameter.StyleEnum>
-
- io.swagger.v3.oas.models.parameters.Parameter.StyleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Parameter.StyleEnum>
- Enclosing class:
- Parameter
public static enum Parameter.StyleEnum extends Enum<Parameter.StyleEnum>
Gets or Sets style
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEEPOBJECTFORMLABELMATRIXPIPEDELIMITEDSIMPLESPACEDELIMITED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Parameter.StyleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Parameter.StyleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATRIX
public static final Parameter.StyleEnum MATRIX
-
LABEL
public static final Parameter.StyleEnum LABEL
-
FORM
public static final Parameter.StyleEnum FORM
-
SIMPLE
public static final Parameter.StyleEnum SIMPLE
-
SPACEDELIMITED
public static final Parameter.StyleEnum SPACEDELIMITED
-
PIPEDELIMITED
public static final Parameter.StyleEnum PIPEDELIMITED
-
DEEPOBJECT
public static final Parameter.StyleEnum DEEPOBJECT
-
-
Method Detail
-
values
public static Parameter.StyleEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Parameter.StyleEnum c : Parameter.StyleEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Parameter.StyleEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<Parameter.StyleEnum>
-
-