Package io.swagger.models.properties
Enum PropertyBuilder.PropertyId
- java.lang.Object
-
- java.lang.Enum<PropertyBuilder.PropertyId>
-
- io.swagger.models.properties.PropertyBuilder.PropertyId
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyBuilder.PropertyId>
- Enclosing class:
- PropertyBuilder
public static enum PropertyBuilder.PropertyId extends Enum<PropertyBuilder.PropertyId>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TfindValue(Map<PropertyBuilder.PropertyId,Object> args)StringgetPropertyName()static PropertyBuilder.PropertyIdvalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyBuilder.PropertyId[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENUM
public static final PropertyBuilder.PropertyId ENUM
-
TITLE
public static final PropertyBuilder.PropertyId TITLE
-
DESCRIPTION
public static final PropertyBuilder.PropertyId DESCRIPTION
-
DEFAULT
public static final PropertyBuilder.PropertyId DEFAULT
-
PATTERN
public static final PropertyBuilder.PropertyId PATTERN
-
DESCRIMINATOR
public static final PropertyBuilder.PropertyId DESCRIMINATOR
-
MIN_ITEMS
public static final PropertyBuilder.PropertyId MIN_ITEMS
-
MAX_ITEMS
public static final PropertyBuilder.PropertyId MAX_ITEMS
-
MIN_PROPERTIES
public static final PropertyBuilder.PropertyId MIN_PROPERTIES
-
MAX_PROPERTIES
public static final PropertyBuilder.PropertyId MAX_PROPERTIES
-
MIN_LENGTH
public static final PropertyBuilder.PropertyId MIN_LENGTH
-
MAX_LENGTH
public static final PropertyBuilder.PropertyId MAX_LENGTH
-
MINIMUM
public static final PropertyBuilder.PropertyId MINIMUM
-
MAXIMUM
public static final PropertyBuilder.PropertyId MAXIMUM
-
EXCLUSIVE_MINIMUM
public static final PropertyBuilder.PropertyId EXCLUSIVE_MINIMUM
-
EXCLUSIVE_MAXIMUM
public static final PropertyBuilder.PropertyId EXCLUSIVE_MAXIMUM
-
UNIQUE_ITEMS
public static final PropertyBuilder.PropertyId UNIQUE_ITEMS
-
EXAMPLE
public static final PropertyBuilder.PropertyId EXAMPLE
-
TYPE
public static final PropertyBuilder.PropertyId TYPE
-
FORMAT
public static final PropertyBuilder.PropertyId FORMAT
-
READ_ONLY
public static final PropertyBuilder.PropertyId READ_ONLY
-
REQUIRED
public static final PropertyBuilder.PropertyId REQUIRED
-
VENDOR_EXTENSIONS
public static final PropertyBuilder.PropertyId VENDOR_EXTENSIONS
-
ALLOW_EMPTY_VALUE
public static final PropertyBuilder.PropertyId ALLOW_EMPTY_VALUE
-
MULTIPLE_OF
public static final PropertyBuilder.PropertyId MULTIPLE_OF
-
ADDITIONAL_PROPERTIES
public static final PropertyBuilder.PropertyId ADDITIONAL_PROPERTIES
-
-
Method Detail
-
values
public static PropertyBuilder.PropertyId[] 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 (PropertyBuilder.PropertyId c : PropertyBuilder.PropertyId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyBuilder.PropertyId 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
-
getPropertyName
public String getPropertyName()
-
findValue
public <T> T findValue(Map<PropertyBuilder.PropertyId,Object> args)
-
-