Package io.swagger.models.properties
Class DateProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.DateProperty
-
public class DateProperty extends AbstractProperty implements Property
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>_enum-
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 DateProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateProperty_enum(String value)DateProperty_enum(List<String> value)DatePropertyexample(String example)List<String>getEnum()static booleanisType(String type, String format)DatePropertyreadOnly()voidsetEnum(List<String> _enum)DatePropertyvendorExtension(String key, Object obj)DatePropertyxml(Xml xml)-
Methods inherited from class io.swagger.models.properties.AbstractProperty
allowEmptyValue, description, equals, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, hashCode, rename, setAccess, setAllowEmptyValue, setBooleanValue, setDefault, setDescription, setExample, 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, setDefault, setDescription, setExample, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, title
-
-
-
-
Method Detail
-
_enum
public DateProperty _enum(String value)
-
_enum
public DateProperty _enum(List<String> value)
-
xml
public DateProperty xml(Xml xml)
-
example
public DateProperty example(String example)
-
vendorExtension
public DateProperty vendorExtension(String key, Object obj)
-
readOnly
public DateProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
-