Constructor and Description |
---|
DateTimeSchema() |
Modifier and Type | Method and Description |
---|---|
DateTimeSchema |
_default(Date _default) |
DateTimeSchema |
_enum(List<Date> _enum) |
DateTimeSchema |
addEnumItem(Date _enumItem) |
protected Date |
cast(Object value) |
boolean |
equals(Object o) |
DateTimeSchema |
format(String format) |
String |
getFormat()
returns the format property from a DateTimeSchema instance.
|
String |
getType()
returns the type property from a DateTimeSchema instance.
|
int |
hashCode() |
void |
setFormat(String format) |
void |
setType(String type) |
String |
toString() |
DateTimeSchema |
type(String type) |
$ref, addEnumItemObject, addExtension, additionalProperties, addProperties, addRequiredItem, deprecated, description, discriminator, example, exclusiveMaximum, exclusiveMinimum, extensions, externalDocs, get$ref, getAdditionalProperties, getDefault, getDeprecated, getDescription, getDiscriminator, getEnum, getExample, getExclusiveMaximum, getExclusiveMinimum, getExtensions, getExternalDocs, getMaximum, getMaxItems, getMaxLength, getMaxProperties, getMinimum, getMinItems, getMinLength, getMinProperties, getMultipleOf, getName, getNot, getNullable, getPattern, getProperties, getReadOnly, getRequired, getTitle, getUniqueItems, getWriteOnly, getXml, maximum, maxItems, maxLength, maxProperties, minimum, minItems, minLength, minProperties, multipleOf, name, not, nullable, pattern, properties, readOnly, required, set$ref, setAdditionalProperties, setDefault, setDeprecated, setDescription, setDiscriminator, setEnum, setExample, setExclusiveMaximum, setExclusiveMinimum, setExtensions, setExternalDocs, setMaximum, setMaxItems, setMaxLength, setMaxProperties, setMinimum, setMinItems, setMinLength, setMinProperties, setMultipleOf, setName, setNot, setNullable, setPattern, setProperties, setReadOnly, setRequired, setTitle, setUniqueItems, setWriteOnly, setXml, title, uniqueItems, writeOnly, xml
public String getType()
public DateTimeSchema type(String type)
public String getFormat()
public DateTimeSchema format(String format)
public DateTimeSchema _default(Date _default)
public DateTimeSchema _enum(List<Date> _enum)
public DateTimeSchema addEnumItem(Date _enumItem)
Copyright © 2018. All rights reserved.