public class ServerVariableImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.servers.ServerVariable> implements org.eclipse.microprofile.openapi.models.servers.ServerVariable, ModelImpl
ServerVariable OpenAPI model interface.| Constructor and Description |
|---|
ServerVariableImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.openapi.models.servers.ServerVariable |
addEnumeration(String enumeration) |
String |
getDefaultValue() |
String |
getDescription() |
List<String> |
getEnumeration() |
void |
removeEnumeration(String enumeration) |
void |
setDefaultValue(String defaultValue) |
void |
setDescription(String description) |
void |
setEnumeration(List<String> enumeration) |
addExtension, getExtensions, removeExtension, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic List<String> getEnumeration()
getEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.getEnumeration()public void setEnumeration(List<String> enumeration)
setEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.setEnumeration(java.util.List)public org.eclipse.microprofile.openapi.models.servers.ServerVariable addEnumeration(String enumeration)
addEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.addEnumeration(java.lang.String)public void removeEnumeration(String enumeration)
removeEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.removeEnumeration(String)public String getDefaultValue()
getDefaultValue in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.getDefaultValue()public void setDefaultValue(String defaultValue)
setDefaultValue in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.setDefaultValue(java.lang.String)public String getDescription()
getDescription in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.getDescription()public void setDescription(String description)
setDescription in interface org.eclipse.microprofile.openapi.models.servers.ServerVariableServerVariable.setDescription(java.lang.String)Copyright © 2018–2021. All rights reserved.