Package io.swagger.models.properties
Class UntypedProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.UntypedProperty
-
public class UntypedProperty 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 UntypedProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UntypedProperty_default(String _default)UntypedPropertyaccess(String access)UntypedPropertydescription(String description)UntypedPropertyexample(Object example)static booleanisType(String type)static booleanisType(String type, String format)UntypedPropertyname(String name)UntypedPropertyreadOnly()UntypedPropertyreadOnly(boolean readOnly)UntypedPropertyrequired(boolean required)UntypedPropertytitle(String title)UntypedPropertyvendorExtension(String key, Object obj)UntypedPropertyxml(Xml xml)-
Methods inherited from class io.swagger.models.properties.AbstractProperty
allowEmptyValue, equals, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, hashCode, 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
-
-
Method Detail
-
vendorExtension
public UntypedProperty vendorExtension(String key, Object obj)
-
isType
public static boolean isType(String type)
-
access
public UntypedProperty access(String access)
-
description
public UntypedProperty description(String description)
- Specified by:
descriptionin interfaceProperty- Overrides:
descriptionin classAbstractProperty
-
name
public UntypedProperty name(String name)
-
title
public UntypedProperty title(String title)
- Specified by:
titlein interfaceProperty- Overrides:
titlein classAbstractProperty
-
_default
public UntypedProperty _default(String _default)
-
readOnly
public UntypedProperty readOnly(boolean readOnly)
-
required
public UntypedProperty required(boolean required)
-
readOnly
public UntypedProperty readOnly()
- Overrides:
readOnlyin classAbstractProperty
-
xml
public UntypedProperty xml(Xml xml)
-
example
public UntypedProperty example(Object example)
-
-