Class AsyncApi25ServerVariableImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v25.AsyncApi25ServerVariableImpl
-
- All Implemented Interfaces:
AsyncApiExtensible,AsyncApiReferenceable,AsyncApiServerVariable,AsyncApi25Extensible,AsyncApi25Referenceable,AsyncApi25ServerVariable,Extensible,Node,Referenceable,ServerVariable,Visitable
public class AsyncApi25ServerVariableImpl extends NodeImpl implements AsyncApi25ServerVariable
-
-
Constructor Summary
Constructors Constructor Description AsyncApi25ServerVariableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)voidaddExtension(String name, com.fasterxml.jackson.databind.JsonNode value)voidclearExtensions()NodeemptyClone()Stringget$ref()StringgetDefault()StringgetDescription()List<String>getEnum()List<String>getExamples()Map<String,com.fasterxml.jackson.databind.JsonNode>getExtensions()voidinsertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)voidremoveExtension(String name)voidset$ref(String value)voidsetDefault(String value)voidsetDescription(String value)voidsetEnum(List<String> value)voidsetExamples(List<String> value)-
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, root, 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
-
get$ref
public String get$ref()
- Specified by:
get$refin interfaceAsyncApi25ServerVariable- Specified by:
get$refin interfaceReferenceable
-
set$ref
public void set$ref(String value)
- Specified by:
set$refin interfaceAsyncApi25ServerVariable- Specified by:
set$refin interfaceReferenceable
-
getEnum
public List<String> getEnum()
- Specified by:
getEnumin interfaceServerVariable
-
setEnum
public void setEnum(List<String> value)
- Specified by:
setEnumin interfaceServerVariable
-
getDefault
public String getDefault()
- Specified by:
getDefaultin interfaceServerVariable
-
setDefault
public void setDefault(String value)
- Specified by:
setDefaultin interfaceServerVariable
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceServerVariable
-
setDescription
public void setDescription(String value)
- Specified by:
setDescriptionin interfaceServerVariable
-
getExamples
public List<String> getExamples()
- Specified by:
getExamplesin interfaceAsyncApiServerVariable
-
setExamples
public void setExamples(List<String> value)
- Specified by:
setExamplesin interfaceAsyncApiServerVariable
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceAsyncApi25ServerVariable- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceAsyncApi25ServerVariable- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceAsyncApi25ServerVariable- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceAsyncApi25ServerVariable- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceAsyncApi25ServerVariable- Specified by:
insertExtensionin interfaceExtensible
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-