com.devonfw.cobigen.openapiplugin.model.ResponseDef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapiplugin-model Show documentation
Show all versions of openapiplugin-model Show documentation
A Code-based incremental Generator
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;
private EntityDef entityRef;
public EntityDef getEntityRef() {
return entityRef;
}
public void setEntityRef(EntityDef entityRef) {
this.entityRef = entityRef;
}
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;
}
}