Class AsyncApi25DocumentImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.RootNodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v25.AsyncApi25DocumentImpl
-
- All Implemented Interfaces:
AsyncApiDocument
,AsyncApiExtensible
,AsyncApi25Document
,AsyncApi25Extensible
,Document
,Extensible
,Node
,RootNode
,Visitable
public class AsyncApi25DocumentImpl extends RootNodeImpl implements AsyncApi25Document
-
-
Constructor Summary
Constructors Constructor Description AsyncApi25DocumentImpl()
-
Method Summary
-
Methods inherited from class io.apicurio.datamodels.models.RootNodeImpl
modelType, root
-
Methods inherited from class io.apicurio.datamodels.models.NodeImpl
addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, isEntity, isEntityList, isEntityMap, modelId, parent, 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, modelId, parent, removeExtraProperty, root, setNodeAttribute
-
-
-
-
Method Detail
-
getAsyncapi
public String getAsyncapi()
- Specified by:
getAsyncapi
in interfaceAsyncApiDocument
-
setAsyncapi
public void setAsyncapi(String value)
- Specified by:
setAsyncapi
in interfaceAsyncApiDocument
-
getId
public String getId()
- Specified by:
getId
in interfaceAsyncApiDocument
-
setId
public void setId(String value)
- Specified by:
setId
in interfaceAsyncApiDocument
-
createInfo
public AsyncApi25Info createInfo()
- Specified by:
createInfo
in interfaceDocument
-
getServers
public AsyncApiServers getServers()
- Specified by:
getServers
in interfaceAsyncApiDocument
-
setServers
public void setServers(AsyncApiServers value)
- Specified by:
setServers
in interfaceAsyncApiDocument
-
createServers
public AsyncApi25Servers createServers()
- Specified by:
createServers
in interfaceAsyncApiDocument
-
getDefaultContentType
public String getDefaultContentType()
- Specified by:
getDefaultContentType
in interfaceAsyncApiDocument
-
setDefaultContentType
public void setDefaultContentType(String value)
- Specified by:
setDefaultContentType
in interfaceAsyncApiDocument
-
getChannels
public AsyncApiChannels getChannels()
- Specified by:
getChannels
in interfaceAsyncApiDocument
-
setChannels
public void setChannels(AsyncApiChannels value)
- Specified by:
setChannels
in interfaceAsyncApiDocument
-
createChannels
public AsyncApi25Channels createChannels()
- Specified by:
createChannels
in interfaceAsyncApiDocument
-
getComponents
public AsyncApiComponents getComponents()
- Specified by:
getComponents
in interfaceAsyncApiDocument
-
setComponents
public void setComponents(AsyncApiComponents value)
- Specified by:
setComponents
in interfaceAsyncApiDocument
-
createComponents
public AsyncApi25Components createComponents()
- Specified by:
createComponents
in interfaceAsyncApiDocument
-
createTag
public AsyncApi25Tag createTag()
- Specified by:
createTag
in interfaceAsyncApi25Document
-
getTags
public List<AsyncApi25Tag> getTags()
- Specified by:
getTags
in interfaceAsyncApi25Document
-
addTag
public void addTag(AsyncApi25Tag value)
- Specified by:
addTag
in interfaceAsyncApi25Document
-
clearTags
public void clearTags()
- Specified by:
clearTags
in interfaceAsyncApi25Document
-
removeTag
public void removeTag(AsyncApi25Tag value)
- Specified by:
removeTag
in interfaceAsyncApi25Document
-
getExternalDocs
public AsyncApi25ExternalDocumentation getExternalDocs()
- Specified by:
getExternalDocs
in interfaceAsyncApi25Document
-
setExternalDocs
public void setExternalDocs(AsyncApi25ExternalDocumentation value)
- Specified by:
setExternalDocs
in interfaceAsyncApi25Document
-
createExternalDocumentation
public AsyncApi25ExternalDocumentation createExternalDocumentation()
- Specified by:
createExternalDocumentation
in interfaceAsyncApi25Document
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensions
in interfaceExtensible
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtension
in interfaceExtensible
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensions
in interfaceExtensible
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtension
in interfaceExtensible
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClone
in interfaceNode
-
-