com.devonfw.cobigen.openapiplugin.model.OperationDef 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.Collection;
import java.util.LinkedList;
import java.util.List;
/**
*
*/
@SuppressWarnings("javadoc")
public class OperationDef {
private String type;
private List parameters;
private List responses;
private String operationId;
private String description;
private String summary;
private Collection tags;
public OperationDef(String type) {
this.type = type;
parameters = new LinkedList<>();
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List getParameters() {
return parameters;
}
public void setParameters(List parameters) {
this.parameters = parameters;
}
public List getResponses() {
return responses;
}
public void setResponses(List responses) {
this.responses = responses;
}
public String getOperationId() {
return operationId;
}
public void setOperationId(String operationId) {
this.operationId = operationId;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public Collection getTags() {
return tags;
}
public void setTags(Collection tags) {
this.tags = tags;
}
}