All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.networknt.oas.model.Server Maven / Gradle / Ivy

There is a newer version: 2.1.38
Show newest version
package com.networknt.oas.model;

import java.util.Map;

public interface Server extends OpenApiObject {

    // Url

    String getUrl();


    String getUrl(boolean elaborate);


    void setUrl(String url);

    // Description

    String getDescription();


    String getDescription(boolean elaborate);


    void setDescription(String description);

    // ServerVariable

    Map getServerVariables();


    Map getServerVariables(boolean elaborate);


    boolean hasServerVariable(String name);


    ServerVariable getServerVariable(String name);


    void setServerVariables(Map serverVariables);


    void setServerVariable(String name, ServerVariable serverVariable);


    void removeServerVariable(String name);

    // VariablesExtension

    Map getVariablesExtensions();


    Map getVariablesExtensions(boolean elaborate);


    boolean hasVariablesExtension(String name);


    Object getVariablesExtension(String name);


    void setVariablesExtensions(Map variablesExtensions);


    void setVariablesExtension(String name, Object variablesExtension);


    void removeVariablesExtension(String name);

    // Extension

    Map getExtensions();


    Map getExtensions(boolean elaborate);


    boolean hasExtension(String name);


    Object getExtension(String name);


    void setExtensions(Map extensions);


    void setExtension(String name, Object extension);


    void removeExtension(String name);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy