mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -31,6 +31,9 @@ Name | Type | Description | Notes
|
||||
**ignoreWhitespaceConflicts** | **Boolean** | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. | [optional]
|
||||
**internalTracker** | [**InternalTracker**](InternalTracker.md) | | [optional]
|
||||
**mirrorInterval** | **String** | set to a string like `8h30m0s` to set the mirror interval time | [optional]
|
||||
**mirrorPassword** | **String** | authentication password for the remote repository (mirrors) | [optional]
|
||||
**mirrorToken** | **String** | authentication token for the remote repository (mirrors) | [optional]
|
||||
**mirrorUsername** | **String** | authentication username for the remote repository (mirrors) | [optional]
|
||||
**name** | **String** | name of the repository | [optional]
|
||||
**_private** | **Boolean** | either `true` to make the repository private or `false` to make it public. Note: you will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. | [optional]
|
||||
**projectsMode** | **String** | `repo` to only allow repo-level projects, `owner` to only allow owner projects, `all` to allow both. | [optional]
|
||||
|
||||
@@ -106,6 +106,15 @@ public class EditRepoOption implements Serializable {
|
||||
@SerializedName("mirror_interval")
|
||||
private String mirrorInterval = null;
|
||||
|
||||
@SerializedName("mirror_password")
|
||||
private String mirrorPassword = null;
|
||||
|
||||
@SerializedName("mirror_token")
|
||||
private String mirrorToken = null;
|
||||
|
||||
@SerializedName("mirror_username")
|
||||
private String mirrorUsername = null;
|
||||
|
||||
@SerializedName("name")
|
||||
private String name = null;
|
||||
|
||||
@@ -697,6 +706,63 @@ public class EditRepoOption implements Serializable {
|
||||
this.mirrorInterval = mirrorInterval;
|
||||
}
|
||||
|
||||
public EditRepoOption mirrorPassword(String mirrorPassword) {
|
||||
this.mirrorPassword = mirrorPassword;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* authentication password for the remote repository (mirrors)
|
||||
*
|
||||
* @return mirrorPassword
|
||||
*/
|
||||
@Schema(description = "authentication password for the remote repository (mirrors)")
|
||||
public String getMirrorPassword() {
|
||||
return mirrorPassword;
|
||||
}
|
||||
|
||||
public void setMirrorPassword(String mirrorPassword) {
|
||||
this.mirrorPassword = mirrorPassword;
|
||||
}
|
||||
|
||||
public EditRepoOption mirrorToken(String mirrorToken) {
|
||||
this.mirrorToken = mirrorToken;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* authentication token for the remote repository (mirrors)
|
||||
*
|
||||
* @return mirrorToken
|
||||
*/
|
||||
@Schema(description = "authentication token for the remote repository (mirrors)")
|
||||
public String getMirrorToken() {
|
||||
return mirrorToken;
|
||||
}
|
||||
|
||||
public void setMirrorToken(String mirrorToken) {
|
||||
this.mirrorToken = mirrorToken;
|
||||
}
|
||||
|
||||
public EditRepoOption mirrorUsername(String mirrorUsername) {
|
||||
this.mirrorUsername = mirrorUsername;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* authentication username for the remote repository (mirrors)
|
||||
*
|
||||
* @return mirrorUsername
|
||||
*/
|
||||
@Schema(description = "authentication username for the remote repository (mirrors)")
|
||||
public String getMirrorUsername() {
|
||||
return mirrorUsername;
|
||||
}
|
||||
|
||||
public void setMirrorUsername(String mirrorUsername) {
|
||||
this.mirrorUsername = mirrorUsername;
|
||||
}
|
||||
|
||||
public EditRepoOption name(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
@@ -845,6 +911,9 @@ public class EditRepoOption implements Serializable {
|
||||
&& Objects.equals(this.ignoreWhitespaceConflicts, editRepoOption.ignoreWhitespaceConflicts)
|
||||
&& Objects.equals(this.internalTracker, editRepoOption.internalTracker)
|
||||
&& Objects.equals(this.mirrorInterval, editRepoOption.mirrorInterval)
|
||||
&& Objects.equals(this.mirrorPassword, editRepoOption.mirrorPassword)
|
||||
&& Objects.equals(this.mirrorToken, editRepoOption.mirrorToken)
|
||||
&& Objects.equals(this.mirrorUsername, editRepoOption.mirrorUsername)
|
||||
&& Objects.equals(this.name, editRepoOption.name)
|
||||
&& Objects.equals(this._private, editRepoOption._private)
|
||||
&& Objects.equals(this.projectsMode, editRepoOption.projectsMode)
|
||||
@@ -883,6 +952,9 @@ public class EditRepoOption implements Serializable {
|
||||
ignoreWhitespaceConflicts,
|
||||
internalTracker,
|
||||
mirrorInterval,
|
||||
mirrorPassword,
|
||||
mirrorToken,
|
||||
mirrorUsername,
|
||||
name,
|
||||
_private,
|
||||
projectsMode,
|
||||
@@ -935,6 +1007,9 @@ public class EditRepoOption implements Serializable {
|
||||
.append("\n");
|
||||
sb.append(" internalTracker: ").append(toIndentedString(internalTracker)).append("\n");
|
||||
sb.append(" mirrorInterval: ").append(toIndentedString(mirrorInterval)).append("\n");
|
||||
sb.append(" mirrorPassword: ").append(toIndentedString(mirrorPassword)).append("\n");
|
||||
sb.append(" mirrorToken: ").append(toIndentedString(mirrorToken)).append("\n");
|
||||
sb.append(" mirrorUsername: ").append(toIndentedString(mirrorUsername)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" _private: ").append(toIndentedString(_private)).append("\n");
|
||||
sb.append(" projectsMode: ").append(toIndentedString(projectsMode)).append("\n");
|
||||
|
||||
Reference in New Issue
Block a user