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