mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-06 18:02:16 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -27,6 +27,9 @@ public class IssueTemplate implements Serializable {
|
||||
@SerializedName("about")
|
||||
private String about = null;
|
||||
|
||||
@SerializedName("assignees")
|
||||
private IssueTemplateStringSlice assignees = null;
|
||||
|
||||
@SerializedName("body")
|
||||
private List<IssueFormField> body = null;
|
||||
|
||||
@@ -37,7 +40,7 @@ public class IssueTemplate implements Serializable {
|
||||
private String fileName = null;
|
||||
|
||||
@SerializedName("labels")
|
||||
private IssueTemplateLabels labels = null;
|
||||
private IssueTemplateStringSlice labels = null;
|
||||
|
||||
@SerializedName("name")
|
||||
private String name = null;
|
||||
@@ -67,6 +70,25 @@ public class IssueTemplate implements Serializable {
|
||||
this.about = about;
|
||||
}
|
||||
|
||||
public IssueTemplate assignees(IssueTemplateStringSlice assignees) {
|
||||
this.assignees = assignees;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get assignees
|
||||
*
|
||||
* @return assignees
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public IssueTemplateStringSlice getAssignees() {
|
||||
return assignees;
|
||||
}
|
||||
|
||||
public void setAssignees(IssueTemplateStringSlice assignees) {
|
||||
this.assignees = assignees;
|
||||
}
|
||||
|
||||
public IssueTemplate body(List<IssueFormField> body) {
|
||||
this.body = body;
|
||||
return this;
|
||||
@@ -132,7 +154,7 @@ public class IssueTemplate implements Serializable {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public IssueTemplate labels(IssueTemplateLabels labels) {
|
||||
public IssueTemplate labels(IssueTemplateStringSlice labels) {
|
||||
this.labels = labels;
|
||||
return this;
|
||||
}
|
||||
@@ -143,11 +165,11 @@ public class IssueTemplate implements Serializable {
|
||||
* @return labels
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public IssueTemplateLabels getLabels() {
|
||||
public IssueTemplateStringSlice getLabels() {
|
||||
return labels;
|
||||
}
|
||||
|
||||
public void setLabels(IssueTemplateLabels labels) {
|
||||
public void setLabels(IssueTemplateStringSlice labels) {
|
||||
this.labels = labels;
|
||||
}
|
||||
|
||||
@@ -218,6 +240,7 @@ public class IssueTemplate implements Serializable {
|
||||
}
|
||||
IssueTemplate issueTemplate = (IssueTemplate) o;
|
||||
return Objects.equals(this.about, issueTemplate.about)
|
||||
&& Objects.equals(this.assignees, issueTemplate.assignees)
|
||||
&& Objects.equals(this.body, issueTemplate.body)
|
||||
&& Objects.equals(this.content, issueTemplate.content)
|
||||
&& Objects.equals(this.fileName, issueTemplate.fileName)
|
||||
@@ -229,7 +252,7 @@ public class IssueTemplate implements Serializable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(about, body, content, fileName, labels, name, ref, title);
|
||||
return Objects.hash(about, assignees, body, content, fileName, labels, name, ref, title);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -238,6 +261,7 @@ public class IssueTemplate implements Serializable {
|
||||
sb.append("class IssueTemplate {\n");
|
||||
|
||||
sb.append(" about: ").append(toIndentedString(about)).append("\n");
|
||||
sb.append(" assignees: ").append(toIndentedString(assignees)).append("\n");
|
||||
sb.append(" body: ").append(toIndentedString(body)).append("\n");
|
||||
sb.append(" content: ").append(toIndentedString(content)).append("\n");
|
||||
sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n");
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Gitea API
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* OpenAPI spec version: {{AppVer | JSEscape}}
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
package org.gitnex.tea4j.v2.models;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Objects;
|
||||
|
||||
/** IssueTemplateStringSlice */
|
||||
public class IssueTemplateStringSlice extends ArrayList<String> implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
return super.equals(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(super.hashCode());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class IssueTemplateStringSlice {\n");
|
||||
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces (except the first line).
|
||||
*/
|
||||
private String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user