Class ServerVariable

java.lang.Object
io.smallrye.openapi.model.BaseModel<org.eclipse.microprofile.openapi.models.servers.ServerVariable>
io.smallrye.openapi.model.BaseExtensibleModel<org.eclipse.microprofile.openapi.models.servers.ServerVariable>
io.smallrye.openapi.internal.models.servers.ServerVariable
All Implemented Interfaces:
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
Direct Known Subclasses:
ServerVariableImpl

@Generated(value="io.smallrye.openapi.model.apt.SmallRyeModelProcessor", date="2026-01-25T12:11:29.557432767Z") public class ServerVariable extends io.smallrye.openapi.model.BaseExtensibleModel<org.eclipse.microprofile.openapi.models.servers.ServerVariable> implements org.eclipse.microprofile.openapi.models.servers.ServerVariable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class io.smallrye.openapi.model.BaseModel

    io.smallrye.openapi.model.BaseModel.MergeDirective
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.smallrye.openapi.model.PropertyMetadata
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.openapi.model.PropertyMetadata
     
    void
    void
    void

    Methods inherited from class io.smallrye.openapi.model.BaseExtensibleModel

    addExtension, addListPropertyEntry, equals, getAllExtensions, getAllProperties, getExtension, getExtensions, getListProperty, getMapProperty, getProperty, getProperty, hasExtension, hashCode, isExtension, merge, putMapPropertyEntry, removeExtension, removeListPropertyEntry, removeMapPropertyEntry, setAllProperties, setExtensions, setListProperty, setMapProperty, setProperty

    Methods inherited from class io.smallrye.openapi.model.BaseModel

    constructible, deepCopy, deepCopy, filter, filter, getDescription, getExternalDocs, getModCount, getName, getProperties, getRef, getSummary, incrementModCount, merge, mergeDirective, setDescription, setExternalDocs, setName, setRef, setSummary, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.microprofile.openapi.models.Extensible

    addExtension, extensions, getExtension, getExtensions, hasExtension, removeExtension, setExtensions

    Methods inherited from interface org.eclipse.microprofile.openapi.models.servers.ServerVariable

    defaultValue, description, enumeration, getDescription, setDescription
  • Field Details

    • PROPERTIES

      public static final io.smallrye.openapi.model.PropertyMetadata PROPERTIES
  • Constructor Details

    • ServerVariable

      public ServerVariable()
  • Method Details

    • getPropertyMetadata

      public io.smallrye.openapi.model.PropertyMetadata getPropertyMetadata()
      Specified by:
      getPropertyMetadata in class io.smallrye.openapi.model.BaseModel<org.eclipse.microprofile.openapi.models.servers.ServerVariable>
    • getEnumeration

      public List<String> getEnumeration()
      Specified by:
      getEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariable
    • setEnumeration

      public void setEnumeration(List<String> newValue)
      Specified by:
      setEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariable
    • addEnumeration

      public ServerVariable addEnumeration(String newValue)
      Specified by:
      addEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariable
    • removeEnumeration

      public void removeEnumeration(String value)
      Specified by:
      removeEnumeration in interface org.eclipse.microprofile.openapi.models.servers.ServerVariable
    • getDefaultValue

      public String getDefaultValue()
      Specified by:
      getDefaultValue in interface org.eclipse.microprofile.openapi.models.servers.ServerVariable
    • setDefaultValue

      public void setDefaultValue(String newValue)
      Specified by:
      setDefaultValue in interface org.eclipse.microprofile.openapi.models.servers.ServerVariable