Package io.apicurio.datamodels.models
Interface Server
-
- All Known Subinterfaces:
AsyncApi20Server,AsyncApi21Server,AsyncApi22Server,AsyncApi23Server,AsyncApi24Server,AsyncApi25Server,AsyncApi26Server,AsyncApi30Server,AsyncApiServer,OpenApi30Server,OpenApi31Server,OpenApiServer
- All Known Implementing Classes:
AsyncApi20ServerImpl,AsyncApi21ServerImpl,AsyncApi22ServerImpl,AsyncApi23ServerImpl,AsyncApi24ServerImpl,AsyncApi25ServerImpl,AsyncApi26ServerImpl,AsyncApi30ServerImpl,OpenApi30ServerImpl,OpenApi31ServerImpl
public interface Server extends Node
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddVariable(String name, ServerVariable value)voidclearVariables()ServerVariablecreateServerVariable()StringgetDescription()Map<String,ServerVariable>getVariables()voidinsertVariable(String name, ServerVariable value, int atIndex)voidremoveVariable(String name)voidsetDescription(String value)-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, emptyClone, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
-
-
-
Method Detail
-
createServerVariable
ServerVariable createServerVariable()
-
getVariables
Map<String,ServerVariable> getVariables()
-
addVariable
void addVariable(String name, ServerVariable value)
-
clearVariables
void clearVariables()
-
removeVariable
void removeVariable(String name)
-
insertVariable
void insertVariable(String name, ServerVariable value, int atIndex)
-
getDescription
String getDescription()
-
setDescription
void setDescription(String value)
-
-