Class AsyncApi20DocumentImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.RootNodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v20.AsyncApi20DocumentImpl
-
- All Implemented Interfaces:
AsyncApiDocument,AsyncApiExtensible,AsyncApi20Document,AsyncApi20Extensible,Document,Extensible,Node,RootNode,Visitable
public class AsyncApi20DocumentImpl extends RootNodeImpl implements AsyncApi20Document
-
-
Constructor Summary
Constructors Constructor Description AsyncApi20DocumentImpl()
-
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 AsyncApi20Info 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 AsyncApi20Servers 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 AsyncApi20Channels 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 AsyncApi20Components createComponents()
- Specified by:
createComponentsin interfaceAsyncApiDocument
-
createTag
public AsyncApi20Tag createTag()
- Specified by:
createTagin interfaceAsyncApi20Document
-
getTags
public List<AsyncApi20Tag> getTags()
- Specified by:
getTagsin interfaceAsyncApi20Document
-
addTag
public void addTag(AsyncApi20Tag value)
- Specified by:
addTagin interfaceAsyncApi20Document
-
clearTags
public void clearTags()
- Specified by:
clearTagsin interfaceAsyncApi20Document
-
removeTag
public void removeTag(AsyncApi20Tag value)
- Specified by:
removeTagin interfaceAsyncApi20Document
-
insertTag
public void insertTag(AsyncApi20Tag value, int atIndex)
- Specified by:
insertTagin interfaceAsyncApi20Document
-
getExternalDocs
public AsyncApi20ExternalDocumentation getExternalDocs()
- Specified by:
getExternalDocsin interfaceAsyncApi20Document
-
setExternalDocs
public void setExternalDocs(AsyncApi20ExternalDocumentation value)
- Specified by:
setExternalDocsin interfaceAsyncApi20Document
-
createExternalDocumentation
public AsyncApi20ExternalDocumentation createExternalDocumentation()
- Specified by:
createExternalDocumentationin interfaceAsyncApi20Document
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceAsyncApi20Document- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceAsyncApi20Document- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceAsyncApi20Document- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceAsyncApi20Document- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceAsyncApi20Document- Specified by:
insertExtensionin interfaceExtensible
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-