Skip to content

Commit 22234cf

Browse files
author
BitsAdmin
committed
Merge branch 'waf-Python-2023-12-25-online-568-2024_07_04_16_09_18' into 'integration_2024-07-11_325995840258'
feat: [development task] waf-568-Python (717650) See merge request iaasng/volcengine-python-sdk!339
2 parents 4d77e6d + 0e59da8 commit 22234cf

7 files changed

+838
-84
lines changed

volcenginesdkwaf/models/create_domain_request.py

Lines changed: 209 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ class CreateDomainRequest(object):
3535
swagger_types = {
3636
'access_mode': 'int',
3737
'backend_groups': 'list[BackendGroupForCreateDomainInput]',
38+
'bot_dytoken_enable': 'int',
39+
'bot_frequency_enable': 'int',
40+
'bot_repeat_enable': 'int',
41+
'bot_sequence_default_action': 'int',
42+
'bot_sequence_enable': 'int',
3843
'certificate_id': 'int',
44+
'certificate_platform': 'str',
3945
'client_ip_location': 'int',
4046
'client_max_body_size': 'int',
4147
'cloud_access_config': 'list[CloudAccessConfigForCreateDomainInput]',
@@ -57,17 +63,25 @@ class CreateDomainRequest(object):
5763
'proxy_retry': 'int',
5864
'proxy_write_time_out': 'int',
5965
'public_real_server': 'int',
66+
'redirect_https': 'bool',
6067
'region': 'str',
6168
'ssl_ciphers': 'list[str]',
6269
'ssl_protocols': 'list[str]',
6370
'tls_enable': 'int',
71+
'volc_certificate_id': 'str',
6472
'vpc_id': 'str'
6573
}
6674

6775
attribute_map = {
6876
'access_mode': 'AccessMode',
6977
'backend_groups': 'BackendGroups',
78+
'bot_dytoken_enable': 'BotDytokenEnable',
79+
'bot_frequency_enable': 'BotFrequencyEnable',
80+
'bot_repeat_enable': 'BotRepeatEnable',
81+
'bot_sequence_default_action': 'BotSequenceDefaultAction',
82+
'bot_sequence_enable': 'BotSequenceEnable',
7083
'certificate_id': 'CertificateID',
84+
'certificate_platform': 'CertificatePlatform',
7185
'client_ip_location': 'ClientIPLocation',
7286
'client_max_body_size': 'ClientMaxBodySize',
7387
'cloud_access_config': 'CloudAccessConfig',
@@ -89,22 +103,30 @@ class CreateDomainRequest(object):
89103
'proxy_retry': 'ProxyRetry',
90104
'proxy_write_time_out': 'ProxyWriteTimeOut',
91105
'public_real_server': 'PublicRealServer',
106+
'redirect_https': 'RedirectHTTPS',
92107
'region': 'Region',
93108
'ssl_ciphers': 'SSLCiphers',
94109
'ssl_protocols': 'SSLProtocols',
95110
'tls_enable': 'TLSEnable',
111+
'volc_certificate_id': 'VolcCertificateID',
96112
'vpc_id': 'VpcID'
97113
}
98114

99-
def __init__(self, access_mode=None, backend_groups=None, certificate_id=None, client_ip_location=None, client_max_body_size=None, cloud_access_config=None, custom_header=None, domain=None, enable_http2=None, enable_i_pv6=None, keep_alive_request=None, keep_alive_time_out=None, lb_algorithm=None, protocol_follow=None, protocol_ports=None, protocols=None, proxy_config=None, proxy_connect_time_out=None, proxy_keep_alive=None, proxy_keep_alive_time_out=None, proxy_read_time_out=None, proxy_retry=None, proxy_write_time_out=None, public_real_server=None, region=None, ssl_ciphers=None, ssl_protocols=None, tls_enable=None, vpc_id=None, _configuration=None): # noqa: E501
115+
def __init__(self, access_mode=None, backend_groups=None, bot_dytoken_enable=None, bot_frequency_enable=None, bot_repeat_enable=None, bot_sequence_default_action=None, bot_sequence_enable=None, certificate_id=None, certificate_platform=None, client_ip_location=None, client_max_body_size=None, cloud_access_config=None, custom_header=None, domain=None, enable_http2=None, enable_i_pv6=None, keep_alive_request=None, keep_alive_time_out=None, lb_algorithm=None, protocol_follow=None, protocol_ports=None, protocols=None, proxy_config=None, proxy_connect_time_out=None, proxy_keep_alive=None, proxy_keep_alive_time_out=None, proxy_read_time_out=None, proxy_retry=None, proxy_write_time_out=None, public_real_server=None, redirect_https=None, region=None, ssl_ciphers=None, ssl_protocols=None, tls_enable=None, volc_certificate_id=None, vpc_id=None, _configuration=None): # noqa: E501
100116
"""CreateDomainRequest - a model defined in Swagger""" # noqa: E501
101117
if _configuration is None:
102118
_configuration = Configuration()
103119
self._configuration = _configuration
104120

105121
self._access_mode = None
106122
self._backend_groups = None
123+
self._bot_dytoken_enable = None
124+
self._bot_frequency_enable = None
125+
self._bot_repeat_enable = None
126+
self._bot_sequence_default_action = None
127+
self._bot_sequence_enable = None
107128
self._certificate_id = None
129+
self._certificate_platform = None
108130
self._client_ip_location = None
109131
self._client_max_body_size = None
110132
self._cloud_access_config = None
@@ -126,18 +148,32 @@ def __init__(self, access_mode=None, backend_groups=None, certificate_id=None, c
126148
self._proxy_retry = None
127149
self._proxy_write_time_out = None
128150
self._public_real_server = None
151+
self._redirect_https = None
129152
self._region = None
130153
self._ssl_ciphers = None
131154
self._ssl_protocols = None
132155
self._tls_enable = None
156+
self._volc_certificate_id = None
133157
self._vpc_id = None
134158
self.discriminator = None
135159

136160
self.access_mode = access_mode
137161
if backend_groups is not None:
138162
self.backend_groups = backend_groups
163+
if bot_dytoken_enable is not None:
164+
self.bot_dytoken_enable = bot_dytoken_enable
165+
if bot_frequency_enable is not None:
166+
self.bot_frequency_enable = bot_frequency_enable
167+
if bot_repeat_enable is not None:
168+
self.bot_repeat_enable = bot_repeat_enable
169+
if bot_sequence_default_action is not None:
170+
self.bot_sequence_default_action = bot_sequence_default_action
171+
if bot_sequence_enable is not None:
172+
self.bot_sequence_enable = bot_sequence_enable
139173
if certificate_id is not None:
140174
self.certificate_id = certificate_id
175+
if certificate_platform is not None:
176+
self.certificate_platform = certificate_platform
141177
if client_ip_location is not None:
142178
self.client_ip_location = client_ip_location
143179
if client_max_body_size is not None:
@@ -179,13 +215,17 @@ def __init__(self, access_mode=None, backend_groups=None, certificate_id=None, c
179215
self.proxy_write_time_out = proxy_write_time_out
180216
if public_real_server is not None:
181217
self.public_real_server = public_real_server
218+
if redirect_https is not None:
219+
self.redirect_https = redirect_https
182220
self.region = region
183221
if ssl_ciphers is not None:
184222
self.ssl_ciphers = ssl_ciphers
185223
if ssl_protocols is not None:
186224
self.ssl_protocols = ssl_protocols
187225
if tls_enable is not None:
188226
self.tls_enable = tls_enable
227+
if volc_certificate_id is not None:
228+
self.volc_certificate_id = volc_certificate_id
189229
if vpc_id is not None:
190230
self.vpc_id = vpc_id
191231

@@ -233,6 +273,111 @@ def backend_groups(self, backend_groups):
233273

234274
self._backend_groups = backend_groups
235275

276+
@property
277+
def bot_dytoken_enable(self):
278+
"""Gets the bot_dytoken_enable of this CreateDomainRequest. # noqa: E501
279+
280+
281+
:return: The bot_dytoken_enable of this CreateDomainRequest. # noqa: E501
282+
:rtype: int
283+
"""
284+
return self._bot_dytoken_enable
285+
286+
@bot_dytoken_enable.setter
287+
def bot_dytoken_enable(self, bot_dytoken_enable):
288+
"""Sets the bot_dytoken_enable of this CreateDomainRequest.
289+
290+
291+
:param bot_dytoken_enable: The bot_dytoken_enable of this CreateDomainRequest. # noqa: E501
292+
:type: int
293+
"""
294+
295+
self._bot_dytoken_enable = bot_dytoken_enable
296+
297+
@property
298+
def bot_frequency_enable(self):
299+
"""Gets the bot_frequency_enable of this CreateDomainRequest. # noqa: E501
300+
301+
302+
:return: The bot_frequency_enable of this CreateDomainRequest. # noqa: E501
303+
:rtype: int
304+
"""
305+
return self._bot_frequency_enable
306+
307+
@bot_frequency_enable.setter
308+
def bot_frequency_enable(self, bot_frequency_enable):
309+
"""Sets the bot_frequency_enable of this CreateDomainRequest.
310+
311+
312+
:param bot_frequency_enable: The bot_frequency_enable of this CreateDomainRequest. # noqa: E501
313+
:type: int
314+
"""
315+
316+
self._bot_frequency_enable = bot_frequency_enable
317+
318+
@property
319+
def bot_repeat_enable(self):
320+
"""Gets the bot_repeat_enable of this CreateDomainRequest. # noqa: E501
321+
322+
323+
:return: The bot_repeat_enable of this CreateDomainRequest. # noqa: E501
324+
:rtype: int
325+
"""
326+
return self._bot_repeat_enable
327+
328+
@bot_repeat_enable.setter
329+
def bot_repeat_enable(self, bot_repeat_enable):
330+
"""Sets the bot_repeat_enable of this CreateDomainRequest.
331+
332+
333+
:param bot_repeat_enable: The bot_repeat_enable of this CreateDomainRequest. # noqa: E501
334+
:type: int
335+
"""
336+
337+
self._bot_repeat_enable = bot_repeat_enable
338+
339+
@property
340+
def bot_sequence_default_action(self):
341+
"""Gets the bot_sequence_default_action of this CreateDomainRequest. # noqa: E501
342+
343+
344+
:return: The bot_sequence_default_action of this CreateDomainRequest. # noqa: E501
345+
:rtype: int
346+
"""
347+
return self._bot_sequence_default_action
348+
349+
@bot_sequence_default_action.setter
350+
def bot_sequence_default_action(self, bot_sequence_default_action):
351+
"""Sets the bot_sequence_default_action of this CreateDomainRequest.
352+
353+
354+
:param bot_sequence_default_action: The bot_sequence_default_action of this CreateDomainRequest. # noqa: E501
355+
:type: int
356+
"""
357+
358+
self._bot_sequence_default_action = bot_sequence_default_action
359+
360+
@property
361+
def bot_sequence_enable(self):
362+
"""Gets the bot_sequence_enable of this CreateDomainRequest. # noqa: E501
363+
364+
365+
:return: The bot_sequence_enable of this CreateDomainRequest. # noqa: E501
366+
:rtype: int
367+
"""
368+
return self._bot_sequence_enable
369+
370+
@bot_sequence_enable.setter
371+
def bot_sequence_enable(self, bot_sequence_enable):
372+
"""Sets the bot_sequence_enable of this CreateDomainRequest.
373+
374+
375+
:param bot_sequence_enable: The bot_sequence_enable of this CreateDomainRequest. # noqa: E501
376+
:type: int
377+
"""
378+
379+
self._bot_sequence_enable = bot_sequence_enable
380+
236381
@property
237382
def certificate_id(self):
238383
"""Gets the certificate_id of this CreateDomainRequest. # noqa: E501
@@ -254,6 +399,27 @@ def certificate_id(self, certificate_id):
254399

255400
self._certificate_id = certificate_id
256401

402+
@property
403+
def certificate_platform(self):
404+
"""Gets the certificate_platform of this CreateDomainRequest. # noqa: E501
405+
406+
407+
:return: The certificate_platform of this CreateDomainRequest. # noqa: E501
408+
:rtype: str
409+
"""
410+
return self._certificate_platform
411+
412+
@certificate_platform.setter
413+
def certificate_platform(self, certificate_platform):
414+
"""Sets the certificate_platform of this CreateDomainRequest.
415+
416+
417+
:param certificate_platform: The certificate_platform of this CreateDomainRequest. # noqa: E501
418+
:type: str
419+
"""
420+
421+
self._certificate_platform = certificate_platform
422+
257423
@property
258424
def client_ip_location(self):
259425
"""Gets the client_ip_location of this CreateDomainRequest. # noqa: E501
@@ -697,6 +863,27 @@ def public_real_server(self, public_real_server):
697863

698864
self._public_real_server = public_real_server
699865

866+
@property
867+
def redirect_https(self):
868+
"""Gets the redirect_https of this CreateDomainRequest. # noqa: E501
869+
870+
871+
:return: The redirect_https of this CreateDomainRequest. # noqa: E501
872+
:rtype: bool
873+
"""
874+
return self._redirect_https
875+
876+
@redirect_https.setter
877+
def redirect_https(self, redirect_https):
878+
"""Sets the redirect_https of this CreateDomainRequest.
879+
880+
881+
:param redirect_https: The redirect_https of this CreateDomainRequest. # noqa: E501
882+
:type: bool
883+
"""
884+
885+
self._redirect_https = redirect_https
886+
700887
@property
701888
def region(self):
702889
"""Gets the region of this CreateDomainRequest. # noqa: E501
@@ -783,6 +970,27 @@ def tls_enable(self, tls_enable):
783970

784971
self._tls_enable = tls_enable
785972

973+
@property
974+
def volc_certificate_id(self):
975+
"""Gets the volc_certificate_id of this CreateDomainRequest. # noqa: E501
976+
977+
978+
:return: The volc_certificate_id of this CreateDomainRequest. # noqa: E501
979+
:rtype: str
980+
"""
981+
return self._volc_certificate_id
982+
983+
@volc_certificate_id.setter
984+
def volc_certificate_id(self, volc_certificate_id):
985+
"""Sets the volc_certificate_id of this CreateDomainRequest.
986+
987+
988+
:param volc_certificate_id: The volc_certificate_id of this CreateDomainRequest. # noqa: E501
989+
:type: str
990+
"""
991+
992+
self._volc_certificate_id = volc_certificate_id
993+
786994
@property
787995
def vpc_id(self):
788996
"""Gets the vpc_id of this CreateDomainRequest. # noqa: E501

0 commit comments

Comments
 (0)