Class ServerImpl

  • All Implemented Interfaces:
    ModelImpl, org.eclipse.microprofile.openapi.models.Constructible, org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.servers.Server>, org.eclipse.microprofile.openapi.models.servers.Server

    public class ServerImpl
    extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.servers.Server>
    implements org.eclipse.microprofile.openapi.models.servers.Server, ModelImpl
    An implementation of the Server OpenAPI model interface.
    • Constructor Detail

      • ServerImpl

        public ServerImpl()
    • Method Detail

      • getUrl

        public String getUrl()
        Specified by:
        getUrl in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.getUrl()
      • setUrl

        public void setUrl​(String url)
        Specified by:
        setUrl in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.setUrl(java.lang.String)
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.getDescription()
      • setDescription

        public void setDescription​(String description)
        Specified by:
        setDescription in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.setDescription(java.lang.String)
      • getVariables

        public Map<String,​org.eclipse.microprofile.openapi.models.servers.ServerVariable> getVariables()
        Specified by:
        getVariables in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.getVariables()
      • setVariables

        public void setVariables​(Map<String,​org.eclipse.microprofile.openapi.models.servers.ServerVariable> variables)
        Specified by:
        setVariables in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.setVariables(java.util.Map)
      • addVariable

        public org.eclipse.microprofile.openapi.models.servers.Server addVariable​(String variableName,
                                                                                  org.eclipse.microprofile.openapi.models.servers.ServerVariable variable)
        Specified by:
        addVariable in interface org.eclipse.microprofile.openapi.models.servers.Server
      • removeVariable

        public void removeVariable​(String variableName)
        Specified by:
        removeVariable in interface org.eclipse.microprofile.openapi.models.servers.Server
        See Also:
        Server.removeVariable(java.lang.String)