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

com.devonfw.cobigen.openapiplugin.model.ParameterDef Maven / Gradle / Ivy

There is a newer version: 2021.12.006
Show newest version
package com.devonfw.cobigen.openapiplugin.model;

/**
 * TODO
 */
@SuppressWarnings("javadoc")
public class ParameterDef extends PropertyDef {

    private boolean isSearchCriteria;

    private boolean inPath;

    private boolean inQuery;

    private boolean inHeader;

    private boolean isBody;

    private String mediaType;

    public ParameterDef() {
        super();
        isSearchCriteria = false;
        inPath = false;
        inQuery = false;
        inHeader = false;

    }

    public boolean getIsSearchCriteria() {
        return isSearchCriteria;
    }

    public void setIsSearchCriteria(boolean isSearchCriteria) {
        this.isSearchCriteria = isSearchCriteria;
    }

    public boolean getInPath() {
        return inPath;
    }

    public void setInPath(boolean inPath) {
        this.inPath = inPath;
    }

    public boolean getInQuery() {
        return inQuery;
    }

    public void setInQuery(boolean inQuery) {
        this.inQuery = inQuery;
    }

    public boolean getInHeader() {
        return inHeader;
    }

    public void setInHeader(boolean inHeader) {
        this.inHeader = inHeader;
    }

    public String getMediaType() {
        return mediaType;
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType;
    }

    public boolean getIsBody() {
        return isBody;
    }

    public void setIsBody(boolean isBody) {
        this.isBody = isBody;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy