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

com.networknt.oas.model.Link 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 Link extends OpenApiObject {

    // OperationId

    String getOperationId();


    String getOperationId(boolean elaborate);


    void setOperationId(String operationId);

    // OperationRef

    String getOperationRef();


    String getOperationRef(boolean elaborate);


    void setOperationRef(String operationRef);

    // Parameter

    Map getParameters();


    Map getParameters(boolean elaborate);


    boolean hasParameter(String name);


    String getParameter(String name);


    void setParameters(Map parameters);


    void setParameter(String name, String parameter);


    void removeParameter(String name);

    // Header

    Map getHeaders();


    Map getHeaders(boolean elaborate);


    boolean hasHeader(String name);


    Header getHeader(String name);


    void setHeaders(Map headers);


    void setHeader(String name, Header header);


    void removeHeader(String name);

    // Description

    String getDescription();


    String getDescription(boolean elaborate);


    void setDescription(String description);

    // Server

    Server getServer();


    Server getServer(boolean elaborate);


    void setServer(Server server);

    // 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