Package io.swagger.models.properties
Class UUIDProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.UUIDProperty
-
public class UUIDProperty extends AbstractProperty implements Property
-
-
Field Summary
Fields Modifier and Type Field Description protected String_defaultprotected List<String>_enumprotected IntegermaxLengthprotected IntegerminLengthprotected Stringpattern-
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 UUIDProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDProperty_default(String _default)UUIDProperty_enum(String value)UUIDProperty_enum(List<String> value)booleanequals(Object obj)StringgetDefault()List<String>getEnum()IntegergetMaxLength()IntegergetMinLength()StringgetPattern()inthashCode()static booleanisType(String type, String format)UUIDPropertymaxLength(Integer maxLength)UUIDPropertyminLength(Integer minLength)UUIDPropertypattern(String pattern)UUIDPropertyreadOnly()voidsetDefault(String _default)voidsetEnum(List<String> _enum)voidsetMaxLength(Integer maxLength)voidsetMinLength(Integer minLength)voidsetPattern(String pattern)UUIDPropertyvendorExtension(String key, Object obj)UUIDPropertyxml(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, 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, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, title
-
-
-
-
Method Detail
-
_enum
public UUIDProperty _enum(String value)
-
_enum
public UUIDProperty _enum(List<String> value)
-
xml
public UUIDProperty xml(Xml xml)
-
minLength
public UUIDProperty minLength(Integer minLength)
-
maxLength
public UUIDProperty maxLength(Integer maxLength)
-
pattern
public UUIDProperty pattern(String pattern)
-
_default
public UUIDProperty _default(String _default)
-
vendorExtension
public UUIDProperty vendorExtension(String key, Object obj)
-
readOnly
public UUIDProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
getMinLength
public Integer getMinLength()
-
setMinLength
public void setMinLength(Integer minLength)
-
getMaxLength
public Integer getMaxLength()
-
setMaxLength
public void setMaxLength(Integer maxLength)
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
getDefault
public String getDefault()
-
setDefault
public void setDefault(String _default)
- Specified by:
setDefaultin interfaceProperty- Overrides:
setDefaultin classAbstractProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractProperty
-
-