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:
@@ -3,6 +3,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**allowMaintainerEdit** | **Boolean** | Whether maintainers can edit the pull request | [optional]
|
||||||
**assignee** | **String** | The primary assignee username | [optional]
|
**assignee** | **String** | The primary assignee username | [optional]
|
||||||
**assignees** | **List<String>** | The list of assignee usernames | [optional]
|
**assignees** | **List<String>** | The list of assignee usernames | [optional]
|
||||||
**base** | **String** | The base branch for the pull request | [optional]
|
**base** | **String** | The base branch for the pull request | [optional]
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ import java.util.Objects;
|
|||||||
public class CreatePullRequestOption implements Serializable {
|
public class CreatePullRequestOption implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@SerializedName("allow_maintainer_edit")
|
||||||
|
private Boolean allowMaintainerEdit = null;
|
||||||
|
|
||||||
@SerializedName("assignee")
|
@SerializedName("assignee")
|
||||||
private String assignee = null;
|
private String assignee = null;
|
||||||
|
|
||||||
@@ -58,6 +61,25 @@ public class CreatePullRequestOption implements Serializable {
|
|||||||
@SerializedName("title")
|
@SerializedName("title")
|
||||||
private String title = null;
|
private String title = null;
|
||||||
|
|
||||||
|
public CreatePullRequestOption allowMaintainerEdit(Boolean allowMaintainerEdit) {
|
||||||
|
this.allowMaintainerEdit = allowMaintainerEdit;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether maintainers can edit the pull request
|
||||||
|
*
|
||||||
|
* @return allowMaintainerEdit
|
||||||
|
*/
|
||||||
|
@Schema(description = "Whether maintainers can edit the pull request")
|
||||||
|
public Boolean isAllowMaintainerEdit() {
|
||||||
|
return allowMaintainerEdit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAllowMaintainerEdit(Boolean allowMaintainerEdit) {
|
||||||
|
this.allowMaintainerEdit = allowMaintainerEdit;
|
||||||
|
}
|
||||||
|
|
||||||
public CreatePullRequestOption assignee(String assignee) {
|
public CreatePullRequestOption assignee(String assignee) {
|
||||||
this.assignee = assignee;
|
this.assignee = assignee;
|
||||||
return this;
|
return this;
|
||||||
@@ -314,7 +336,8 @@ public class CreatePullRequestOption implements Serializable {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
CreatePullRequestOption createPullRequestOption = (CreatePullRequestOption) o;
|
CreatePullRequestOption createPullRequestOption = (CreatePullRequestOption) o;
|
||||||
return Objects.equals(this.assignee, createPullRequestOption.assignee)
|
return Objects.equals(this.allowMaintainerEdit, createPullRequestOption.allowMaintainerEdit)
|
||||||
|
&& Objects.equals(this.assignee, createPullRequestOption.assignee)
|
||||||
&& Objects.equals(this.assignees, createPullRequestOption.assignees)
|
&& Objects.equals(this.assignees, createPullRequestOption.assignees)
|
||||||
&& Objects.equals(this.base, createPullRequestOption.base)
|
&& Objects.equals(this.base, createPullRequestOption.base)
|
||||||
&& Objects.equals(this.body, createPullRequestOption.body)
|
&& Objects.equals(this.body, createPullRequestOption.body)
|
||||||
@@ -330,6 +353,7 @@ public class CreatePullRequestOption implements Serializable {
|
|||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(
|
return Objects.hash(
|
||||||
|
allowMaintainerEdit,
|
||||||
assignee,
|
assignee,
|
||||||
assignees,
|
assignees,
|
||||||
base,
|
base,
|
||||||
@@ -348,6 +372,9 @@ public class CreatePullRequestOption implements Serializable {
|
|||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append("class CreatePullRequestOption {\n");
|
sb.append("class CreatePullRequestOption {\n");
|
||||||
|
|
||||||
|
sb.append(" allowMaintainerEdit: ")
|
||||||
|
.append(toIndentedString(allowMaintainerEdit))
|
||||||
|
.append("\n");
|
||||||
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
|
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
|
||||||
sb.append(" assignees: ").append(toIndentedString(assignees)).append("\n");
|
sb.append(" assignees: ").append(toIndentedString(assignees)).append("\n");
|
||||||
sb.append(" base: ").append(toIndentedString(base)).append("\n");
|
sb.append(" base: ").append(toIndentedString(base)).append("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user