Skip to content

Commit 823405f

Browse files
author
BitsAdmin
committed
Merge branch 'waf-Java-2023-12-25-online-568-2024_07_04_16_08_46' into 'integration_2024-07-11_325995839490'
feat: [development task] waf-568-Java (717664) See merge request iaasng/volcengine-java-sdk!218
2 parents c4d887d + 87fdd3c commit 823405f

7 files changed

+744
-77
lines changed

volcengine-java-sdk-waf/src/main/java/com/volcengine/waf/model/CreateDomainRequest.java

Lines changed: 185 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,27 @@ public class CreateDomainRequest {
4141
@SerializedName("BackendGroups")
4242
private List<BackendGroupForCreateDomainInput> backendGroups = null;
4343

44+
@SerializedName("BotDytokenEnable")
45+
private Integer botDytokenEnable = null;
46+
47+
@SerializedName("BotFrequencyEnable")
48+
private Integer botFrequencyEnable = null;
49+
50+
@SerializedName("BotRepeatEnable")
51+
private Integer botRepeatEnable = null;
52+
53+
@SerializedName("BotSequenceDefaultAction")
54+
private Integer botSequenceDefaultAction = null;
55+
56+
@SerializedName("BotSequenceEnable")
57+
private Integer botSequenceEnable = null;
58+
4459
@SerializedName("CertificateID")
4560
private Integer certificateID = null;
4661

62+
@SerializedName("CertificatePlatform")
63+
private String certificatePlatform = null;
64+
4765
@SerializedName("ClientIPLocation")
4866
private Integer clientIPLocation = null;
4967

@@ -107,6 +125,9 @@ public class CreateDomainRequest {
107125
@SerializedName("PublicRealServer")
108126
private Integer publicRealServer = null;
109127

128+
@SerializedName("RedirectHTTPS")
129+
private Boolean redirectHTTPS = null;
130+
110131
@SerializedName("Region")
111132
private String region = null;
112133

@@ -119,6 +140,9 @@ public class CreateDomainRequest {
119140
@SerializedName("TLSEnable")
120141
private Integer tlSEnable = null;
121142

143+
@SerializedName("VolcCertificateID")
144+
private String volcCertificateID = null;
145+
122146
@SerializedName("VpcID")
123147
private String vpcID = null;
124148

@@ -168,6 +192,96 @@ public void setBackendGroups(List<BackendGroupForCreateDomainInput> backendGroup
168192
this.backendGroups = backendGroups;
169193
}
170194

195+
public CreateDomainRequest botDytokenEnable(Integer botDytokenEnable) {
196+
this.botDytokenEnable = botDytokenEnable;
197+
return this;
198+
}
199+
200+
/**
201+
* Get botDytokenEnable
202+
* @return botDytokenEnable
203+
**/
204+
@Schema(description = "")
205+
public Integer getBotDytokenEnable() {
206+
return botDytokenEnable;
207+
}
208+
209+
public void setBotDytokenEnable(Integer botDytokenEnable) {
210+
this.botDytokenEnable = botDytokenEnable;
211+
}
212+
213+
public CreateDomainRequest botFrequencyEnable(Integer botFrequencyEnable) {
214+
this.botFrequencyEnable = botFrequencyEnable;
215+
return this;
216+
}
217+
218+
/**
219+
* Get botFrequencyEnable
220+
* @return botFrequencyEnable
221+
**/
222+
@Schema(description = "")
223+
public Integer getBotFrequencyEnable() {
224+
return botFrequencyEnable;
225+
}
226+
227+
public void setBotFrequencyEnable(Integer botFrequencyEnable) {
228+
this.botFrequencyEnable = botFrequencyEnable;
229+
}
230+
231+
public CreateDomainRequest botRepeatEnable(Integer botRepeatEnable) {
232+
this.botRepeatEnable = botRepeatEnable;
233+
return this;
234+
}
235+
236+
/**
237+
* Get botRepeatEnable
238+
* @return botRepeatEnable
239+
**/
240+
@Schema(description = "")
241+
public Integer getBotRepeatEnable() {
242+
return botRepeatEnable;
243+
}
244+
245+
public void setBotRepeatEnable(Integer botRepeatEnable) {
246+
this.botRepeatEnable = botRepeatEnable;
247+
}
248+
249+
public CreateDomainRequest botSequenceDefaultAction(Integer botSequenceDefaultAction) {
250+
this.botSequenceDefaultAction = botSequenceDefaultAction;
251+
return this;
252+
}
253+
254+
/**
255+
* Get botSequenceDefaultAction
256+
* @return botSequenceDefaultAction
257+
**/
258+
@Schema(description = "")
259+
public Integer getBotSequenceDefaultAction() {
260+
return botSequenceDefaultAction;
261+
}
262+
263+
public void setBotSequenceDefaultAction(Integer botSequenceDefaultAction) {
264+
this.botSequenceDefaultAction = botSequenceDefaultAction;
265+
}
266+
267+
public CreateDomainRequest botSequenceEnable(Integer botSequenceEnable) {
268+
this.botSequenceEnable = botSequenceEnable;
269+
return this;
270+
}
271+
272+
/**
273+
* Get botSequenceEnable
274+
* @return botSequenceEnable
275+
**/
276+
@Schema(description = "")
277+
public Integer getBotSequenceEnable() {
278+
return botSequenceEnable;
279+
}
280+
281+
public void setBotSequenceEnable(Integer botSequenceEnable) {
282+
this.botSequenceEnable = botSequenceEnable;
283+
}
284+
171285
public CreateDomainRequest certificateID(Integer certificateID) {
172286
this.certificateID = certificateID;
173287
return this;
@@ -186,6 +300,24 @@ public void setCertificateID(Integer certificateID) {
186300
this.certificateID = certificateID;
187301
}
188302

303+
public CreateDomainRequest certificatePlatform(String certificatePlatform) {
304+
this.certificatePlatform = certificatePlatform;
305+
return this;
306+
}
307+
308+
/**
309+
* Get certificatePlatform
310+
* @return certificatePlatform
311+
**/
312+
@Schema(description = "")
313+
public String getCertificatePlatform() {
314+
return certificatePlatform;
315+
}
316+
317+
public void setCertificatePlatform(String certificatePlatform) {
318+
this.certificatePlatform = certificatePlatform;
319+
}
320+
189321
public CreateDomainRequest clientIPLocation(Integer clientIPLocation) {
190322
this.clientIPLocation = clientIPLocation;
191323
return this;
@@ -591,6 +723,24 @@ public void setPublicRealServer(Integer publicRealServer) {
591723
this.publicRealServer = publicRealServer;
592724
}
593725

726+
public CreateDomainRequest redirectHTTPS(Boolean redirectHTTPS) {
727+
this.redirectHTTPS = redirectHTTPS;
728+
return this;
729+
}
730+
731+
/**
732+
* Get redirectHTTPS
733+
* @return redirectHTTPS
734+
**/
735+
@Schema(description = "")
736+
public Boolean isRedirectHTTPS() {
737+
return redirectHTTPS;
738+
}
739+
740+
public void setRedirectHTTPS(Boolean redirectHTTPS) {
741+
this.redirectHTTPS = redirectHTTPS;
742+
}
743+
594744
public CreateDomainRequest region(String region) {
595745
this.region = region;
596746
return this;
@@ -680,6 +830,24 @@ public void setTlSEnable(Integer tlSEnable) {
680830
this.tlSEnable = tlSEnable;
681831
}
682832

833+
public CreateDomainRequest volcCertificateID(String volcCertificateID) {
834+
this.volcCertificateID = volcCertificateID;
835+
return this;
836+
}
837+
838+
/**
839+
* Get volcCertificateID
840+
* @return volcCertificateID
841+
**/
842+
@Schema(description = "")
843+
public String getVolcCertificateID() {
844+
return volcCertificateID;
845+
}
846+
847+
public void setVolcCertificateID(String volcCertificateID) {
848+
this.volcCertificateID = volcCertificateID;
849+
}
850+
683851
public CreateDomainRequest vpcID(String vpcID) {
684852
this.vpcID = vpcID;
685853
return this;
@@ -710,7 +878,13 @@ public boolean equals(java.lang.Object o) {
710878
CreateDomainRequest createDomainRequest = (CreateDomainRequest) o;
711879
return Objects.equals(this.accessMode, createDomainRequest.accessMode) &&
712880
Objects.equals(this.backendGroups, createDomainRequest.backendGroups) &&
881+
Objects.equals(this.botDytokenEnable, createDomainRequest.botDytokenEnable) &&
882+
Objects.equals(this.botFrequencyEnable, createDomainRequest.botFrequencyEnable) &&
883+
Objects.equals(this.botRepeatEnable, createDomainRequest.botRepeatEnable) &&
884+
Objects.equals(this.botSequenceDefaultAction, createDomainRequest.botSequenceDefaultAction) &&
885+
Objects.equals(this.botSequenceEnable, createDomainRequest.botSequenceEnable) &&
713886
Objects.equals(this.certificateID, createDomainRequest.certificateID) &&
887+
Objects.equals(this.certificatePlatform, createDomainRequest.certificatePlatform) &&
714888
Objects.equals(this.clientIPLocation, createDomainRequest.clientIPLocation) &&
715889
Objects.equals(this.clientMaxBodySize, createDomainRequest.clientMaxBodySize) &&
716890
Objects.equals(this.cloudAccessConfig, createDomainRequest.cloudAccessConfig) &&
@@ -732,16 +906,18 @@ public boolean equals(java.lang.Object o) {
732906
Objects.equals(this.proxyRetry, createDomainRequest.proxyRetry) &&
733907
Objects.equals(this.proxyWriteTimeOut, createDomainRequest.proxyWriteTimeOut) &&
734908
Objects.equals(this.publicRealServer, createDomainRequest.publicRealServer) &&
909+
Objects.equals(this.redirectHTTPS, createDomainRequest.redirectHTTPS) &&
735910
Objects.equals(this.region, createDomainRequest.region) &&
736911
Objects.equals(this.ssLCiphers, createDomainRequest.ssLCiphers) &&
737912
Objects.equals(this.ssLProtocols, createDomainRequest.ssLProtocols) &&
738913
Objects.equals(this.tlSEnable, createDomainRequest.tlSEnable) &&
914+
Objects.equals(this.volcCertificateID, createDomainRequest.volcCertificateID) &&
739915
Objects.equals(this.vpcID, createDomainRequest.vpcID);
740916
}
741917

742918
@Override
743919
public int hashCode() {
744-
return Objects.hash(accessMode, backendGroups, certificateID, clientIPLocation, clientMaxBodySize, cloudAccessConfig, customHeader, domain, enableHTTP2, enableIPv6, keepAliveRequest, keepAliveTimeOut, lbAlgorithm, protocolFollow, protocolPorts, protocols, proxyConfig, proxyConnectTimeOut, proxyKeepAlive, proxyKeepAliveTimeOut, proxyReadTimeOut, proxyRetry, proxyWriteTimeOut, publicRealServer, region, ssLCiphers, ssLProtocols, tlSEnable, vpcID);
920+
return Objects.hash(accessMode, backendGroups, botDytokenEnable, botFrequencyEnable, botRepeatEnable, botSequenceDefaultAction, botSequenceEnable, certificateID, certificatePlatform, clientIPLocation, clientMaxBodySize, cloudAccessConfig, customHeader, domain, enableHTTP2, enableIPv6, keepAliveRequest, keepAliveTimeOut, lbAlgorithm, protocolFollow, protocolPorts, protocols, proxyConfig, proxyConnectTimeOut, proxyKeepAlive, proxyKeepAliveTimeOut, proxyReadTimeOut, proxyRetry, proxyWriteTimeOut, publicRealServer, redirectHTTPS, region, ssLCiphers, ssLProtocols, tlSEnable, volcCertificateID, vpcID);
745921
}
746922

747923

@@ -752,7 +928,13 @@ public String toString() {
752928

753929
sb.append(" accessMode: ").append(toIndentedString(accessMode)).append("\n");
754930
sb.append(" backendGroups: ").append(toIndentedString(backendGroups)).append("\n");
931+
sb.append(" botDytokenEnable: ").append(toIndentedString(botDytokenEnable)).append("\n");
932+
sb.append(" botFrequencyEnable: ").append(toIndentedString(botFrequencyEnable)).append("\n");
933+
sb.append(" botRepeatEnable: ").append(toIndentedString(botRepeatEnable)).append("\n");
934+
sb.append(" botSequenceDefaultAction: ").append(toIndentedString(botSequenceDefaultAction)).append("\n");
935+
sb.append(" botSequenceEnable: ").append(toIndentedString(botSequenceEnable)).append("\n");
755936
sb.append(" certificateID: ").append(toIndentedString(certificateID)).append("\n");
937+
sb.append(" certificatePlatform: ").append(toIndentedString(certificatePlatform)).append("\n");
756938
sb.append(" clientIPLocation: ").append(toIndentedString(clientIPLocation)).append("\n");
757939
sb.append(" clientMaxBodySize: ").append(toIndentedString(clientMaxBodySize)).append("\n");
758940
sb.append(" cloudAccessConfig: ").append(toIndentedString(cloudAccessConfig)).append("\n");
@@ -774,10 +956,12 @@ public String toString() {
774956
sb.append(" proxyRetry: ").append(toIndentedString(proxyRetry)).append("\n");
775957
sb.append(" proxyWriteTimeOut: ").append(toIndentedString(proxyWriteTimeOut)).append("\n");
776958
sb.append(" publicRealServer: ").append(toIndentedString(publicRealServer)).append("\n");
959+
sb.append(" redirectHTTPS: ").append(toIndentedString(redirectHTTPS)).append("\n");
777960
sb.append(" region: ").append(toIndentedString(region)).append("\n");
778961
sb.append(" ssLCiphers: ").append(toIndentedString(ssLCiphers)).append("\n");
779962
sb.append(" ssLProtocols: ").append(toIndentedString(ssLProtocols)).append("\n");
780963
sb.append(" tlSEnable: ").append(toIndentedString(tlSEnable)).append("\n");
964+
sb.append(" volcCertificateID: ").append(toIndentedString(volcCertificateID)).append("\n");
781965
sb.append(" vpcID: ").append(toIndentedString(vpcID)).append("\n");
782966
sb.append("}");
783967
return sb.toString();

0 commit comments

Comments
 (0)