Package io.swagger.models.properties
Class MapProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.MapProperty
-
public class MapProperty extends AbstractProperty implements Property
-
-
Field Summary
-
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 MapProperty()MapProperty(Property property)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MapPropertyadditionalProperties(Property property)MapPropertydescription(String description)booleanequals(Object o)PropertygetAdditionalProperties()IntegergetMaxProperties()IntegergetMinProperties()inthashCode()static booleanisType(String type, String format)MapPropertyreadOnly()voidsetAdditionalProperties(Property property)voidsetMaxProperties(Integer maxProperties)voidsetMinProperties(Integer minProperties)MapPropertytitle(String title)MapPropertyvendorExtension(String key, Object obj)MapPropertyxml(Xml xml)-
Methods inherited from class io.swagger.models.properties.AbstractProperty
allowEmptyValue, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setBooleanValue, setDefault, setDescription, setExample, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml
-
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
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
-
-
-
-
Constructor Detail
-
MapProperty
public MapProperty()
-
MapProperty
public MapProperty(Property property)
-
-
Method Detail
-
xml
public MapProperty xml(Xml xml)
-
additionalProperties
public MapProperty additionalProperties(Property property)
-
description
public MapProperty description(String description)
- Specified by:
descriptionin interfaceProperty- Overrides:
descriptionin classAbstractProperty
-
title
public MapProperty title(String title)
- Specified by:
titlein interfaceProperty- Overrides:
titlein classAbstractProperty
-
vendorExtension
public MapProperty vendorExtension(String key, Object obj)
-
getAdditionalProperties
public Property getAdditionalProperties()
-
setAdditionalProperties
public void setAdditionalProperties(Property property)
-
getMinProperties
public Integer getMinProperties()
-
setMinProperties
public void setMinProperties(Integer minProperties)
-
getMaxProperties
public Integer getMaxProperties()
-
setMaxProperties
public void setMaxProperties(Integer maxProperties)
-
readOnly
public MapProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractProperty
-
-