Class OpenApi20ResponseImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.openapi.v20.OpenApi20ResponseImpl
-
- All Implemented Interfaces:
Extensible,Node,OpenApiExtensible,OpenApiHeadersParent,OpenApiReferenceable,OpenApiResponse,OpenApi20Extensible,OpenApi20HeadersParent,OpenApi20Referenceable,OpenApi20Response,Referenceable,Visitable
public class OpenApi20ResponseImpl extends NodeImpl implements OpenApi20Response
-
-
Constructor Summary
Constructors Constructor Description OpenApi20ResponseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)voidaddExtension(String name, com.fasterxml.jackson.databind.JsonNode value)voidaddHeader(String name, OpenApiHeader value)voidclearExtensions()voidclearHeaders()OpenApi20ExamplecreateExample()OpenApi20HeadercreateHeader()OpenApi20SchemacreateSchema()NodeemptyClone()Stringget$ref()StringgetDescription()OpenApi20ExamplegetExamples()Map<String,com.fasterxml.jackson.databind.JsonNode>getExtensions()Map<String,OpenApiHeader>getHeaders()OpenApi20SchemagetSchema()voidinsertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)voidinsertHeader(String name, OpenApiHeader value, int atIndex)voidremoveExtension(String name)voidremoveHeader(String name)voidset$ref(String value)voidsetDescription(String value)voidsetExamples(OpenApi20Example value)voidsetSchema(OpenApi20Schema value)-
Methods inherited from class io.apicurio.datamodels.models.NodeImpl
_setMapPropertyName, _setParentPropertyName, _setParentPropertyType, addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, isEntity, isEntityList, isEntityMap, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
-
-
-
Method Detail
-
get$ref
public String get$ref()
- Specified by:
get$refin interfaceOpenApi20Response- Specified by:
get$refin interfaceReferenceable
-
set$ref
public void set$ref(String value)
- Specified by:
set$refin interfaceOpenApi20Response- Specified by:
set$refin interfaceReferenceable
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceOpenApiResponse
-
setDescription
public void setDescription(String value)
- Specified by:
setDescriptionin interfaceOpenApiResponse
-
getSchema
public OpenApi20Schema getSchema()
- Specified by:
getSchemain interfaceOpenApi20Response
-
setSchema
public void setSchema(OpenApi20Schema value)
- Specified by:
setSchemain interfaceOpenApi20Response
-
createSchema
public OpenApi20Schema createSchema()
- Specified by:
createSchemain interfaceOpenApi20Response
-
createHeader
public OpenApi20Header createHeader()
- Specified by:
createHeaderin interfaceOpenApi20Response- Specified by:
createHeaderin interfaceOpenApiHeadersParent
-
getHeaders
public Map<String,OpenApiHeader> getHeaders()
- Specified by:
getHeadersin interfaceOpenApi20Response- Specified by:
getHeadersin interfaceOpenApiHeadersParent
-
addHeader
public void addHeader(String name, OpenApiHeader value)
- Specified by:
addHeaderin interfaceOpenApi20Response- Specified by:
addHeaderin interfaceOpenApiHeadersParent
-
clearHeaders
public void clearHeaders()
- Specified by:
clearHeadersin interfaceOpenApi20Response- Specified by:
clearHeadersin interfaceOpenApiHeadersParent
-
removeHeader
public void removeHeader(String name)
- Specified by:
removeHeaderin interfaceOpenApi20Response- Specified by:
removeHeaderin interfaceOpenApiHeadersParent
-
insertHeader
public void insertHeader(String name, OpenApiHeader value, int atIndex)
- Specified by:
insertHeaderin interfaceOpenApi20Response- Specified by:
insertHeaderin interfaceOpenApiHeadersParent
-
getExamples
public OpenApi20Example getExamples()
- Specified by:
getExamplesin interfaceOpenApi20Response
-
setExamples
public void setExamples(OpenApi20Example value)
- Specified by:
setExamplesin interfaceOpenApi20Response
-
createExample
public OpenApi20Example createExample()
- Specified by:
createExamplein interfaceOpenApi20Response
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceExtensible- Specified by:
getExtensionsin interfaceOpenApi20Response
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceExtensible- Specified by:
addExtensionin interfaceOpenApi20Response
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceExtensible- Specified by:
clearExtensionsin interfaceOpenApi20Response
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceExtensible- Specified by:
removeExtensionin interfaceOpenApi20Response
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceExtensible- Specified by:
insertExtensionin interfaceOpenApi20Response
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-