Class AbstractExample
- java.lang.Object
-
- org.mockserver.openapi.examples.models.AbstractExample
-
- All Implemented Interfaces:
Example
- Direct Known Subclasses:
ArrayExample,BigIntegerExample,BooleanExample,DecimalExample,DoubleExample,FloatExample,IntegerExample,LongExample,ObjectExample,StringExample
public abstract class AbstractExample extends Object implements Example
See: https://github.com/swagger-api/swagger-inflector
-
-
Constructor Summary
Constructors Constructor Description AbstractExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAttribute()StringgetName()StringgetNamespace()StringgetPrefix()StringgetTypeName()BooleangetWrapped()StringgetWrappedName()voidsetAttribute(Boolean attribute)voidsetName(String name)voidsetNamespace(String namespace)voidsetPrefix(String prefix)voidsetTypeName(String typeName)voidsetWrapped(Boolean wrapped)voidsetWrappedName(String wrappedName)
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceExample
-
setTypeName
public void setTypeName(String typeName)
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceExample
-
setNamespace
public void setNamespace(String namespace)
- Specified by:
setNamespacein interfaceExample
-
getAttribute
public Boolean getAttribute()
- Specified by:
getAttributein interfaceExample
-
setAttribute
public void setAttribute(Boolean attribute)
- Specified by:
setAttributein interfaceExample
-
getWrapped
public Boolean getWrapped()
- Specified by:
getWrappedin interfaceExample
-
setWrapped
public void setWrapped(Boolean wrapped)
- Specified by:
setWrappedin interfaceExample
-
getWrappedName
public String getWrappedName()
- Specified by:
getWrappedNamein interfaceExample
-
setWrappedName
public void setWrappedName(String wrappedName)
- Specified by:
setWrappedNamein interfaceExample
-
-