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