Class AsyncApi21DocumentImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.RootNodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v21.AsyncApi21DocumentImpl
-
- All Implemented Interfaces:
AsyncApiDocument,AsyncApiExtensible,AsyncApi21Document,AsyncApi21Extensible,Document,Extensible,Node,RootNode,Visitable
public class AsyncApi21DocumentImpl extends RootNodeImpl implements AsyncApi21Document
-
-
Constructor Summary
Constructors Constructor Description AsyncApi21DocumentImpl()
-
Method Summary
-
Methods inherited from class io.apicurio.datamodels.models.RootNodeImpl
modelType, root
-
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, 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
-
getAsyncapi
public String getAsyncapi()
- Specified by:
getAsyncapiin interfaceAsyncApiDocument
-
setAsyncapi
public void setAsyncapi(String value)
- Specified by:
setAsyncapiin interfaceAsyncApiDocument
-
getId
public String getId()
- Specified by:
getIdin interfaceAsyncApiDocument
-
setId
public void setId(String value)
- Specified by:
setIdin interfaceAsyncApiDocument
-
createInfo
public AsyncApi21Info createInfo()
- Specified by:
createInfoin interfaceDocument
-
getServers
public AsyncApiServers getServers()
- Specified by:
getServersin interfaceAsyncApiDocument
-
setServers
public void setServers(AsyncApiServers value)
- Specified by:
setServersin interfaceAsyncApiDocument
-
createServers
public AsyncApi21Servers createServers()
- Specified by:
createServersin interfaceAsyncApiDocument
-
getDefaultContentType
public String getDefaultContentType()
- Specified by:
getDefaultContentTypein interfaceAsyncApiDocument
-
setDefaultContentType
public void setDefaultContentType(String value)
- Specified by:
setDefaultContentTypein interfaceAsyncApiDocument
-
getChannels
public AsyncApiChannels getChannels()
- Specified by:
getChannelsin interfaceAsyncApiDocument
-
setChannels
public void setChannels(AsyncApiChannels value)
- Specified by:
setChannelsin interfaceAsyncApiDocument
-
createChannels
public AsyncApi21Channels createChannels()
- Specified by:
createChannelsin interfaceAsyncApiDocument
-
getComponents
public AsyncApiComponents getComponents()
- Specified by:
getComponentsin interfaceAsyncApiDocument
-
setComponents
public void setComponents(AsyncApiComponents value)
- Specified by:
setComponentsin interfaceAsyncApiDocument
-
createComponents
public AsyncApi21Components createComponents()
- Specified by:
createComponentsin interfaceAsyncApiDocument
-
createTag
public AsyncApi21Tag createTag()
- Specified by:
createTagin interfaceAsyncApi21Document
-
getTags
public List<AsyncApi21Tag> getTags()
- Specified by:
getTagsin interfaceAsyncApi21Document
-
addTag
public void addTag(AsyncApi21Tag value)
- Specified by:
addTagin interfaceAsyncApi21Document
-
clearTags
public void clearTags()
- Specified by:
clearTagsin interfaceAsyncApi21Document
-
removeTag
public void removeTag(AsyncApi21Tag value)
- Specified by:
removeTagin interfaceAsyncApi21Document
-
insertTag
public void insertTag(AsyncApi21Tag value, int atIndex)
- Specified by:
insertTagin interfaceAsyncApi21Document
-
getExternalDocs
public AsyncApi21ExternalDocumentation getExternalDocs()
- Specified by:
getExternalDocsin interfaceAsyncApi21Document
-
setExternalDocs
public void setExternalDocs(AsyncApi21ExternalDocumentation value)
- Specified by:
setExternalDocsin interfaceAsyncApi21Document
-
createExternalDocumentation
public AsyncApi21ExternalDocumentation createExternalDocumentation()
- Specified by:
createExternalDocumentationin interfaceAsyncApi21Document
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceAsyncApi21Document- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceAsyncApi21Document- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceAsyncApi21Document- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceAsyncApi21Document- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceAsyncApi21Document- Specified by:
insertExtensionin interfaceExtensible
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-