com.github.wu191287278.maven.swagger.doc.domain.Request Maven / Gradle / Ivy
package com.github.wu191287278.maven.swagger.doc.domain;
import java.util.*;
import io.swagger.models.Response;
import io.swagger.models.parameters.Parameter;
import io.swagger.models.properties.Property;
/**
* @author yu.wu
*/
public class Request {
private String clazzSimpleName;
private String methodName;
private String parentPath;
private String clazzDescription;
private String clazzNotes;
private String summary;
private String methodNotes;
private String methodErrorDescription;
private String returnDescription;
private Property returnType;
private Map paramsDescription = new HashMap<>();
private List paths = new ArrayList<>();
private List headers = new ArrayList<>();
private List methods = new ArrayList<>();
private List produces = new ArrayList<>();
private List consumes = new ArrayList<>();
private List parameters = new ArrayList<>();
private Map responseStatus = new TreeMap<>();
private boolean deprecated = false;
public String getClazzSimpleName() {
return clazzSimpleName;
}
public void setClazzSimpleName(String clazzSimpleName) {
this.clazzSimpleName = clazzSimpleName;
}
public String getMethodName() {
return methodName;
}
public void setMethodName(String methodName) {
this.methodName = methodName;
}
public String getParentPath() {
return parentPath;
}
public void setParentPath(String parentPath) {
this.parentPath = parentPath;
}
public String getClazzDescription() {
return clazzDescription;
}
public void setClazzDescription(String clazzDescription) {
this.clazzDescription = clazzDescription;
}
public String getClazzNotes() {
return clazzNotes;
}
public void setClazzNotes(String clazzNotes) {
this.clazzNotes = clazzNotes;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getMethodNotes() {
return methodNotes;
}
public void setMethodNotes(String methodNotes) {
this.methodNotes = methodNotes;
}
public String getMethodErrorDescription() {
return methodErrorDescription;
}
public void setMethodErrorDescription(String methodErrorDescription) {
this.methodErrorDescription = methodErrorDescription;
}
public String getReturnDescription() {
return returnDescription;
}
public void setReturnDescription(String returnDescription) {
this.returnDescription = returnDescription;
}
public Property getReturnType() {
return returnType;
}
public void setReturnType(Property returnType) {
this.returnType = returnType;
}
public Map getParamsDescription() {
return paramsDescription;
}
public void setParamsDescription(Map paramsDescription) {
this.paramsDescription = paramsDescription;
}
public List getPaths() {
return paths;
}
public void setPaths(List paths) {
this.paths = paths;
}
public List getHeaders() {
return headers;
}
public void setHeaders(List headers) {
this.headers = headers;
}
public List getMethods() {
return methods;
}
public void setMethods(List methods) {
this.methods = methods;
}
public List getProduces() {
return produces;
}
public void setProduces(List produces) {
this.produces = produces;
}
public List getConsumes() {
return consumes;
}
public void setConsumes(List consumes) {
this.consumes = consumes;
}
public List getParameters() {
return parameters;
}
public void setParameters(List parameters) {
this.parameters = parameters;
}
public boolean isDeprecated() {
return deprecated;
}
public void setDeprecated(boolean deprecated) {
this.deprecated = deprecated;
}
public Map getResponseStatus() {
return responseStatus;
}
public void setResponseStatus(Map responseStatus) {
this.responseStatus = responseStatus;
}
}