Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-03-17 00:03:37 +00:00
parent 1b7ea6dff8
commit 762e9a48e3
4 changed files with 156 additions and 0 deletions
@@ -70,15 +70,24 @@ public class EditRepoOption implements Serializable {
@SerializedName("external_wiki")
private ExternalWiki externalWiki = null;
@SerializedName("has_actions")
private Boolean hasActions = null;
@SerializedName("has_issues")
private Boolean hasIssues = null;
@SerializedName("has_packages")
private Boolean hasPackages = null;
@SerializedName("has_projects")
private Boolean hasProjects = null;
@SerializedName("has_pull_requests")
private Boolean hasPullRequests = null;
@SerializedName("has_releases")
private Boolean hasReleases = null;
@SerializedName("has_wiki")
private Boolean hasWiki = null;
@@ -437,6 +446,25 @@ public class EditRepoOption implements Serializable {
this.externalWiki = externalWiki;
}
public EditRepoOption hasActions(Boolean hasActions) {
this.hasActions = hasActions;
return this;
}
/**
* either `true` to enable actions unit, or `false` to disable them.
*
* @return hasActions
*/
@Schema(description = "either `true` to enable actions unit, or `false` to disable them.")
public Boolean isHasActions() {
return hasActions;
}
public void setHasActions(Boolean hasActions) {
this.hasActions = hasActions;
}
public EditRepoOption hasIssues(Boolean hasIssues) {
this.hasIssues = hasIssues;
return this;
@@ -459,6 +487,25 @@ public class EditRepoOption implements Serializable {
this.hasIssues = hasIssues;
}
public EditRepoOption hasPackages(Boolean hasPackages) {
this.hasPackages = hasPackages;
return this;
}
/**
* either `true` to enable packages unit, or `false` to disable them.
*
* @return hasPackages
*/
@Schema(description = "either `true` to enable packages unit, or `false` to disable them.")
public Boolean isHasPackages() {
return hasPackages;
}
public void setHasPackages(Boolean hasPackages) {
this.hasPackages = hasPackages;
}
public EditRepoOption hasProjects(Boolean hasProjects) {
this.hasProjects = hasProjects;
return this;
@@ -497,6 +544,25 @@ public class EditRepoOption implements Serializable {
this.hasPullRequests = hasPullRequests;
}
public EditRepoOption hasReleases(Boolean hasReleases) {
this.hasReleases = hasReleases;
return this;
}
/**
* either `true` to enable releases unit, or `false` to disable them.
*
* @return hasReleases
*/
@Schema(description = "either `true` to enable releases unit, or `false` to disable them.")
public Boolean isHasReleases() {
return hasReleases;
}
public void setHasReleases(Boolean hasReleases) {
this.hasReleases = hasReleases;
}
public EditRepoOption hasWiki(Boolean hasWiki) {
this.hasWiki = hasWiki;
return this;
@@ -692,9 +758,12 @@ public class EditRepoOption implements Serializable {
&& Objects.equals(this.enablePrune, editRepoOption.enablePrune)
&& Objects.equals(this.externalTracker, editRepoOption.externalTracker)
&& Objects.equals(this.externalWiki, editRepoOption.externalWiki)
&& Objects.equals(this.hasActions, editRepoOption.hasActions)
&& Objects.equals(this.hasIssues, editRepoOption.hasIssues)
&& Objects.equals(this.hasPackages, editRepoOption.hasPackages)
&& Objects.equals(this.hasProjects, editRepoOption.hasProjects)
&& Objects.equals(this.hasPullRequests, editRepoOption.hasPullRequests)
&& Objects.equals(this.hasReleases, editRepoOption.hasReleases)
&& Objects.equals(this.hasWiki, editRepoOption.hasWiki)
&& Objects.equals(this.ignoreWhitespaceConflicts, editRepoOption.ignoreWhitespaceConflicts)
&& Objects.equals(this.internalTracker, editRepoOption.internalTracker)
@@ -724,9 +793,12 @@ public class EditRepoOption implements Serializable {
enablePrune,
externalTracker,
externalWiki,
hasActions,
hasIssues,
hasPackages,
hasProjects,
hasPullRequests,
hasReleases,
hasWiki,
ignoreWhitespaceConflicts,
internalTracker,
@@ -766,9 +838,12 @@ public class EditRepoOption implements Serializable {
sb.append(" enablePrune: ").append(toIndentedString(enablePrune)).append("\n");
sb.append(" externalTracker: ").append(toIndentedString(externalTracker)).append("\n");
sb.append(" externalWiki: ").append(toIndentedString(externalWiki)).append("\n");
sb.append(" hasActions: ").append(toIndentedString(hasActions)).append("\n");
sb.append(" hasIssues: ").append(toIndentedString(hasIssues)).append("\n");
sb.append(" hasPackages: ").append(toIndentedString(hasPackages)).append("\n");
sb.append(" hasProjects: ").append(toIndentedString(hasProjects)).append("\n");
sb.append(" hasPullRequests: ").append(toIndentedString(hasPullRequests)).append("\n");
sb.append(" hasReleases: ").append(toIndentedString(hasReleases)).append("\n");
sb.append(" hasWiki: ").append(toIndentedString(hasWiki)).append("\n");
sb.append(" ignoreWhitespaceConflicts: ")
.append(toIndentedString(ignoreWhitespaceConflicts))
@@ -83,15 +83,24 @@ public class Repository implements Serializable {
@SerializedName("full_name")
private String fullName = null;
@SerializedName("has_actions")
private Boolean hasActions = null;
@SerializedName("has_issues")
private Boolean hasIssues = null;
@SerializedName("has_packages")
private Boolean hasPackages = null;
@SerializedName("has_projects")
private Boolean hasProjects = null;
@SerializedName("has_pull_requests")
private Boolean hasPullRequests = null;
@SerializedName("has_releases")
private Boolean hasReleases = null;
@SerializedName("has_wiki")
private Boolean hasWiki = null;
@@ -559,6 +568,25 @@ public class Repository implements Serializable {
this.fullName = fullName;
}
public Repository hasActions(Boolean hasActions) {
this.hasActions = hasActions;
return this;
}
/**
* Get hasActions
*
* @return hasActions
*/
@Schema(description = "")
public Boolean isHasActions() {
return hasActions;
}
public void setHasActions(Boolean hasActions) {
this.hasActions = hasActions;
}
public Repository hasIssues(Boolean hasIssues) {
this.hasIssues = hasIssues;
return this;
@@ -578,6 +606,25 @@ public class Repository implements Serializable {
this.hasIssues = hasIssues;
}
public Repository hasPackages(Boolean hasPackages) {
this.hasPackages = hasPackages;
return this;
}
/**
* Get hasPackages
*
* @return hasPackages
*/
@Schema(description = "")
public Boolean isHasPackages() {
return hasPackages;
}
public void setHasPackages(Boolean hasPackages) {
this.hasPackages = hasPackages;
}
public Repository hasProjects(Boolean hasProjects) {
this.hasProjects = hasProjects;
return this;
@@ -616,6 +663,25 @@ public class Repository implements Serializable {
this.hasPullRequests = hasPullRequests;
}
public Repository hasReleases(Boolean hasReleases) {
this.hasReleases = hasReleases;
return this;
}
/**
* Get hasReleases
*
* @return hasReleases
*/
@Schema(description = "")
public Boolean isHasReleases() {
return hasReleases;
}
public void setHasReleases(Boolean hasReleases) {
this.hasReleases = hasReleases;
}
public Repository hasWiki(Boolean hasWiki) {
this.hasWiki = hasWiki;
return this;
@@ -1197,9 +1263,12 @@ public class Repository implements Serializable {
&& Objects.equals(this.fork, repository.fork)
&& Objects.equals(this.forksCount, repository.forksCount)
&& Objects.equals(this.fullName, repository.fullName)
&& Objects.equals(this.hasActions, repository.hasActions)
&& Objects.equals(this.hasIssues, repository.hasIssues)
&& Objects.equals(this.hasPackages, repository.hasPackages)
&& Objects.equals(this.hasProjects, repository.hasProjects)
&& Objects.equals(this.hasPullRequests, repository.hasPullRequests)
&& Objects.equals(this.hasReleases, repository.hasReleases)
&& Objects.equals(this.hasWiki, repository.hasWiki)
&& Objects.equals(this.htmlUrl, repository.htmlUrl)
&& Objects.equals(this.id, repository.id)
@@ -1254,9 +1323,12 @@ public class Repository implements Serializable {
fork,
forksCount,
fullName,
hasActions,
hasIssues,
hasPackages,
hasProjects,
hasPullRequests,
hasReleases,
hasWiki,
htmlUrl,
id,
@@ -1319,9 +1391,12 @@ public class Repository implements Serializable {
sb.append(" fork: ").append(toIndentedString(fork)).append("\n");
sb.append(" forksCount: ").append(toIndentedString(forksCount)).append("\n");
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
sb.append(" hasActions: ").append(toIndentedString(hasActions)).append("\n");
sb.append(" hasIssues: ").append(toIndentedString(hasIssues)).append("\n");
sb.append(" hasPackages: ").append(toIndentedString(hasPackages)).append("\n");
sb.append(" hasProjects: ").append(toIndentedString(hasProjects)).append("\n");
sb.append(" hasPullRequests: ").append(toIndentedString(hasPullRequests)).append("\n");
sb.append(" hasReleases: ").append(toIndentedString(hasReleases)).append("\n");
sb.append(" hasWiki: ").append(toIndentedString(hasWiki)).append("\n");
sb.append(" htmlUrl: ").append(toIndentedString(htmlUrl)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");