Package io.swagger.models.properties
Class BinaryProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.BinaryProperty
-
public class BinaryProperty 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 BinaryProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryProperty_default(String _default)booleanequals(Object obj)StringgetDefault()List<String>getEnum()IntegergetMaxLength()IntegergetMinLength()StringgetPattern()inthashCode()static booleanisType(String type, String format)BinaryPropertymaxLength(Integer maxLength)BinaryPropertyminLength(Integer minLength)BinaryPropertypattern(String pattern)BinaryPropertyreadOnly()voidsetDefault(String _default)voidsetEnum(List<String> _enum)voidsetMaxLength(Integer maxLength)voidsetMinLength(Integer minLength)voidsetPattern(String pattern)BinaryPropertyvendorExtension(String key, Object obj)BinaryPropertyxml(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
-
xml
public BinaryProperty xml(Xml xml)
-
minLength
public BinaryProperty minLength(Integer minLength)
-
maxLength
public BinaryProperty maxLength(Integer maxLength)
-
pattern
public BinaryProperty pattern(String pattern)
-
_default
public BinaryProperty _default(String _default)
-
vendorExtension
public BinaryProperty vendorExtension(String key, Object obj)
-
readOnly
public BinaryProperty 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
-
-