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

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

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

import java.util.List;

/**
 *
 */
@SuppressWarnings("javadoc")
public class ResponseDef {

    private boolean isArray;

    private boolean isPaginated;

    private boolean isEntity;

    private boolean isVoid;

    private String type;

    private String format;

    private String code;

    private List mediaTypes;

    private String description;

    public ResponseDef() {
        isArray = false;
        isPaginated = false;
        isVoid = false;
        isEntity = false;
    }

    public boolean getIsArray() {
        return isArray;
    }

    public void setIsArray(boolean isArray) {
        this.isArray = isArray;
    }

    public boolean getIsPaginated() {
        return isPaginated;
    }

    public void setIsPaginated(boolean isPaginated) {
        this.isPaginated = isPaginated;
    }

    public boolean getIsEntity() {
        return isEntity;
    }

    public void setIsEntity(boolean isEntity) {
        this.isEntity = isEntity;
    }

    public boolean getIsVoid() {
        return isVoid;
    }

    public void setIsVoid(boolean isVoid) {
        this.isVoid = isVoid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List getMediaTypes() {
        return mediaTypes;
    }

    public void setMediaTypes(List mediaTypes) {
        this.mediaTypes = mediaTypes;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy