Package io.swagger.models.properties
Class LongProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.AbstractNumericProperty
-
- io.swagger.models.properties.BaseIntegerProperty
-
- io.swagger.models.properties.LongProperty
-
public class LongProperty extends BaseIntegerProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected Long_defaultprotected List<Long>_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 LongProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongProperty_default(Long _default)LongProperty_default(String _default)LongProperty_enum(Long value)LongProperty_enum(List<Long> value)booleanequals(Object obj)LongPropertyexample(Long example)LonggetDefault()List<Long>getEnum()inthashCode()static booleanisType(String type, String format)LongPropertyreadOnly()voidsetDefault(Long _default)voidsetDefault(String _default)voidsetEnum(List<Long> _enum)LongPropertyvendorExtension(String key, Object obj)LongPropertyxml(Xml xml)-
Methods inherited from class io.swagger.models.properties.BaseIntegerProperty
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 Long _default
-
-
Method Detail
-
_enum
public LongProperty _enum(Long value)
-
_enum
public LongProperty _enum(List<Long> value)
-
xml
public LongProperty xml(Xml xml)
-
example
public LongProperty example(Long example)
-
_default
public LongProperty _default(String _default)
-
_default
public LongProperty _default(Long _default)
-
vendorExtension
public LongProperty vendorExtension(String key, Object obj)
-
readOnly
public LongProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
getDefault
public Long getDefault()
-
setDefault
public void setDefault(String _default)
- Specified by:
setDefaultin interfaceProperty- Overrides:
setDefaultin classAbstractProperty
-
setDefault
public void setDefault(Long _default)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNumericProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractNumericProperty
-
-