mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-05 17:32:17 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -32,6 +32,9 @@ public class CreateHookOption implements Serializable {
|
||||
@SerializedName("active")
|
||||
private Boolean active = false;
|
||||
|
||||
@SerializedName("authorization_header")
|
||||
private String authorizationHeader = null;
|
||||
|
||||
@SerializedName("branch_filter")
|
||||
private String branchFilter = null;
|
||||
|
||||
@@ -116,6 +119,25 @@ public class CreateHookOption implements Serializable {
|
||||
this.active = active;
|
||||
}
|
||||
|
||||
public CreateHookOption authorizationHeader(String authorizationHeader) {
|
||||
this.authorizationHeader = authorizationHeader;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get authorizationHeader
|
||||
*
|
||||
* @return authorizationHeader
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getAuthorizationHeader() {
|
||||
return authorizationHeader;
|
||||
}
|
||||
|
||||
public void setAuthorizationHeader(String authorizationHeader) {
|
||||
this.authorizationHeader = authorizationHeader;
|
||||
}
|
||||
|
||||
public CreateHookOption branchFilter(String branchFilter) {
|
||||
this.branchFilter = branchFilter;
|
||||
return this;
|
||||
@@ -210,6 +232,7 @@ public class CreateHookOption implements Serializable {
|
||||
}
|
||||
CreateHookOption createHookOption = (CreateHookOption) o;
|
||||
return Objects.equals(this.active, createHookOption.active)
|
||||
&& Objects.equals(this.authorizationHeader, createHookOption.authorizationHeader)
|
||||
&& Objects.equals(this.branchFilter, createHookOption.branchFilter)
|
||||
&& Objects.equals(this.config, createHookOption.config)
|
||||
&& Objects.equals(this.events, createHookOption.events)
|
||||
@@ -218,7 +241,7 @@ public class CreateHookOption implements Serializable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(active, branchFilter, config, events, type);
|
||||
return Objects.hash(active, authorizationHeader, branchFilter, config, events, type);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -227,6 +250,9 @@ public class CreateHookOption implements Serializable {
|
||||
sb.append("class CreateHookOption {\n");
|
||||
|
||||
sb.append(" active: ").append(toIndentedString(active)).append("\n");
|
||||
sb.append(" authorizationHeader: ")
|
||||
.append(toIndentedString(authorizationHeader))
|
||||
.append("\n");
|
||||
sb.append(" branchFilter: ").append(toIndentedString(branchFilter)).append("\n");
|
||||
sb.append(" config: ").append(toIndentedString(config)).append("\n");
|
||||
sb.append(" events: ").append(toIndentedString(events)).append("\n");
|
||||
|
||||
@@ -29,6 +29,9 @@ public class EditHookOption implements Serializable {
|
||||
@SerializedName("active")
|
||||
private Boolean active = null;
|
||||
|
||||
@SerializedName("authorization_header")
|
||||
private String authorizationHeader = null;
|
||||
|
||||
@SerializedName("branch_filter")
|
||||
private String branchFilter = null;
|
||||
|
||||
@@ -57,6 +60,25 @@ public class EditHookOption implements Serializable {
|
||||
this.active = active;
|
||||
}
|
||||
|
||||
public EditHookOption authorizationHeader(String authorizationHeader) {
|
||||
this.authorizationHeader = authorizationHeader;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get authorizationHeader
|
||||
*
|
||||
* @return authorizationHeader
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getAuthorizationHeader() {
|
||||
return authorizationHeader;
|
||||
}
|
||||
|
||||
public void setAuthorizationHeader(String authorizationHeader) {
|
||||
this.authorizationHeader = authorizationHeader;
|
||||
}
|
||||
|
||||
public EditHookOption branchFilter(String branchFilter) {
|
||||
this.branchFilter = branchFilter;
|
||||
return this;
|
||||
@@ -140,6 +162,7 @@ public class EditHookOption implements Serializable {
|
||||
}
|
||||
EditHookOption editHookOption = (EditHookOption) o;
|
||||
return Objects.equals(this.active, editHookOption.active)
|
||||
&& Objects.equals(this.authorizationHeader, editHookOption.authorizationHeader)
|
||||
&& Objects.equals(this.branchFilter, editHookOption.branchFilter)
|
||||
&& Objects.equals(this.config, editHookOption.config)
|
||||
&& Objects.equals(this.events, editHookOption.events);
|
||||
@@ -147,7 +170,7 @@ public class EditHookOption implements Serializable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(active, branchFilter, config, events);
|
||||
return Objects.hash(active, authorizationHeader, branchFilter, config, events);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -156,6 +179,9 @@ public class EditHookOption implements Serializable {
|
||||
sb.append("class EditHookOption {\n");
|
||||
|
||||
sb.append(" active: ").append(toIndentedString(active)).append("\n");
|
||||
sb.append(" authorizationHeader: ")
|
||||
.append(toIndentedString(authorizationHeader))
|
||||
.append("\n");
|
||||
sb.append(" branchFilter: ").append(toIndentedString(branchFilter)).append("\n");
|
||||
sb.append(" config: ").append(toIndentedString(config)).append("\n");
|
||||
sb.append(" events: ").append(toIndentedString(events)).append("\n");
|
||||
|
||||
@@ -30,6 +30,9 @@ public class Hook implements Serializable {
|
||||
@SerializedName("active")
|
||||
private Boolean active = null;
|
||||
|
||||
@SerializedName("authorization_header")
|
||||
private String authorizationHeader = null;
|
||||
|
||||
@SerializedName("config")
|
||||
private Map<String, String> config = null;
|
||||
|
||||
@@ -67,6 +70,25 @@ public class Hook implements Serializable {
|
||||
this.active = active;
|
||||
}
|
||||
|
||||
public Hook authorizationHeader(String authorizationHeader) {
|
||||
this.authorizationHeader = authorizationHeader;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get authorizationHeader
|
||||
*
|
||||
* @return authorizationHeader
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public String getAuthorizationHeader() {
|
||||
return authorizationHeader;
|
||||
}
|
||||
|
||||
public void setAuthorizationHeader(String authorizationHeader) {
|
||||
this.authorizationHeader = authorizationHeader;
|
||||
}
|
||||
|
||||
public Hook config(Map<String, String> config) {
|
||||
this.config = config;
|
||||
return this;
|
||||
@@ -207,6 +229,7 @@ public class Hook implements Serializable {
|
||||
}
|
||||
Hook hook = (Hook) o;
|
||||
return Objects.equals(this.active, hook.active)
|
||||
&& Objects.equals(this.authorizationHeader, hook.authorizationHeader)
|
||||
&& Objects.equals(this.config, hook.config)
|
||||
&& Objects.equals(this.createdAt, hook.createdAt)
|
||||
&& Objects.equals(this.events, hook.events)
|
||||
@@ -217,7 +240,8 @@ public class Hook implements Serializable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(active, config, createdAt, events, id, type, updatedAt);
|
||||
return Objects.hash(
|
||||
active, authorizationHeader, config, createdAt, events, id, type, updatedAt);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -226,6 +250,9 @@ public class Hook implements Serializable {
|
||||
sb.append("class Hook {\n");
|
||||
|
||||
sb.append(" active: ").append(toIndentedString(active)).append("\n");
|
||||
sb.append(" authorizationHeader: ")
|
||||
.append(toIndentedString(authorizationHeader))
|
||||
.append("\n");
|
||||
sb.append(" config: ").append(toIndentedString(config)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" events: ").append(toIndentedString(events)).append("\n");
|
||||
|
||||
Reference in New Issue
Block a user