package github; import java.util.ArrayList; import java.util.List; import io.swagger.codegen.v3.CodegenContent; import io.swagger.codegen.v3.CodegenObject; import io.swagger.codegen.v3.CodegenOperation; public class CodegenTag extends CodegenObject { public String baseName; public String classname; public List operations; public List contents = new ArrayList<>(); public String getBaseName() { return baseName; } public void setBaseName(String baseName) { this.baseName = baseName; } public List getOperations() { return operations; } public void setOperations(List operations) { this.operations = operations; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((baseName == null) ? 0 : baseName.hashCode()); result = prime * result + ((classname == null) ? 0 : classname.hashCode()); result = prime * result + ((contents == null) ? 0 : contents.hashCode()); result = prime * result + ((operations == null) ? 0 : operations.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; CodegenTag other = (CodegenTag) obj; if (baseName == null) { if (other.baseName != null) return false; } else if (!baseName.equals(other.baseName)) return false; if (classname == null) { if (other.classname != null) return false; } else if (!classname.equals(other.classname)) return false; if (contents == null) { if (other.contents != null) return false; } else if (!contents.equals(other.contents)) return false; if (operations == null) { if (other.operations != null) return false; } else if (!operations.equals(other.operations)) return false; return true; } public List getContents() { return contents; } public void setContents(List contents) { this.contents = contents; } public String getClassname() { return classname; } public void setClassname(String classname) { this.classname = classname; } }