Package io.swagger.models.properties
Class FloatProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.AbstractNumericProperty
-
- io.swagger.models.properties.DecimalProperty
-
- io.swagger.models.properties.FloatProperty
-
public class FloatProperty extends DecimalProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected Float_defaultprotected List<Float>_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 FloatProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatProperty_default(Float _default)FloatProperty_default(String _default)FloatProperty_enum(Float value)FloatProperty_enum(List<Float> value)booleanequals(Object obj)FloatPropertyexample(Float example)FloatgetDefault()List<Float>getEnum()inthashCode()static booleanisType(String type, String format)FloatPropertyreadOnly()voidsetDefault(Float _default)voidsetDefault(String _default)voidsetEnum(List<Float> _enum)voidsetExample(Object example)FloatPropertyvendorExtension(String key, Object obj)FloatPropertyxml(Xml xml)-
Methods inherited from class io.swagger.models.properties.DecimalProperty
example
-
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 Float _default
-
-
Method Detail
-
_enum
public FloatProperty _enum(Float value)
-
_enum
public FloatProperty _enum(List<Float> value)
-
xml
public FloatProperty xml(Xml xml)
- Overrides:
xmlin classDecimalProperty
-
example
public FloatProperty example(Float example)
-
setExample
public void setExample(Object example)
- Specified by:
setExamplein interfaceProperty- Overrides:
setExamplein classDecimalProperty
-
_default
public FloatProperty _default(String _default)
-
_default
public FloatProperty _default(Float _default)
-
vendorExtension
public FloatProperty vendorExtension(String key, Object obj)
- Overrides:
vendorExtensionin classDecimalProperty
-
getDefault
public Float getDefault()
-
setDefault
public void setDefault(String _default)
- Specified by:
setDefaultin interfaceProperty- Overrides:
setDefaultin classAbstractProperty
-
setDefault
public void setDefault(Float _default)
-
readOnly
public FloatProperty readOnly()
- Overrides:
readOnlyin classDecimalProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNumericProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractNumericProperty
-
-