mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-08 10:42:18 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Gitea API.
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* OpenAPI spec version: {{AppVer | JSEscape | Safe}}
|
||||
*
|
||||
*
|
||||
* 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 com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/** IssueConfig */
|
||||
public class IssueConfig implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SerializedName("blank_issues_enabled")
|
||||
private Boolean blankIssuesEnabled = null;
|
||||
|
||||
@SerializedName("contact_links")
|
||||
private List<IssueConfigContactLink> contactLinks = null;
|
||||
|
||||
public IssueConfig blankIssuesEnabled(Boolean blankIssuesEnabled) {
|
||||
this.blankIssuesEnabled = blankIssuesEnabled;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get blankIssuesEnabled
|
||||
*
|
||||
* @return blankIssuesEnabled
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public Boolean isBlankIssuesEnabled() {
|
||||
return blankIssuesEnabled;
|
||||
}
|
||||
|
||||
public void setBlankIssuesEnabled(Boolean blankIssuesEnabled) {
|
||||
this.blankIssuesEnabled = blankIssuesEnabled;
|
||||
}
|
||||
|
||||
public IssueConfig contactLinks(List<IssueConfigContactLink> contactLinks) {
|
||||
this.contactLinks = contactLinks;
|
||||
return this;
|
||||
}
|
||||
|
||||
public IssueConfig addContactLinksItem(IssueConfigContactLink contactLinksItem) {
|
||||
if (this.contactLinks == null) {
|
||||
this.contactLinks = new ArrayList<>();
|
||||
}
|
||||
this.contactLinks.add(contactLinksItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get contactLinks
|
||||
*
|
||||
* @return contactLinks
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public List<IssueConfigContactLink> getContactLinks() {
|
||||
return contactLinks;
|
||||
}
|
||||
|
||||
public void setContactLinks(List<IssueConfigContactLink> contactLinks) {
|
||||
this.contactLinks = contactLinks;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
IssueConfig issueConfig = (IssueConfig) o;
|
||||
return Objects.equals(this.blankIssuesEnabled, issueConfig.blankIssuesEnabled)
|
||||
&& Objects.equals(this.contactLinks, issueConfig.contactLinks);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(blankIssuesEnabled, contactLinks);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class IssueConfig {\n");
|
||||
|
||||
sb.append(" blankIssuesEnabled: ").append(toIndentedString(blankIssuesEnabled)).append("\n");
|
||||
sb.append(" contactLinks: ").append(toIndentedString(contactLinks)).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 ");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
* Gitea API.
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* OpenAPI spec version: {{AppVer | JSEscape | Safe}}
|
||||
*
|
||||
*
|
||||
* 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 com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
/** IssueConfigContactLink */
|
||||
public class IssueConfigContactLink implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SerializedName("about")
|
||||
private String about = null;
|
||||
|
||||
@SerializedName("name")
|
||||
private String name = null;
|
||||
|
||||
@SerializedName("url")
|
||||
private String url = null;
|
||||
|
||||
public IssueConfigContactLink about(String about) {
|
||||
this.about = about;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get about
|
||||
*
|
||||
* @return about
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getAbout() {
|
||||
return about;
|
||||
}
|
||||
|
||||
public void setAbout(String about) {
|
||||
this.about = about;
|
||||
}
|
||||
|
||||
public IssueConfigContactLink name(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get name
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public IssueConfigContactLink url(String url) {
|
||||
this.url = url;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get url
|
||||
*
|
||||
* @return url
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
IssueConfigContactLink issueConfigContactLink = (IssueConfigContactLink) o;
|
||||
return Objects.equals(this.about, issueConfigContactLink.about)
|
||||
&& Objects.equals(this.name, issueConfigContactLink.name)
|
||||
&& Objects.equals(this.url, issueConfigContactLink.url);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(about, name, url);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class IssueConfigContactLink {\n");
|
||||
|
||||
sb.append(" about: ").append(toIndentedString(about)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" url: ").append(toIndentedString(url)).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 ");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Gitea API.
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* OpenAPI spec version: {{AppVer | JSEscape | Safe}}
|
||||
*
|
||||
*
|
||||
* 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 com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
/** IssueConfigValidation */
|
||||
public class IssueConfigValidation implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SerializedName("message")
|
||||
private String message = null;
|
||||
|
||||
@SerializedName("valid")
|
||||
private Boolean valid = null;
|
||||
|
||||
public IssueConfigValidation message(String message) {
|
||||
this.message = message;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get message
|
||||
*
|
||||
* @return message
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public IssueConfigValidation valid(Boolean valid) {
|
||||
this.valid = valid;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get valid
|
||||
*
|
||||
* @return valid
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public Boolean isValid() {
|
||||
return valid;
|
||||
}
|
||||
|
||||
public void setValid(Boolean valid) {
|
||||
this.valid = valid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
IssueConfigValidation issueConfigValidation = (IssueConfigValidation) o;
|
||||
return Objects.equals(this.message, issueConfigValidation.message)
|
||||
&& Objects.equals(this.valid, issueConfigValidation.valid);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(message, valid);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class IssueConfigValidation {\n");
|
||||
|
||||
sb.append(" message: ").append(toIndentedString(message)).append("\n");
|
||||
sb.append(" valid: ").append(toIndentedString(valid)).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 ");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* Gitea API.
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* OpenAPI spec version: {{AppVer | JSEscape | Safe}}
|
||||
*
|
||||
*
|
||||
* 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 com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
/** IssueMeta basic issue information */
|
||||
@Schema(description = "IssueMeta basic issue information")
|
||||
public class IssueMeta implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SerializedName("index")
|
||||
private Long index = null;
|
||||
|
||||
@SerializedName("owner")
|
||||
private String owner = null;
|
||||
|
||||
@SerializedName("repo")
|
||||
private String repo = null;
|
||||
|
||||
public IssueMeta index(Long index) {
|
||||
this.index = index;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get index
|
||||
*
|
||||
* @return index
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public Long getIndex() {
|
||||
return index;
|
||||
}
|
||||
|
||||
public void setIndex(Long index) {
|
||||
this.index = index;
|
||||
}
|
||||
|
||||
public IssueMeta owner(String owner) {
|
||||
this.owner = owner;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get owner
|
||||
*
|
||||
* @return owner
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getOwner() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
public void setOwner(String owner) {
|
||||
this.owner = owner;
|
||||
}
|
||||
|
||||
public IssueMeta repo(String repo) {
|
||||
this.repo = repo;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get repo
|
||||
*
|
||||
* @return repo
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getRepo() {
|
||||
return repo;
|
||||
}
|
||||
|
||||
public void setRepo(String repo) {
|
||||
this.repo = repo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
IssueMeta issueMeta = (IssueMeta) o;
|
||||
return Objects.equals(this.index, issueMeta.index)
|
||||
&& Objects.equals(this.owner, issueMeta.owner)
|
||||
&& Objects.equals(this.repo, issueMeta.repo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(index, owner, repo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class IssueMeta {\n");
|
||||
|
||||
sb.append(" index: ").append(toIndentedString(index)).append("\n");
|
||||
sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
|
||||
sb.append(" repo: ").append(toIndentedString(repo)).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