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;
this.parameters = new LinkedList<>();
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List getParameters() {
return this.parameters;
}
public void setParameters(List parameters) {
this.parameters = parameters;
}
public List getResponses() {
return this.responses;
}
public void setResponses(List responses) {
this.responses = responses;
}
public String getOperationId() {
return this.operationId;
}
public void setOperationId(String operationId) {
this.operationId = operationId;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSummary() {
return this.summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public Collection getTags() {
return this.tags;
}
public void setTags(Collection tags) {
this.tags = tags;
}
}