Interface AsyncApi20Document
-
- All Superinterfaces:
AsyncApi20Extensible,AsyncApiDocument,AsyncApiExtensible,Document,Extensible,Node,RootNode,Visitable
- All Known Implementing Classes:
AsyncApi20DocumentImpl
public interface AsyncApi20Document extends RootNode, AsyncApiDocument, AsyncApi20Extensible
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExtension(String name, com.fasterxml.jackson.databind.JsonNode value)voidaddTag(AsyncApi20Tag value)voidclearExtensions()voidclearTags()AsyncApi20ExternalDocumentationcreateExternalDocumentation()AsyncApi20TagcreateTag()Map<String,com.fasterxml.jackson.databind.JsonNode>getExtensions()AsyncApi20ExternalDocumentationgetExternalDocs()List<AsyncApi20Tag>getTags()voidinsertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)voidinsertTag(AsyncApi20Tag value, int atIndex)voidremoveExtension(String name)voidremoveTag(AsyncApi20Tag value)voidsetExternalDocs(AsyncApi20ExternalDocumentation value)-
Methods inherited from interface io.apicurio.datamodels.models.asyncapi.AsyncApiDocument
createChannels, createComponents, createServers, getAsyncapi, getChannels, getComponents, getDefaultContentType, getId, getServers, setAsyncapi, setChannels, setComponents, setDefaultContentType, setId, setServers
-
Methods inherited from interface io.apicurio.datamodels.models.Document
createInfo, getInfo, setInfo
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, emptyClone, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
-
-
-
Method Detail
-
createTag
AsyncApi20Tag createTag()
-
getTags
List<AsyncApi20Tag> getTags()
-
addTag
void addTag(AsyncApi20Tag value)
-
clearTags
void clearTags()
-
removeTag
void removeTag(AsyncApi20Tag value)
-
insertTag
void insertTag(AsyncApi20Tag value, int atIndex)
-
getExternalDocs
AsyncApi20ExternalDocumentation getExternalDocs()
-
setExternalDocs
void setExternalDocs(AsyncApi20ExternalDocumentation value)
-
createExternalDocumentation
AsyncApi20ExternalDocumentation createExternalDocumentation()
-
getExtensions
Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
void clearExtensions()
- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
void removeExtension(String name)
- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceExtensible
-
-