Package io.swagger.models.properties
Class DateTimeProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.DateTimeProperty
-
public class DateTimeProperty 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 DateTimeProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeProperty_enum(String value)DateTimeProperty_enum(List<String> value)DateTimePropertyexample(String example)List<String>getEnum()static booleanisType(String type, String format)DateTimePropertyreadOnly()voidsetEnum(List<String> _enum)DateTimePropertyvendorExtension(String key, Object obj)DateTimePropertyxml(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 DateTimeProperty _enum(String value)
-
_enum
public DateTimeProperty _enum(List<String> value)
-
xml
public DateTimeProperty xml(Xml xml)
-
example
public DateTimeProperty example(String example)
-
vendorExtension
public DateTimeProperty vendorExtension(String key, Object obj)
-
readOnly
public DateTimeProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
-