Package io.swagger.models.properties
Class PasswordProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.PasswordProperty
-
public class PasswordProperty extends AbstractProperty implements Property
-
-
Field Summary
Fields Modifier and Type Field Description protected String_defaultprotected List<String>_enumprotected IntegermaxLengthprotected IntegerminLengthprotected Stringpatternstatic 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 PasswordProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordProperty_default(String _default)PasswordProperty_enum(String value)PasswordProperty_enum(List<String> value)booleanequals(Object obj)StringgetDefault()List<String>getEnum()IntegergetMaxLength()IntegergetMinLength()StringgetPattern()inthashCode()static booleanisType(String type, String format)PasswordPropertymaxLength(Integer maxLength)PasswordPropertyminLength(Integer minLength)PasswordPropertypattern(String pattern)PasswordPropertyreadOnly()voidsetDefault(String _default)voidsetEnum(List<String> _enum)voidsetMaxLength(Integer maxLength)voidsetMinLength(Integer minLength)voidsetPattern(String pattern)PasswordPropertyvendorExtension(String key, Object obj)PasswordPropertyxml(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 PasswordProperty _enum(String value)
-
_enum
public PasswordProperty _enum(List<String> value)
-
xml
public PasswordProperty xml(Xml xml)
-
minLength
public PasswordProperty minLength(Integer minLength)
-
maxLength
public PasswordProperty maxLength(Integer maxLength)
-
pattern
public PasswordProperty pattern(String pattern)
-
_default
public PasswordProperty _default(String _default)
-
vendorExtension
public PasswordProperty vendorExtension(String key, Object obj)
-
readOnly
public PasswordProperty 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
-
-