Package io.swagger.models.properties
Class IntegerProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.AbstractNumericProperty
-
- io.swagger.models.properties.BaseIntegerProperty
-
- io.swagger.models.properties.IntegerProperty
-
public class IntegerProperty extends BaseIntegerProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer_defaultprotected List<Integer>_enumstatic StringFORMAT-
Fields inherited from class io.swagger.models.properties.BaseIntegerProperty
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 IntegerProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerProperty_default(Integer _default)IntegerProperty_default(String _default)IntegerProperty_enum(Integer value)IntegerProperty_enum(List<Integer> value)booleanequals(Object obj)IntegerPropertyexample(Integer example)IntegergetDefault()List<Integer>getEnum()inthashCode()static booleanisType(String type, String format)IntegerPropertyreadOnly()voidsetDefault(Integer _default)voidsetDefault(String _default)voidsetEnum(List<Integer> _enum)voidsetExample(Object example)IntegerPropertyvendorExtension(String key, Object obj)IntegerPropertyxml(Xml xml)-
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 Integer _default
-
-
Method Detail
-
_enum
public IntegerProperty _enum(Integer value)
-
_enum
public IntegerProperty _enum(List<Integer> value)
-
xml
public IntegerProperty xml(Xml xml)
-
example
public IntegerProperty example(Integer example)
-
readOnly
public IntegerProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
setExample
public void setExample(Object example)
- Specified by:
setExamplein interfaceProperty- Overrides:
setExamplein classBaseIntegerProperty
-
_default
public IntegerProperty _default(String _default)
-
_default
public IntegerProperty _default(Integer _default)
-
vendorExtension
public IntegerProperty vendorExtension(String key, Object obj)
-
getDefault
public Integer getDefault()
-
setDefault
public void setDefault(String _default)
- Specified by:
setDefaultin interfaceProperty- Overrides:
setDefaultin classAbstractProperty
-
setDefault
public void setDefault(Integer _default)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNumericProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractNumericProperty
-
-