mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
Merge branch 'main' into fixes
This commit is contained in:
@@ -4,3 +4,4 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**filename** | **String** | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**fullName** | **String** | | [optional]
|
||||
**location** | **String** | | [optional]
|
||||
**repoAdminChangeTeamAccess** | **Boolean** | | [optional]
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**fullName** | **String** | | [optional]
|
||||
**location** | **String** | | [optional]
|
||||
**repoAdminChangeTeamAccess** | **Boolean** | | [optional]
|
||||
|
||||
@@ -12,5 +12,6 @@ Name | Type | Description | Notes
|
||||
**name** | **String** | Name of the repository to create |
|
||||
**owner** | **String** | The organization or person who will own the new repository |
|
||||
**_private** | **Boolean** | Whether the repository is private | [optional]
|
||||
**protectedBranch** | **Boolean** | include protected branches in template repo | [optional]
|
||||
**topics** | **Boolean** | include topics in template repo | [optional]
|
||||
**webhooks** | **Boolean** | include webhooks in template repo | [optional]
|
||||
|
||||
@@ -32,3 +32,7 @@ GIT | "git"
|
||||
GITHUB | "github"
|
||||
GITEA | "gitea"
|
||||
GITLAB | "gitlab"
|
||||
GOGS | "gogs"
|
||||
ONEDEV | "onedev"
|
||||
GITBUCKET | "gitbucket"
|
||||
CODEBASE | "codebase"
|
||||
|
||||
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**avatarUrl** | **String** | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**fullName** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**location** | **String** | | [optional]
|
||||
|
||||
@@ -25,6 +25,9 @@ public class CommitAffectedFiles implements Serializable {
|
||||
@SerializedName("filename")
|
||||
private String filename = null;
|
||||
|
||||
@SerializedName("status")
|
||||
private String status = null;
|
||||
|
||||
public CommitAffectedFiles filename(String filename) {
|
||||
this.filename = filename;
|
||||
return this;
|
||||
@@ -44,6 +47,25 @@ public class CommitAffectedFiles implements Serializable {
|
||||
this.filename = filename;
|
||||
}
|
||||
|
||||
public CommitAffectedFiles status(String status) {
|
||||
this.status = status;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status
|
||||
*
|
||||
* @return status
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
@@ -53,12 +75,13 @@ public class CommitAffectedFiles implements Serializable {
|
||||
return false;
|
||||
}
|
||||
CommitAffectedFiles commitAffectedFiles = (CommitAffectedFiles) o;
|
||||
return Objects.equals(this.filename, commitAffectedFiles.filename);
|
||||
return Objects.equals(this.filename, commitAffectedFiles.filename)
|
||||
&& Objects.equals(this.status, commitAffectedFiles.status);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(filename);
|
||||
return Objects.hash(filename, status);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -67,6 +90,7 @@ public class CommitAffectedFiles implements Serializable {
|
||||
sb.append("class CommitAffectedFiles {\n");
|
||||
|
||||
sb.append(" filename: ").append(toIndentedString(filename)).append("\n");
|
||||
sb.append(" status: ").append(toIndentedString(status)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@@ -30,6 +30,9 @@ public class CreateOrgOption implements Serializable {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
||||
@SerializedName("full_name")
|
||||
private String fullName = null;
|
||||
|
||||
@@ -115,6 +118,25 @@ public class CreateOrgOption implements Serializable {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public CreateOrgOption email(String email) {
|
||||
this.email = email;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get email
|
||||
*
|
||||
* @return email
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public CreateOrgOption fullName(String fullName) {
|
||||
this.fullName = fullName;
|
||||
return this;
|
||||
@@ -239,6 +261,7 @@ public class CreateOrgOption implements Serializable {
|
||||
}
|
||||
CreateOrgOption createOrgOption = (CreateOrgOption) o;
|
||||
return Objects.equals(this.description, createOrgOption.description)
|
||||
&& Objects.equals(this.email, createOrgOption.email)
|
||||
&& Objects.equals(this.fullName, createOrgOption.fullName)
|
||||
&& Objects.equals(this.location, createOrgOption.location)
|
||||
&& Objects.equals(this.repoAdminChangeTeamAccess, createOrgOption.repoAdminChangeTeamAccess)
|
||||
@@ -250,7 +273,14 @@ public class CreateOrgOption implements Serializable {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
description, fullName, location, repoAdminChangeTeamAccess, username, visibility, website);
|
||||
description,
|
||||
email,
|
||||
fullName,
|
||||
location,
|
||||
repoAdminChangeTeamAccess,
|
||||
username,
|
||||
visibility,
|
||||
website);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -259,6 +289,7 @@ public class CreateOrgOption implements Serializable {
|
||||
sb.append("class CreateOrgOption {\n");
|
||||
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" email: ").append(toIndentedString(email)).append("\n");
|
||||
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
|
||||
sb.append(" location: ").append(toIndentedString(location)).append("\n");
|
||||
sb.append(" repoAdminChangeTeamAccess: ")
|
||||
|
||||
@@ -213,7 +213,7 @@ public class CreateTeamOption implements Serializable {
|
||||
*/
|
||||
@Schema(
|
||||
example =
|
||||
"[\"repo.code\",\"repo.issues\",\"repo.ext_issues\",\"repo.wiki\",\"repo.pulls\",\"repo.releases\",\"repo.projects\",\"repo.ext_wiki\"]",
|
||||
"[\"repo.actions\",\"repo.code\",\"repo.issues\",\"repo.ext_issues\",\"repo.wiki\",\"repo.ext_wiki\",\"repo.pulls\",\"repo.releases\",\"repo.projects\",\"repo.ext_wiki\"]",
|
||||
description = "")
|
||||
public List<String> getUnits() {
|
||||
return units;
|
||||
@@ -243,7 +243,7 @@ public class CreateTeamOption implements Serializable {
|
||||
*/
|
||||
@Schema(
|
||||
example =
|
||||
"{\"repo.code\":\"read\",\"repo.ext_issues\":\"none\",\"repo.ext_wiki\":\"none\",\"repo.issues\":\"write\",\"repo.projects\":\"none\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.wiki\":\"admin\"}",
|
||||
"{\"repo.actions\",\"repo.packages\",\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"}",
|
||||
description = "")
|
||||
public Map<String, String> getUnitsMap() {
|
||||
return unitsMap;
|
||||
|
||||
@@ -30,6 +30,9 @@ public class EditOrgOption implements Serializable {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
||||
@SerializedName("full_name")
|
||||
private String fullName = null;
|
||||
|
||||
@@ -110,6 +113,25 @@ public class EditOrgOption implements Serializable {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public EditOrgOption email(String email) {
|
||||
this.email = email;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get email
|
||||
*
|
||||
* @return email
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public EditOrgOption fullName(String fullName) {
|
||||
this.fullName = fullName;
|
||||
return this;
|
||||
@@ -215,6 +237,7 @@ public class EditOrgOption implements Serializable {
|
||||
}
|
||||
EditOrgOption editOrgOption = (EditOrgOption) o;
|
||||
return Objects.equals(this.description, editOrgOption.description)
|
||||
&& Objects.equals(this.email, editOrgOption.email)
|
||||
&& Objects.equals(this.fullName, editOrgOption.fullName)
|
||||
&& Objects.equals(this.location, editOrgOption.location)
|
||||
&& Objects.equals(this.repoAdminChangeTeamAccess, editOrgOption.repoAdminChangeTeamAccess)
|
||||
@@ -225,7 +248,7 @@ public class EditOrgOption implements Serializable {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
description, fullName, location, repoAdminChangeTeamAccess, visibility, website);
|
||||
description, email, fullName, location, repoAdminChangeTeamAccess, visibility, website);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -234,6 +257,7 @@ public class EditOrgOption implements Serializable {
|
||||
sb.append("class EditOrgOption {\n");
|
||||
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" email: ").append(toIndentedString(email)).append("\n");
|
||||
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
|
||||
sb.append(" location: ").append(toIndentedString(location)).append("\n");
|
||||
sb.append(" repoAdminChangeTeamAccess: ")
|
||||
|
||||
@@ -49,6 +49,9 @@ public class GenerateRepoOption implements Serializable {
|
||||
@SerializedName("private")
|
||||
private Boolean _private = null;
|
||||
|
||||
@SerializedName("protected_branch")
|
||||
private Boolean protectedBranch = null;
|
||||
|
||||
@SerializedName("topics")
|
||||
private Boolean topics = null;
|
||||
|
||||
@@ -228,6 +231,25 @@ public class GenerateRepoOption implements Serializable {
|
||||
this._private = _private;
|
||||
}
|
||||
|
||||
public GenerateRepoOption protectedBranch(Boolean protectedBranch) {
|
||||
this.protectedBranch = protectedBranch;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* include protected branches in template repo
|
||||
*
|
||||
* @return protectedBranch
|
||||
*/
|
||||
@Schema(description = "include protected branches in template repo")
|
||||
public Boolean isProtectedBranch() {
|
||||
return protectedBranch;
|
||||
}
|
||||
|
||||
public void setProtectedBranch(Boolean protectedBranch) {
|
||||
this.protectedBranch = protectedBranch;
|
||||
}
|
||||
|
||||
public GenerateRepoOption topics(Boolean topics) {
|
||||
this.topics = topics;
|
||||
return this;
|
||||
@@ -284,6 +306,7 @@ public class GenerateRepoOption implements Serializable {
|
||||
&& Objects.equals(this.name, generateRepoOption.name)
|
||||
&& Objects.equals(this.owner, generateRepoOption.owner)
|
||||
&& Objects.equals(this._private, generateRepoOption._private)
|
||||
&& Objects.equals(this.protectedBranch, generateRepoOption.protectedBranch)
|
||||
&& Objects.equals(this.topics, generateRepoOption.topics)
|
||||
&& Objects.equals(this.webhooks, generateRepoOption.webhooks);
|
||||
}
|
||||
@@ -300,6 +323,7 @@ public class GenerateRepoOption implements Serializable {
|
||||
name,
|
||||
owner,
|
||||
_private,
|
||||
protectedBranch,
|
||||
topics,
|
||||
webhooks);
|
||||
}
|
||||
@@ -318,6 +342,7 @@ public class GenerateRepoOption implements Serializable {
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
|
||||
sb.append(" _private: ").append(toIndentedString(_private)).append("\n");
|
||||
sb.append(" protectedBranch: ").append(toIndentedString(protectedBranch)).append("\n");
|
||||
sb.append(" topics: ").append(toIndentedString(topics)).append("\n");
|
||||
sb.append(" webhooks: ").append(toIndentedString(webhooks)).append("\n");
|
||||
sb.append("}");
|
||||
|
||||
@@ -89,7 +89,11 @@ public class MigrateRepoOptions implements Serializable {
|
||||
GIT("git"),
|
||||
GITHUB("github"),
|
||||
GITEA("gitea"),
|
||||
GITLAB("gitlab");
|
||||
GITLAB("gitlab"),
|
||||
GOGS("gogs"),
|
||||
ONEDEV("onedev"),
|
||||
GITBUCKET("gitbucket"),
|
||||
CODEBASE("codebase");
|
||||
|
||||
private String value;
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ public class Organization implements Serializable {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
||||
@SerializedName("full_name")
|
||||
private String fullName = null;
|
||||
|
||||
@@ -90,6 +93,25 @@ public class Organization implements Serializable {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Organization email(String email) {
|
||||
this.email = email;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get email
|
||||
*
|
||||
* @return email
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public Organization fullName(String fullName) {
|
||||
this.fullName = fullName;
|
||||
return this;
|
||||
@@ -253,6 +275,7 @@ public class Organization implements Serializable {
|
||||
Organization organization = (Organization) o;
|
||||
return Objects.equals(this.avatarUrl, organization.avatarUrl)
|
||||
&& Objects.equals(this.description, organization.description)
|
||||
&& Objects.equals(this.email, organization.email)
|
||||
&& Objects.equals(this.fullName, organization.fullName)
|
||||
&& Objects.equals(this.id, organization.id)
|
||||
&& Objects.equals(this.location, organization.location)
|
||||
@@ -268,6 +291,7 @@ public class Organization implements Serializable {
|
||||
return Objects.hash(
|
||||
avatarUrl,
|
||||
description,
|
||||
email,
|
||||
fullName,
|
||||
id,
|
||||
location,
|
||||
@@ -285,6 +309,7 @@ public class Organization implements Serializable {
|
||||
|
||||
sb.append(" avatarUrl: ").append(toIndentedString(avatarUrl)).append("\n");
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" email: ").append(toIndentedString(email)).append("\n");
|
||||
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" location: ").append(toIndentedString(location)).append("\n");
|
||||
|
||||
Reference in New Issue
Block a user