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

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

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

import com.networknt.oas.jsonoverlay.Reference;

import java.util.Map;

public interface EncodingProperty extends OpenApiObject {

    // ContentType

    String getContentType();


    String getContentType(boolean elaborate);


    void setContentType(String contentType);

    // Header

    Map getHeaders();


    Map getHeaders(boolean elaborate);


    boolean hasHeader(String name);


    String getHeader(String name);


    void setHeaders(Map headers);


    void setHeader(String name, String header);


    void removeHeader(String name);


    boolean isHeaderReference(String key);


    Reference getHeaderReference(String key);

    // Style

    String getStyle();


    String getStyle(boolean elaborate);


    void setStyle(String style);

    // Explode

    Boolean getExplode();


    Boolean getExplode(boolean elaborate);


    boolean isExplode();


    void setExplode(Boolean explode);

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