Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2022-07-15 22:01:39 +00:00
parent 78bf293c06
commit dac4f4da6a
4 changed files with 81 additions and 0 deletions
@@ -32,6 +32,9 @@ public class Repository implements Serializable {
@SerializedName("allow_rebase_explicit")
private Boolean allowRebaseExplicit = null;
@SerializedName("allow_rebase_update")
private Boolean allowRebaseUpdate = null;
@SerializedName("allow_squash_merge")
private Boolean allowSquashMerge = null;
@@ -50,6 +53,9 @@ public class Repository implements Serializable {
@SerializedName("default_branch")
private String defaultBranch = null;
@SerializedName("default_delete_branch_after_merge")
private Boolean defaultDeleteBranchAfterMerge = null;
@SerializedName("default_merge_style")
private String defaultMergeStyle = null;
@@ -224,6 +230,25 @@ public class Repository implements Serializable {
this.allowRebaseExplicit = allowRebaseExplicit;
}
public Repository allowRebaseUpdate(Boolean allowRebaseUpdate) {
this.allowRebaseUpdate = allowRebaseUpdate;
return this;
}
/**
* Get allowRebaseUpdate
*
* @return allowRebaseUpdate
*/
@Schema(description = "")
public Boolean isAllowRebaseUpdate() {
return allowRebaseUpdate;
}
public void setAllowRebaseUpdate(Boolean allowRebaseUpdate) {
this.allowRebaseUpdate = allowRebaseUpdate;
}
public Repository allowSquashMerge(Boolean allowSquashMerge) {
this.allowSquashMerge = allowSquashMerge;
return this;
@@ -338,6 +363,25 @@ public class Repository implements Serializable {
this.defaultBranch = defaultBranch;
}
public Repository defaultDeleteBranchAfterMerge(Boolean defaultDeleteBranchAfterMerge) {
this.defaultDeleteBranchAfterMerge = defaultDeleteBranchAfterMerge;
return this;
}
/**
* Get defaultDeleteBranchAfterMerge
*
* @return defaultDeleteBranchAfterMerge
*/
@Schema(description = "")
public Boolean isDefaultDeleteBranchAfterMerge() {
return defaultDeleteBranchAfterMerge;
}
public void setDefaultDeleteBranchAfterMerge(Boolean defaultDeleteBranchAfterMerge) {
this.defaultDeleteBranchAfterMerge = defaultDeleteBranchAfterMerge;
}
public Repository defaultMergeStyle(String defaultMergeStyle) {
this.defaultMergeStyle = defaultMergeStyle;
return this;
@@ -1091,12 +1135,15 @@ public class Repository implements Serializable {
return Objects.equals(this.allowMergeCommits, repository.allowMergeCommits)
&& Objects.equals(this.allowRebase, repository.allowRebase)
&& Objects.equals(this.allowRebaseExplicit, repository.allowRebaseExplicit)
&& Objects.equals(this.allowRebaseUpdate, repository.allowRebaseUpdate)
&& Objects.equals(this.allowSquashMerge, repository.allowSquashMerge)
&& Objects.equals(this.archived, repository.archived)
&& Objects.equals(this.avatarUrl, repository.avatarUrl)
&& Objects.equals(this.cloneUrl, repository.cloneUrl)
&& Objects.equals(this.createdAt, repository.createdAt)
&& Objects.equals(this.defaultBranch, repository.defaultBranch)
&& Objects.equals(
this.defaultDeleteBranchAfterMerge, repository.defaultDeleteBranchAfterMerge)
&& Objects.equals(this.defaultMergeStyle, repository.defaultMergeStyle)
&& Objects.equals(this.description, repository.description)
&& Objects.equals(this.empty, repository.empty)
@@ -1144,12 +1191,14 @@ public class Repository implements Serializable {
allowMergeCommits,
allowRebase,
allowRebaseExplicit,
allowRebaseUpdate,
allowSquashMerge,
archived,
avatarUrl,
cloneUrl,
createdAt,
defaultBranch,
defaultDeleteBranchAfterMerge,
defaultMergeStyle,
description,
empty,
@@ -1201,12 +1250,16 @@ public class Repository implements Serializable {
sb.append(" allowRebaseExplicit: ")
.append(toIndentedString(allowRebaseExplicit))
.append("\n");
sb.append(" allowRebaseUpdate: ").append(toIndentedString(allowRebaseUpdate)).append("\n");
sb.append(" allowSquashMerge: ").append(toIndentedString(allowSquashMerge)).append("\n");
sb.append(" archived: ").append(toIndentedString(archived)).append("\n");
sb.append(" avatarUrl: ").append(toIndentedString(avatarUrl)).append("\n");
sb.append(" cloneUrl: ").append(toIndentedString(cloneUrl)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" defaultBranch: ").append(toIndentedString(defaultBranch)).append("\n");
sb.append(" defaultDeleteBranchAfterMerge: ")
.append(toIndentedString(defaultDeleteBranchAfterMerge))
.append("\n");
sb.append(" defaultMergeStyle: ").append(toIndentedString(defaultMergeStyle)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" empty: ").append(toIndentedString(empty)).append("\n");
@@ -65,6 +65,9 @@ public class User implements Serializable {
@SerializedName("login")
private String login = null;
@SerializedName("login_name")
private String loginName = "empty";
@SerializedName("prohibit_login")
private Boolean prohibitLogin = null;
@@ -346,6 +349,25 @@ public class User implements Serializable {
this.login = login;
}
public User loginName(String loginName) {
this.loginName = loginName;
return this;
}
/**
* the user's authentication sign-in name.
*
* @return loginName
*/
@Schema(description = "the user's authentication sign-in name.")
public String getLoginName() {
return loginName;
}
public void setLoginName(String loginName) {
this.loginName = loginName;
}
public User prohibitLogin(Boolean prohibitLogin) {
this.prohibitLogin = prohibitLogin;
return this;
@@ -464,6 +486,7 @@ public class User implements Serializable {
&& Objects.equals(this.lastLogin, user.lastLogin)
&& Objects.equals(this.location, user.location)
&& Objects.equals(this.login, user.login)
&& Objects.equals(this.loginName, user.loginName)
&& Objects.equals(this.prohibitLogin, user.prohibitLogin)
&& Objects.equals(this.restricted, user.restricted)
&& Objects.equals(this.starredReposCount, user.starredReposCount)
@@ -488,6 +511,7 @@ public class User implements Serializable {
lastLogin,
location,
login,
loginName,
prohibitLogin,
restricted,
starredReposCount,
@@ -514,6 +538,7 @@ public class User implements Serializable {
sb.append(" lastLogin: ").append(toIndentedString(lastLogin)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" login: ").append(toIndentedString(login)).append("\n");
sb.append(" loginName: ").append(toIndentedString(loginName)).append("\n");
sb.append(" prohibitLogin: ").append(toIndentedString(prohibitLogin)).append("\n");
sb.append(" restricted: ").append(toIndentedString(restricted)).append("\n");
sb.append(" starredReposCount: ").append(toIndentedString(starredReposCount)).append("\n");