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
See: https://github.com/swagger-api/swagger-inflector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetAttribute(Boolean attribute) voidvoidsetNamespace(String namespace) voidvoidsetTypeName(String typeName) voidsetWrapped(Boolean wrapped) voidsetWrappedName(String wrappedName)
-
Constructor Details
-
AbstractExample
public AbstractExample()
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfaceExample
-
setTypeName
-
getName
-
setName
-
getNamespace
- Specified by:
getNamespacein interfaceExample
-
setNamespace
- Specified by:
setNamespacein interfaceExample
-
getPrefix
-
setPrefix
-
getAttribute
- Specified by:
getAttributein interfaceExample
-
setAttribute
- Specified by:
setAttributein interfaceExample
-
getWrapped
- Specified by:
getWrappedin interfaceExample
-
setWrapped
- Specified by:
setWrappedin interfaceExample
-
getWrappedName
- Specified by:
getWrappedNamein interfaceExample
-
setWrappedName
- Specified by:
setWrappedNamein interfaceExample
-