Class ServerVariableImpl
java.lang.Object
io.smallrye.openapi.api.models.ExtensibleImpl<org.eclipse.microprofile.openapi.models.servers.ServerVariable>
io.smallrye.openapi.api.models.servers.ServerVariableImpl
- All Implemented Interfaces:
ModelImpl,org.eclipse.microprofile.openapi.models.Constructible,org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.servers.ServerVariable>,org.eclipse.microprofile.openapi.models.servers.ServerVariable
public class ServerVariableImpl
extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.servers.ServerVariable>
implements org.eclipse.microprofile.openapi.models.servers.ServerVariable, ModelImpl
An implementation of the
ServerVariable OpenAPI model interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.openapi.models.servers.ServerVariableaddEnumeration(String enumeration) voidremoveEnumeration(String enumeration) voidsetDefaultValue(String defaultValue) voidsetDescription(String description) voidsetEnumeration(List<String> enumeration) Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, extensions, getExtensions, removeExtension, setExtensionsMethods inherited from interface org.eclipse.microprofile.openapi.models.servers.ServerVariable
defaultValue, description, enumeration
-
Constructor Details
-
ServerVariableImpl
public ServerVariableImpl()
-
-
Method Details
-
getEnumeration
- Specified by:
getEnumerationin interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.getEnumeration()
-
setEnumeration
- Specified by:
setEnumerationin interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.setEnumeration(java.util.List)
-
addEnumeration
public org.eclipse.microprofile.openapi.models.servers.ServerVariable addEnumeration(String enumeration) - Specified by:
addEnumerationin interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.addEnumeration(java.lang.String)
-
removeEnumeration
- Specified by:
removeEnumerationin interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.removeEnumeration(String)
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.getDefaultValue()
-
setDefaultValue
- Specified by:
setDefaultValuein interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.setDefaultValue(java.lang.String)
-
getDescription
- Specified by:
getDescriptionin interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.getDescription()
-
setDescription
- Specified by:
setDescriptionin interfaceorg.eclipse.microprofile.openapi.models.servers.ServerVariable- See Also:
-
ServerVariable.setDescription(java.lang.String)
-