Package io.swagger.models
Class AbstractModel
- java.lang.Object
-
- io.swagger.models.AbstractModel
-
- All Implemented Interfaces:
Model
- Direct Known Subclasses:
ArrayModel
,BooleanValueModel
,ComposedModel
,ModelImpl
public abstract class AbstractModel extends Object implements Model
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
booleanValue
protected Map<String,Property>
properties
protected List<String>
required
-
Constructor Summary
Constructors Constructor Description AbstractModel()
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.swagger.models.Model
getDescription, getExample, setDescription, setExample
-
-
-
-
Method Detail
-
getBooleanValue
public Boolean getBooleanValue()
- Specified by:
getBooleanValue
in interfaceModel
-
setBooleanValue
public void setBooleanValue(Boolean booleanValue)
- Specified by:
setBooleanValue
in interfaceModel
-
getExternalDocs
public ExternalDocs getExternalDocs()
- Specified by:
getExternalDocs
in interfaceModel
-
setExternalDocs
public void setExternalDocs(ExternalDocs value)
-
getVendorExtensions
public Map<String,Object> getVendorExtensions()
- Specified by:
getVendorExtensions
in interfaceModel
-
getMinimum
public BigDecimal getMinimum()
-
setMinimum
public void setMinimum(BigDecimal minimum)
-
getMaximum
public BigDecimal getMaximum()
-
setMaximum
public void setMaximum(BigDecimal maximum)
-
getMultipleOf
public BigDecimal getMultipleOf()
-
setMultipleOf
public void setMultipleOf(BigDecimal multipleOf)
-
getExclusiveMinimum
public Boolean getExclusiveMinimum()
-
setExclusiveMinimum
public void setExclusiveMinimum(Boolean exclusiveMinimum)
-
getExclusiveMaximum
public Boolean getExclusiveMaximum()
-
setExclusiveMaximum
public void setExclusiveMaximum(Boolean exclusiveMaximum)
-
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)
-
getProperties
public Map<String,Property> getProperties()
- Specified by:
getProperties
in interfaceModel
-
setProperties
public void setProperties(Map<String,Property> properties)
- Specified by:
setProperties
in interfaceModel
-
cloneTo
public void cloneTo(Object clone)
-
getReference
public String getReference()
- Specified by:
getReference
in interfaceModel
-
setReference
public void setReference(String reference)
- Specified by:
setReference
in interfaceModel
-
getXml
public Xml getXml()
-
setXml
public void setXml(Xml xml)
-
-