Package io.swagger.codegen.v3.service
Enum GenerationRequest.Type
- java.lang.Object
-
- java.lang.Enum<GenerationRequest.Type>
-
- io.swagger.codegen.v3.service.GenerationRequest.Type
-
- All Implemented Interfaces:
Serializable,Comparable<GenerationRequest.Type>
- Enclosing class:
- GenerationRequest
public static enum GenerationRequest.Type extends Enum<GenerationRequest.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENTCONFIGDOCUMENTATIONSERVER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenerationRequest.TypefromValue(String name)StringgetTypeName()static GenerationRequest.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static GenerationRequest.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT
public static final GenerationRequest.Type CLIENT
-
SERVER
public static final GenerationRequest.Type SERVER
-
DOCUMENTATION
public static final GenerationRequest.Type DOCUMENTATION
-
CONFIG
public static final GenerationRequest.Type CONFIG
-
-
Method Detail
-
values
public static GenerationRequest.Type[] 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 (GenerationRequest.Type c : GenerationRequest.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenerationRequest.Type 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
-
getTypeName
public String getTypeName()
-
fromValue
public static GenerationRequest.Type fromValue(String name)
-
-