Package io.swagger.models.properties
Class DoubleProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.AbstractNumericProperty
-
- io.swagger.models.properties.DecimalProperty
-
- io.swagger.models.properties.DoubleProperty
-
public class DoubleProperty extends DecimalProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected Double_defaultprotected List<Double>_enumstatic StringFORMAT-
Fields inherited from class io.swagger.models.properties.DecimalProperty
TYPE
-
Fields inherited from class io.swagger.models.properties.AbstractNumericProperty
exclusiveMaximum, exclusiveMinimum, maximum, minimum, multipleOf
-
Fields inherited from class io.swagger.models.properties.AbstractProperty
access, allowEmptyValue, booleanValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
-
-
Constructor Summary
Constructors Constructor Description DoubleProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleProperty_default(Double _default)DoubleProperty_default(String _default)DoubleProperty_enum(Double value)DoubleProperty_enum(List<Double> value)booleanequals(Object obj)DoublePropertyexample(Double example)DoublegetDefault()List<Double>getEnum()inthashCode()static booleanisType(String type, String format)DoublePropertyreadOnly()voidsetDefault(Double _default)voidsetDefault(String _default)voidsetEnum(List<Double> _enum)DoublePropertyvendorExtension(String key, Object obj)DoublePropertyxml(Xml xml)-
Methods inherited from class io.swagger.models.properties.DecimalProperty
example, setExample
-
Methods inherited from class io.swagger.models.properties.AbstractNumericProperty
exclusiveMaximum, exclusiveMinimum, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, getMultipleOf, maximum, minimum, multipleOf, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimum, setMultipleOf
-
Methods inherited from class io.swagger.models.properties.AbstractProperty
allowEmptyValue, description, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setBooleanValue, setDescription, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml, title
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.swagger.models.properties.Property
description, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setBooleanValue, setDescription, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, title
-
-
-
-
Field Detail
-
FORMAT
public static final String FORMAT
- See Also:
- Constant Field Values
-
_default
protected Double _default
-
-
Method Detail
-
_enum
public DoubleProperty _enum(Double value)
-
_enum
public DoubleProperty _enum(List<Double> value)
-
xml
public DoubleProperty xml(Xml xml)
- Overrides:
xmlin classDecimalProperty
-
example
public DoubleProperty example(Double example)
-
_default
public DoubleProperty _default(String _default)
-
_default
public DoubleProperty _default(Double _default)
-
vendorExtension
public DoubleProperty vendorExtension(String key, Object obj)
- Overrides:
vendorExtensionin classDecimalProperty
-
readOnly
public DoubleProperty readOnly()
- Overrides:
readOnlyin classDecimalProperty
-
getDefault
public Double getDefault()
-
setDefault
public void setDefault(String _default)
- Specified by:
setDefaultin interfaceProperty- Overrides:
setDefaultin classAbstractProperty
-
setDefault
public void setDefault(Double _default)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNumericProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractNumericProperty
-
-