Package io.swagger.v3.oas.models.media
Enum Encoding.StyleEnum
- java.lang.Object
-
- java.lang.Enum<Encoding.StyleEnum>
-
- io.swagger.v3.oas.models.media.Encoding.StyleEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<Encoding.StyleEnum>
- Enclosing class:
- Encoding
public static enum Encoding.StyleEnum extends Enum<Encoding.StyleEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEEP_OBJECT
FORM
PIPE_DELIMITED
SPACE_DELIMITED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Encoding.StyleEnum
fromString(String value)
String
toString()
static Encoding.StyleEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static Encoding.StyleEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORM
public static final Encoding.StyleEnum FORM
-
SPACE_DELIMITED
public static final Encoding.StyleEnum SPACE_DELIMITED
-
PIPE_DELIMITED
public static final Encoding.StyleEnum PIPE_DELIMITED
-
DEEP_OBJECT
public static final Encoding.StyleEnum DEEP_OBJECT
-
-
Method Detail
-
values
public static Encoding.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 (Encoding.StyleEnum c : Encoding.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 Encoding.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:
toString
in classEnum<Encoding.StyleEnum>
-
fromString
public static Encoding.StyleEnum fromString(String value)
-
-