Package io.swagger.models.properties
Class ComposedProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.ComposedProperty
-
public class ComposedProperty extends AbstractProperty implements Property
-
-
Field Summary
Fields Modifier and Type Field Description static 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 ComposedProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposedProperty_default(String _default)ComposedPropertyaccess(String access)ComposedPropertyallOf(List<Property> allOf)ComposedPropertydescription(String description)booleanequals(Object o)ComposedPropertyexample(Object example)List<Property>getAllOf()inthashCode()ComposedPropertyname(String name)ComposedPropertyreadOnly()ComposedPropertyreadOnly(boolean readOnly)ComposedPropertyrequired(boolean required)voidsetAllOf(List<Property> allOf)ComposedPropertytitle(String title)ComposedPropertyvendorExtension(String key, Object obj)ComposedPropertyxml(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
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
vendorExtension
public ComposedProperty vendorExtension(String key, Object obj)
-
access
public ComposedProperty access(String access)
-
description
public ComposedProperty description(String description)
- Specified by:
descriptionin interfaceProperty- Overrides:
descriptionin classAbstractProperty
-
name
public ComposedProperty name(String name)
-
title
public ComposedProperty title(String title)
- Specified by:
titlein interfaceProperty- Overrides:
titlein classAbstractProperty
-
_default
public ComposedProperty _default(String _default)
-
readOnly
public ComposedProperty readOnly(boolean readOnly)
-
required
public ComposedProperty required(boolean required)
-
allOf
public ComposedProperty allOf(List<Property> allOf)
-
readOnly
public ComposedProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
xml
public ComposedProperty xml(Xml xml)
-
example
public ComposedProperty example(Object example)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractProperty
-
-