Package io.swagger.models.properties
Class BooleanProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.BooleanProperty
-
public class BooleanProperty extends AbstractProperty implements Property
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean_defaultprotected List<Boolean>_enumstatic StringTYPE-
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 BooleanProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanProperty_default(boolean _default)BooleanProperty_default(String _default)BooleanProperty_enum(Boolean value)booleanequals(Object o)BooleanPropertyexample(Boolean example)BooleangetDefault()List<Boolean>getEnum()inthashCode()static booleanisType(String type, String format)BooleanPropertyreadOnly()voidsetDefault(Boolean _default)voidsetDefault(String _default)voidsetEnum(List<Boolean> _enum)voidsetExample(Object example)BooleanPropertyvendorExtension(String key, Object obj)BooleanPropertyxml(Xml xml)-
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
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
_default
protected Boolean _default
-
-
Method Detail
-
_enum
public BooleanProperty _enum(Boolean value)
-
xml
public BooleanProperty xml(Xml xml)
-
example
public BooleanProperty example(Boolean example)
-
setExample
public void setExample(Object example)
- Specified by:
setExamplein interfaceProperty- Overrides:
setExamplein classAbstractProperty
-
_default
public BooleanProperty _default(String _default)
-
_default
public BooleanProperty _default(boolean _default)
-
vendorExtension
public BooleanProperty vendorExtension(String key, Object obj)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractProperty
-
readOnly
public BooleanProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
getDefault
public Boolean getDefault()
-
setDefault
public void setDefault(String _default)
- Specified by:
setDefaultin interfaceProperty- Overrides:
setDefaultin classAbstractProperty
-
setDefault
public void setDefault(Boolean _default)
-
-