Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2025-08-09 00:21:17 +00:00
parent 8cbeb919cd
commit 1e721592ba
4 changed files with 53 additions and 0 deletions
@@ -76,6 +76,9 @@ public class EditRepoOption implements Serializable {
@SerializedName("has_actions")
private Boolean hasActions = null;
@SerializedName("has_code")
private Boolean hasCode = null;
@SerializedName("has_issues")
private Boolean hasIssues = null;
@@ -494,6 +497,26 @@ public class EditRepoOption implements Serializable {
this.hasActions = hasActions;
}
public EditRepoOption hasCode(Boolean hasCode) {
this.hasCode = hasCode;
return this;
}
/**
* either `true` to enable code for this repository or `false` to disable it.
*
* @return hasCode
*/
@Schema(
description = "either `true` to enable code for this repository or `false` to disable it.")
public Boolean isHasCode() {
return hasCode;
}
public void setHasCode(Boolean hasCode) {
this.hasCode = hasCode;
}
public EditRepoOption hasIssues(Boolean hasIssues) {
this.hasIssues = hasIssues;
return this;
@@ -812,6 +835,7 @@ public class EditRepoOption implements Serializable {
&& Objects.equals(this.externalTracker, editRepoOption.externalTracker)
&& Objects.equals(this.externalWiki, editRepoOption.externalWiki)
&& Objects.equals(this.hasActions, editRepoOption.hasActions)
&& Objects.equals(this.hasCode, editRepoOption.hasCode)
&& Objects.equals(this.hasIssues, editRepoOption.hasIssues)
&& Objects.equals(this.hasPackages, editRepoOption.hasPackages)
&& Objects.equals(this.hasProjects, editRepoOption.hasProjects)
@@ -849,6 +873,7 @@ public class EditRepoOption implements Serializable {
externalTracker,
externalWiki,
hasActions,
hasCode,
hasIssues,
hasPackages,
hasProjects,
@@ -898,6 +923,7 @@ public class EditRepoOption implements Serializable {
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(" hasCode: ").append(toIndentedString(hasCode)).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");
@@ -105,6 +105,9 @@ public class Repository implements Serializable {
@SerializedName("has_actions")
private Boolean hasActions = null;
@SerializedName("has_code")
private Boolean hasCode = null;
@SerializedName("has_issues")
private Boolean hasIssues = null;
@@ -742,6 +745,25 @@ public class Repository implements Serializable {
this.hasActions = hasActions;
}
public Repository hasCode(Boolean hasCode) {
this.hasCode = hasCode;
return this;
}
/**
* Get hasCode
*
* @return hasCode
*/
@Schema(description = "")
public Boolean isHasCode() {
return hasCode;
}
public void setHasCode(Boolean hasCode) {
this.hasCode = hasCode;
}
public Repository hasIssues(Boolean hasIssues) {
this.hasIssues = hasIssues;
return this;
@@ -1534,6 +1556,7 @@ public class Repository implements Serializable {
&& Objects.equals(this.forksCount, repository.forksCount)
&& Objects.equals(this.fullName, repository.fullName)
&& Objects.equals(this.hasActions, repository.hasActions)
&& Objects.equals(this.hasCode, repository.hasCode)
&& Objects.equals(this.hasIssues, repository.hasIssues)
&& Objects.equals(this.hasPackages, repository.hasPackages)
&& Objects.equals(this.hasProjects, repository.hasProjects)
@@ -1603,6 +1626,7 @@ public class Repository implements Serializable {
forksCount,
fullName,
hasActions,
hasCode,
hasIssues,
hasPackages,
hasProjects,
@@ -1684,6 +1708,7 @@ public class Repository implements Serializable {
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(" hasCode: ").append(toIndentedString(hasCode)).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");