tencentcloud-sdk-python 3.0.1257__py2.py3-none-any.whl → 3.0.1258__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +237 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +13 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +16 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +6 -30
  20. tencentcloud/cfw/v20190904/models.py +261 -479
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +4 -4
  23. tencentcloud/clb/v20180317/models.py +1 -1
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +225 -12
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  33. tencentcloud/cwp/v20180228/models.py +201 -48
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  38. tencentcloud/eb/v20210416/models.py +19 -19
  39. tencentcloud/es/v20180416/errorcodes.py +4 -1
  40. tencentcloud/es/v20180416/es_client.py +92 -0
  41. tencentcloud/es/v20180416/models.py +770 -12
  42. tencentcloud/ess/v20201111/ess_client.py +71 -4
  43. tencentcloud/ess/v20201111/models.py +232 -7
  44. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  45. tencentcloud/essbasic/v20210526/models.py +364 -18
  46. tencentcloud/gaap/v20180529/models.py +40 -3
  47. tencentcloud/hunyuan/v20230901/models.py +12 -0
  48. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  49. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  50. tencentcloud/ioa/v20220601/models.py +516 -46
  51. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  52. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  53. tencentcloud/iotvideo/v20191126/models.py +379 -0
  54. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  55. tencentcloud/live/v20180801/models.py +51 -0
  56. tencentcloud/mongodb/v20190725/models.py +3 -7
  57. tencentcloud/mqtt/v20240516/models.py +2 -2
  58. tencentcloud/ocr/v20181119/models.py +7 -16
  59. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  60. tencentcloud/organization/v20210331/errorcodes.py +30 -0
  61. tencentcloud/organization/v20210331/models.py +674 -0
  62. tencentcloud/organization/v20210331/organization_client.py +138 -0
  63. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  64. tencentcloud/privatedns/v20201028/models.py +858 -4
  65. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  66. tencentcloud/region/v20220627/models.py +0 -1
  67. tencentcloud/scf/v20180416/models.py +889 -8
  68. tencentcloud/scf/v20180416/scf_client.py +115 -0
  69. tencentcloud/smop/v20201203/models.py +17 -17
  70. tencentcloud/ssl/v20191205/models.py +1 -1
  71. tencentcloud/ssm/v20190923/models.py +84 -0
  72. tencentcloud/tat/v20201028/models.py +1 -29
  73. tencentcloud/tcss/v20201101/models.py +472 -33
  74. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  75. tencentcloud/tdmq/v20200217/models.py +7 -7
  76. tencentcloud/tem/v20210701/models.py +202 -198
  77. tencentcloud/teo/v20220901/errorcodes.py +27 -0
  78. tencentcloud/teo/v20220901/models.py +1464 -91
  79. tencentcloud/teo/v20220901/teo_client.py +115 -0
  80. tencentcloud/tke/v20180525/models.py +70 -0
  81. tencentcloud/tke/v20180525/tke_client.py +23 -0
  82. tencentcloud/tms/v20201229/models.py +0 -558
  83. tencentcloud/tms/v20201229/tms_client.py +0 -23
  84. tencentcloud/trp/v20210515/models.py +6 -6
  85. tencentcloud/trtc/v20190722/models.py +353 -4
  86. tencentcloud/tse/v20201207/models.py +94 -0
  87. tencentcloud/tse/v20201207/tse_client.py +23 -0
  88. tencentcloud/vclm/v20240523/models.py +166 -0
  89. tencentcloud/vpc/v20170312/models.py +134 -2
  90. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  91. tencentcloud/waf/v20180125/models.py +99 -0
  92. tencentcloud/waf/v20180125/waf_client.py +23 -0
  93. tencentcloud/wedata/v20210820/models.py +991 -0
  94. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  95. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
  96. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +99 -104
  97. tencentcloud/cr/__init__.py +0 -0
  98. tencentcloud/cr/v20180321/__init__.py +0 -0
  99. tencentcloud/cr/v20180321/cr_client.py +0 -672
  100. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  101. tencentcloud/cr/v20180321/models.py +0 -4966
  102. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
  103. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
  104. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -1,4966 +0,0 @@
1
- # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- import warnings
17
-
18
- from tencentcloud.common.abstract_model import AbstractModel
19
-
20
-
21
- class ApplyBlackListDataRequest(AbstractModel):
22
- """ApplyBlackListData请求参数结构体
23
-
24
- """
25
-
26
- def __init__(self):
27
- r"""
28
- :param _Module: 模块名,AiApi
29
- :type Module: str
30
- :param _Operation: 操作名,ApplyBlackListData
31
- :type Operation: str
32
- :param _BlackList: 黑名单列表
33
- :type BlackList: list of BlackListData
34
- """
35
- self._Module = None
36
- self._Operation = None
37
- self._BlackList = None
38
-
39
- @property
40
- def Module(self):
41
- return self._Module
42
-
43
- @Module.setter
44
- def Module(self, Module):
45
- self._Module = Module
46
-
47
- @property
48
- def Operation(self):
49
- return self._Operation
50
-
51
- @Operation.setter
52
- def Operation(self, Operation):
53
- self._Operation = Operation
54
-
55
- @property
56
- def BlackList(self):
57
- return self._BlackList
58
-
59
- @BlackList.setter
60
- def BlackList(self, BlackList):
61
- self._BlackList = BlackList
62
-
63
-
64
- def _deserialize(self, params):
65
- self._Module = params.get("Module")
66
- self._Operation = params.get("Operation")
67
- if params.get("BlackList") is not None:
68
- self._BlackList = []
69
- for item in params.get("BlackList"):
70
- obj = BlackListData()
71
- obj._deserialize(item)
72
- self._BlackList.append(obj)
73
- memeber_set = set(params.keys())
74
- for name, value in vars(self).items():
75
- property_name = name[1:]
76
- if property_name in memeber_set:
77
- memeber_set.remove(property_name)
78
- if len(memeber_set) > 0:
79
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
80
-
81
-
82
-
83
- class ApplyBlackListDataResponse(AbstractModel):
84
- """ApplyBlackListData返回参数结构体
85
-
86
- """
87
-
88
- def __init__(self):
89
- r"""
90
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
91
- :type RequestId: str
92
- """
93
- self._RequestId = None
94
-
95
- @property
96
- def RequestId(self):
97
- return self._RequestId
98
-
99
- @RequestId.setter
100
- def RequestId(self, RequestId):
101
- self._RequestId = RequestId
102
-
103
-
104
- def _deserialize(self, params):
105
- self._RequestId = params.get("RequestId")
106
-
107
-
108
- class ApplyBlackListRequest(AbstractModel):
109
- """ApplyBlackList请求参数结构体
110
-
111
- """
112
-
113
- def __init__(self):
114
- r"""
115
- :param _Module: 模块名,本接口取值:account
116
- :type Module: str
117
- :param _Operation: 操作名,本接口取值:ApplyBlackList
118
- :type Operation: str
119
- :param _BlackList: 黑名单列表
120
- :type BlackList: list of SingleBlackApply
121
- :param _InstId: 实例ID,不传默认为系统分配的初始实例
122
- :type InstId: str
123
- """
124
- self._Module = None
125
- self._Operation = None
126
- self._BlackList = None
127
- self._InstId = None
128
-
129
- @property
130
- def Module(self):
131
- return self._Module
132
-
133
- @Module.setter
134
- def Module(self, Module):
135
- self._Module = Module
136
-
137
- @property
138
- def Operation(self):
139
- return self._Operation
140
-
141
- @Operation.setter
142
- def Operation(self, Operation):
143
- self._Operation = Operation
144
-
145
- @property
146
- def BlackList(self):
147
- return self._BlackList
148
-
149
- @BlackList.setter
150
- def BlackList(self, BlackList):
151
- self._BlackList = BlackList
152
-
153
- @property
154
- def InstId(self):
155
- return self._InstId
156
-
157
- @InstId.setter
158
- def InstId(self, InstId):
159
- self._InstId = InstId
160
-
161
-
162
- def _deserialize(self, params):
163
- self._Module = params.get("Module")
164
- self._Operation = params.get("Operation")
165
- if params.get("BlackList") is not None:
166
- self._BlackList = []
167
- for item in params.get("BlackList"):
168
- obj = SingleBlackApply()
169
- obj._deserialize(item)
170
- self._BlackList.append(obj)
171
- self._InstId = params.get("InstId")
172
- memeber_set = set(params.keys())
173
- for name, value in vars(self).items():
174
- property_name = name[1:]
175
- if property_name in memeber_set:
176
- memeber_set.remove(property_name)
177
- if len(memeber_set) > 0:
178
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
179
-
180
-
181
-
182
- class ApplyBlackListResponse(AbstractModel):
183
- """ApplyBlackList返回参数结构体
184
-
185
- """
186
-
187
- def __init__(self):
188
- r"""
189
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
190
- :type RequestId: str
191
- """
192
- self._RequestId = None
193
-
194
- @property
195
- def RequestId(self):
196
- return self._RequestId
197
-
198
- @RequestId.setter
199
- def RequestId(self, RequestId):
200
- self._RequestId = RequestId
201
-
202
-
203
- def _deserialize(self, params):
204
- self._RequestId = params.get("RequestId")
205
-
206
-
207
- class ApplyCreditAuditRequest(AbstractModel):
208
- """ApplyCreditAudit请求参数结构体
209
-
210
- """
211
-
212
- def __init__(self):
213
- r"""
214
- :param _Module: 模块名,本接口取值:Credit
215
- :type Module: str
216
- :param _Operation: 操作名,本接口取值:Apply
217
- :type Operation: str
218
- :param _InstId: 实例ID
219
- :type InstId: str
220
- :param _ProductId: 产品ID,形如P******。
221
- :type ProductId: str
222
- :param _CaseId: 信审任务ID,同一天内,同一InstId下,同一CaseId只能调用一次。
223
- :type CaseId: str
224
- :param _CallbackUrl: 回调地址
225
- :type CallbackUrl: str
226
- :param _Data: JSON格式的业务字段。
227
- :type Data: str
228
- """
229
- self._Module = None
230
- self._Operation = None
231
- self._InstId = None
232
- self._ProductId = None
233
- self._CaseId = None
234
- self._CallbackUrl = None
235
- self._Data = None
236
-
237
- @property
238
- def Module(self):
239
- return self._Module
240
-
241
- @Module.setter
242
- def Module(self, Module):
243
- self._Module = Module
244
-
245
- @property
246
- def Operation(self):
247
- return self._Operation
248
-
249
- @Operation.setter
250
- def Operation(self, Operation):
251
- self._Operation = Operation
252
-
253
- @property
254
- def InstId(self):
255
- return self._InstId
256
-
257
- @InstId.setter
258
- def InstId(self, InstId):
259
- self._InstId = InstId
260
-
261
- @property
262
- def ProductId(self):
263
- return self._ProductId
264
-
265
- @ProductId.setter
266
- def ProductId(self, ProductId):
267
- self._ProductId = ProductId
268
-
269
- @property
270
- def CaseId(self):
271
- return self._CaseId
272
-
273
- @CaseId.setter
274
- def CaseId(self, CaseId):
275
- self._CaseId = CaseId
276
-
277
- @property
278
- def CallbackUrl(self):
279
- return self._CallbackUrl
280
-
281
- @CallbackUrl.setter
282
- def CallbackUrl(self, CallbackUrl):
283
- self._CallbackUrl = CallbackUrl
284
-
285
- @property
286
- def Data(self):
287
- return self._Data
288
-
289
- @Data.setter
290
- def Data(self, Data):
291
- self._Data = Data
292
-
293
-
294
- def _deserialize(self, params):
295
- self._Module = params.get("Module")
296
- self._Operation = params.get("Operation")
297
- self._InstId = params.get("InstId")
298
- self._ProductId = params.get("ProductId")
299
- self._CaseId = params.get("CaseId")
300
- self._CallbackUrl = params.get("CallbackUrl")
301
- self._Data = params.get("Data")
302
- memeber_set = set(params.keys())
303
- for name, value in vars(self).items():
304
- property_name = name[1:]
305
- if property_name in memeber_set:
306
- memeber_set.remove(property_name)
307
- if len(memeber_set) > 0:
308
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
309
-
310
-
311
-
312
- class ApplyCreditAuditResponse(AbstractModel):
313
- """ApplyCreditAudit返回参数结构体
314
-
315
- """
316
-
317
- def __init__(self):
318
- r"""
319
- :param _RequestDate: 请求日期
320
- :type RequestDate: str
321
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
322
- :type RequestId: str
323
- """
324
- self._RequestDate = None
325
- self._RequestId = None
326
-
327
- @property
328
- def RequestDate(self):
329
- return self._RequestDate
330
-
331
- @RequestDate.setter
332
- def RequestDate(self, RequestDate):
333
- self._RequestDate = RequestDate
334
-
335
- @property
336
- def RequestId(self):
337
- return self._RequestId
338
-
339
- @RequestId.setter
340
- def RequestId(self, RequestId):
341
- self._RequestId = RequestId
342
-
343
-
344
- def _deserialize(self, params):
345
- self._RequestDate = params.get("RequestDate")
346
- self._RequestId = params.get("RequestId")
347
-
348
-
349
- class BlackListData(AbstractModel):
350
- """黑名单申请信息
351
-
352
- """
353
-
354
- def __init__(self):
355
- r"""
356
- :param _BlackType: 黑名单类型,01代表手机号码。
357
- :type BlackType: str
358
- :param _OperType: 操作类型,A为新增,D为删除。
359
- 注意:此字段可能返回 null,表示取不到有效值。
360
- :type OperType: str
361
- :param _BlackValue: 黑名单值,BlackType为01时,填写11位手机号码。
362
- :type BlackValue: str
363
- :param _BlackDescription: 备注。
364
- 注意:此字段可能返回 null,表示取不到有效值。
365
- :type BlackDescription: str
366
- :param _BlackValidDate: 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
367
- 注意:此字段可能返回 null,表示取不到有效值。
368
- :type BlackValidDate: str
369
- :param _BlackAddDate: 黑名单加入日期
370
- 注意:此字段可能返回 null,表示取不到有效值。
371
- :type BlackAddDate: str
372
- :param _BlackStatus: 0-生效 1-失效
373
- :type BlackStatus: str
374
- """
375
- self._BlackType = None
376
- self._OperType = None
377
- self._BlackValue = None
378
- self._BlackDescription = None
379
- self._BlackValidDate = None
380
- self._BlackAddDate = None
381
- self._BlackStatus = None
382
-
383
- @property
384
- def BlackType(self):
385
- return self._BlackType
386
-
387
- @BlackType.setter
388
- def BlackType(self, BlackType):
389
- self._BlackType = BlackType
390
-
391
- @property
392
- def OperType(self):
393
- return self._OperType
394
-
395
- @OperType.setter
396
- def OperType(self, OperType):
397
- self._OperType = OperType
398
-
399
- @property
400
- def BlackValue(self):
401
- return self._BlackValue
402
-
403
- @BlackValue.setter
404
- def BlackValue(self, BlackValue):
405
- self._BlackValue = BlackValue
406
-
407
- @property
408
- def BlackDescription(self):
409
- return self._BlackDescription
410
-
411
- @BlackDescription.setter
412
- def BlackDescription(self, BlackDescription):
413
- self._BlackDescription = BlackDescription
414
-
415
- @property
416
- def BlackValidDate(self):
417
- return self._BlackValidDate
418
-
419
- @BlackValidDate.setter
420
- def BlackValidDate(self, BlackValidDate):
421
- self._BlackValidDate = BlackValidDate
422
-
423
- @property
424
- def BlackAddDate(self):
425
- return self._BlackAddDate
426
-
427
- @BlackAddDate.setter
428
- def BlackAddDate(self, BlackAddDate):
429
- self._BlackAddDate = BlackAddDate
430
-
431
- @property
432
- def BlackStatus(self):
433
- return self._BlackStatus
434
-
435
- @BlackStatus.setter
436
- def BlackStatus(self, BlackStatus):
437
- self._BlackStatus = BlackStatus
438
-
439
-
440
- def _deserialize(self, params):
441
- self._BlackType = params.get("BlackType")
442
- self._OperType = params.get("OperType")
443
- self._BlackValue = params.get("BlackValue")
444
- self._BlackDescription = params.get("BlackDescription")
445
- self._BlackValidDate = params.get("BlackValidDate")
446
- self._BlackAddDate = params.get("BlackAddDate")
447
- self._BlackStatus = params.get("BlackStatus")
448
- memeber_set = set(params.keys())
449
- for name, value in vars(self).items():
450
- property_name = name[1:]
451
- if property_name in memeber_set:
452
- memeber_set.remove(property_name)
453
- if len(memeber_set) > 0:
454
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
455
-
456
-
457
-
458
- class BotFileData(AbstractModel):
459
- """机器人文件结构
460
-
461
- """
462
-
463
- def __init__(self):
464
- r"""
465
- :param _FileType: 文件类型 A 拨打结果 T 记录详情
466
- :type FileType: str
467
- :param _CosUrl: 文件地址
468
- :type CosUrl: str
469
- """
470
- self._FileType = None
471
- self._CosUrl = None
472
-
473
- @property
474
- def FileType(self):
475
- return self._FileType
476
-
477
- @FileType.setter
478
- def FileType(self, FileType):
479
- self._FileType = FileType
480
-
481
- @property
482
- def CosUrl(self):
483
- return self._CosUrl
484
-
485
- @CosUrl.setter
486
- def CosUrl(self, CosUrl):
487
- self._CosUrl = CosUrl
488
-
489
-
490
- def _deserialize(self, params):
491
- self._FileType = params.get("FileType")
492
- self._CosUrl = params.get("CosUrl")
493
- memeber_set = set(params.keys())
494
- for name, value in vars(self).items():
495
- property_name = name[1:]
496
- if property_name in memeber_set:
497
- memeber_set.remove(property_name)
498
- if len(memeber_set) > 0:
499
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
500
-
501
-
502
-
503
- class BotFlow(AbstractModel):
504
- """机器人对话流信息
505
-
506
- """
507
-
508
- def __init__(self):
509
- r"""
510
- :param _BotFlowId: 对话流ID
511
- :type BotFlowId: str
512
- :param _BotFlowName: 对话流名称
513
- :type BotFlowName: str
514
- :param _PhonePoolList: 号码组信息列表
515
- :type PhonePoolList: list of PhonePool
516
- """
517
- self._BotFlowId = None
518
- self._BotFlowName = None
519
- self._PhonePoolList = None
520
-
521
- @property
522
- def BotFlowId(self):
523
- return self._BotFlowId
524
-
525
- @BotFlowId.setter
526
- def BotFlowId(self, BotFlowId):
527
- self._BotFlowId = BotFlowId
528
-
529
- @property
530
- def BotFlowName(self):
531
- return self._BotFlowName
532
-
533
- @BotFlowName.setter
534
- def BotFlowName(self, BotFlowName):
535
- self._BotFlowName = BotFlowName
536
-
537
- @property
538
- def PhonePoolList(self):
539
- return self._PhonePoolList
540
-
541
- @PhonePoolList.setter
542
- def PhonePoolList(self, PhonePoolList):
543
- self._PhonePoolList = PhonePoolList
544
-
545
-
546
- def _deserialize(self, params):
547
- self._BotFlowId = params.get("BotFlowId")
548
- self._BotFlowName = params.get("BotFlowName")
549
- if params.get("PhonePoolList") is not None:
550
- self._PhonePoolList = []
551
- for item in params.get("PhonePoolList"):
552
- obj = PhonePool()
553
- obj._deserialize(item)
554
- self._PhonePoolList.append(obj)
555
- memeber_set = set(params.keys())
556
- for name, value in vars(self).items():
557
- property_name = name[1:]
558
- if property_name in memeber_set:
559
- memeber_set.remove(property_name)
560
- if len(memeber_set) > 0:
561
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
562
-
563
-
564
-
565
- class BotInfo(AbstractModel):
566
- """机器人列表
567
-
568
- """
569
-
570
- def __init__(self):
571
- r"""
572
- :param _BotId: 机器人ID
573
- :type BotId: str
574
- :param _BotName: 机器人名称
575
- :type BotName: str
576
- :param _BotStatus: 机器人状态。0-停用 1-启用 2-待审核
577
- :type BotStatus: str
578
- """
579
- self._BotId = None
580
- self._BotName = None
581
- self._BotStatus = None
582
-
583
- @property
584
- def BotId(self):
585
- return self._BotId
586
-
587
- @BotId.setter
588
- def BotId(self, BotId):
589
- self._BotId = BotId
590
-
591
- @property
592
- def BotName(self):
593
- return self._BotName
594
-
595
- @BotName.setter
596
- def BotName(self, BotName):
597
- self._BotName = BotName
598
-
599
- @property
600
- def BotStatus(self):
601
- return self._BotStatus
602
-
603
- @BotStatus.setter
604
- def BotStatus(self, BotStatus):
605
- self._BotStatus = BotStatus
606
-
607
-
608
- def _deserialize(self, params):
609
- self._BotId = params.get("BotId")
610
- self._BotName = params.get("BotName")
611
- self._BotStatus = params.get("BotStatus")
612
- memeber_set = set(params.keys())
613
- for name, value in vars(self).items():
614
- property_name = name[1:]
615
- if property_name in memeber_set:
616
- memeber_set.remove(property_name)
617
- if len(memeber_set) > 0:
618
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
619
-
620
-
621
-
622
- class CallInfo(AbstractModel):
623
- """作业信息
624
-
625
- """
626
-
627
- def __init__(self):
628
- r"""
629
- :param _BizDate: 业务日期
630
- :type BizDate: str
631
- :param _Status: 状态 WAIT:待执行;DOING:执行中;ERROR:执行错误;DONE:已完成;
632
- :type Status: str
633
- :param _TotalCount: 成功总数
634
- :type TotalCount: int
635
- :param _FileName: 文件名称
636
- :type FileName: str
637
- :param _FileType: 文件类型 I:呼叫文件 R:停拨文件
638
- :type FileType: str
639
- :param _CallId: 作业唯一标识
640
- 注意:此字段可能返回 null,表示取不到有效值。
641
- :type CallId: str
642
- """
643
- self._BizDate = None
644
- self._Status = None
645
- self._TotalCount = None
646
- self._FileName = None
647
- self._FileType = None
648
- self._CallId = None
649
-
650
- @property
651
- def BizDate(self):
652
- return self._BizDate
653
-
654
- @BizDate.setter
655
- def BizDate(self, BizDate):
656
- self._BizDate = BizDate
657
-
658
- @property
659
- def Status(self):
660
- return self._Status
661
-
662
- @Status.setter
663
- def Status(self, Status):
664
- self._Status = Status
665
-
666
- @property
667
- def TotalCount(self):
668
- return self._TotalCount
669
-
670
- @TotalCount.setter
671
- def TotalCount(self, TotalCount):
672
- self._TotalCount = TotalCount
673
-
674
- @property
675
- def FileName(self):
676
- return self._FileName
677
-
678
- @FileName.setter
679
- def FileName(self, FileName):
680
- self._FileName = FileName
681
-
682
- @property
683
- def FileType(self):
684
- return self._FileType
685
-
686
- @FileType.setter
687
- def FileType(self, FileType):
688
- self._FileType = FileType
689
-
690
- @property
691
- def CallId(self):
692
- return self._CallId
693
-
694
- @CallId.setter
695
- def CallId(self, CallId):
696
- self._CallId = CallId
697
-
698
-
699
- def _deserialize(self, params):
700
- self._BizDate = params.get("BizDate")
701
- self._Status = params.get("Status")
702
- self._TotalCount = params.get("TotalCount")
703
- self._FileName = params.get("FileName")
704
- self._FileType = params.get("FileType")
705
- self._CallId = params.get("CallId")
706
- memeber_set = set(params.keys())
707
- for name, value in vars(self).items():
708
- property_name = name[1:]
709
- if property_name in memeber_set:
710
- memeber_set.remove(property_name)
711
- if len(memeber_set) > 0:
712
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
713
-
714
-
715
-
716
- class CallTimeDict(AbstractModel):
717
- """产品拨打时间集合
718
-
719
- """
720
-
721
- def __init__(self):
722
- r"""
723
- :param _Monday: 周一
724
- :type Monday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
725
- :param _Tuesday: 周二
726
- :type Tuesday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
727
- :param _Wednesday: 周三
728
- :type Wednesday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
729
- :param _Thursday: 周四
730
- :type Thursday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
731
- :param _Friday: 周五
732
- :type Friday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
733
- :param _Saturday: 周六
734
- :type Saturday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
735
- :param _Sunday: 周日
736
- :type Sunday: :class:`tencentcloud.cr.v20180321.models.CallTimeInfo`
737
- """
738
- self._Monday = None
739
- self._Tuesday = None
740
- self._Wednesday = None
741
- self._Thursday = None
742
- self._Friday = None
743
- self._Saturday = None
744
- self._Sunday = None
745
-
746
- @property
747
- def Monday(self):
748
- return self._Monday
749
-
750
- @Monday.setter
751
- def Monday(self, Monday):
752
- self._Monday = Monday
753
-
754
- @property
755
- def Tuesday(self):
756
- return self._Tuesday
757
-
758
- @Tuesday.setter
759
- def Tuesday(self, Tuesday):
760
- self._Tuesday = Tuesday
761
-
762
- @property
763
- def Wednesday(self):
764
- return self._Wednesday
765
-
766
- @Wednesday.setter
767
- def Wednesday(self, Wednesday):
768
- self._Wednesday = Wednesday
769
-
770
- @property
771
- def Thursday(self):
772
- return self._Thursday
773
-
774
- @Thursday.setter
775
- def Thursday(self, Thursday):
776
- self._Thursday = Thursday
777
-
778
- @property
779
- def Friday(self):
780
- return self._Friday
781
-
782
- @Friday.setter
783
- def Friday(self, Friday):
784
- self._Friday = Friday
785
-
786
- @property
787
- def Saturday(self):
788
- return self._Saturday
789
-
790
- @Saturday.setter
791
- def Saturday(self, Saturday):
792
- self._Saturday = Saturday
793
-
794
- @property
795
- def Sunday(self):
796
- return self._Sunday
797
-
798
- @Sunday.setter
799
- def Sunday(self, Sunday):
800
- self._Sunday = Sunday
801
-
802
-
803
- def _deserialize(self, params):
804
- if params.get("Monday") is not None:
805
- self._Monday = CallTimeInfo()
806
- self._Monday._deserialize(params.get("Monday"))
807
- if params.get("Tuesday") is not None:
808
- self._Tuesday = CallTimeInfo()
809
- self._Tuesday._deserialize(params.get("Tuesday"))
810
- if params.get("Wednesday") is not None:
811
- self._Wednesday = CallTimeInfo()
812
- self._Wednesday._deserialize(params.get("Wednesday"))
813
- if params.get("Thursday") is not None:
814
- self._Thursday = CallTimeInfo()
815
- self._Thursday._deserialize(params.get("Thursday"))
816
- if params.get("Friday") is not None:
817
- self._Friday = CallTimeInfo()
818
- self._Friday._deserialize(params.get("Friday"))
819
- if params.get("Saturday") is not None:
820
- self._Saturday = CallTimeInfo()
821
- self._Saturday._deserialize(params.get("Saturday"))
822
- if params.get("Sunday") is not None:
823
- self._Sunday = CallTimeInfo()
824
- self._Sunday._deserialize(params.get("Sunday"))
825
- memeber_set = set(params.keys())
826
- for name, value in vars(self).items():
827
- property_name = name[1:]
828
- if property_name in memeber_set:
829
- memeber_set.remove(property_name)
830
- if len(memeber_set) > 0:
831
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
832
-
833
-
834
-
835
- class CallTimeInfo(AbstractModel):
836
- """产品拨打时间信息
837
-
838
- """
839
-
840
- def __init__(self):
841
- r"""
842
- :param _StartTime: 产品开始拨打时间,HHmmss格式,默认090000
843
- :type StartTime: str
844
- :param _EndTime: 产品结束拨打时间,HHmmss格式.默认200000
845
- :type EndTime: str
846
- """
847
- self._StartTime = None
848
- self._EndTime = None
849
-
850
- @property
851
- def StartTime(self):
852
- return self._StartTime
853
-
854
- @StartTime.setter
855
- def StartTime(self, StartTime):
856
- self._StartTime = StartTime
857
-
858
- @property
859
- def EndTime(self):
860
- return self._EndTime
861
-
862
- @EndTime.setter
863
- def EndTime(self, EndTime):
864
- self._EndTime = EndTime
865
-
866
-
867
- def _deserialize(self, params):
868
- self._StartTime = params.get("StartTime")
869
- self._EndTime = params.get("EndTime")
870
- memeber_set = set(params.keys())
871
- for name, value in vars(self).items():
872
- property_name = name[1:]
873
- if property_name in memeber_set:
874
- memeber_set.remove(property_name)
875
- if len(memeber_set) > 0:
876
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
877
-
878
-
879
-
880
- class ChangeBotCallStatusRequest(AbstractModel):
881
- """ChangeBotCallStatus请求参数结构体
882
-
883
- """
884
-
885
- def __init__(self):
886
- r"""
887
- :param _Module: 模块名。默认值(固定):AiApi
888
- :type Module: str
889
- :param _Operation: 操作名。默认值(固定):ChangeBotCallStatus
890
- :type Operation: str
891
- :param _Status: 作业变更状态
892
- SUSPEND:暂停;EXECUTE:恢复;
893
- :type Status: str
894
- :param _CallId: 作业唯一标识
895
- :type CallId: str
896
- :param _BizDate: 业务日期
897
- :type BizDate: str
898
- :param _BotId: 任务ID,二者必填一个
899
- :type BotId: str
900
- :param _BotName: 任务名称,二者必填一个
901
- :type BotName: str
902
- """
903
- self._Module = None
904
- self._Operation = None
905
- self._Status = None
906
- self._CallId = None
907
- self._BizDate = None
908
- self._BotId = None
909
- self._BotName = None
910
-
911
- @property
912
- def Module(self):
913
- return self._Module
914
-
915
- @Module.setter
916
- def Module(self, Module):
917
- self._Module = Module
918
-
919
- @property
920
- def Operation(self):
921
- return self._Operation
922
-
923
- @Operation.setter
924
- def Operation(self, Operation):
925
- self._Operation = Operation
926
-
927
- @property
928
- def Status(self):
929
- return self._Status
930
-
931
- @Status.setter
932
- def Status(self, Status):
933
- self._Status = Status
934
-
935
- @property
936
- def CallId(self):
937
- return self._CallId
938
-
939
- @CallId.setter
940
- def CallId(self, CallId):
941
- self._CallId = CallId
942
-
943
- @property
944
- def BizDate(self):
945
- return self._BizDate
946
-
947
- @BizDate.setter
948
- def BizDate(self, BizDate):
949
- self._BizDate = BizDate
950
-
951
- @property
952
- def BotId(self):
953
- return self._BotId
954
-
955
- @BotId.setter
956
- def BotId(self, BotId):
957
- self._BotId = BotId
958
-
959
- @property
960
- def BotName(self):
961
- return self._BotName
962
-
963
- @BotName.setter
964
- def BotName(self, BotName):
965
- self._BotName = BotName
966
-
967
-
968
- def _deserialize(self, params):
969
- self._Module = params.get("Module")
970
- self._Operation = params.get("Operation")
971
- self._Status = params.get("Status")
972
- self._CallId = params.get("CallId")
973
- self._BizDate = params.get("BizDate")
974
- self._BotId = params.get("BotId")
975
- self._BotName = params.get("BotName")
976
- memeber_set = set(params.keys())
977
- for name, value in vars(self).items():
978
- property_name = name[1:]
979
- if property_name in memeber_set:
980
- memeber_set.remove(property_name)
981
- if len(memeber_set) > 0:
982
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
983
-
984
-
985
-
986
- class ChangeBotCallStatusResponse(AbstractModel):
987
- """ChangeBotCallStatus返回参数结构体
988
-
989
- """
990
-
991
- def __init__(self):
992
- r"""
993
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
994
- :type RequestId: str
995
- """
996
- self._RequestId = None
997
-
998
- @property
999
- def RequestId(self):
1000
- return self._RequestId
1001
-
1002
- @RequestId.setter
1003
- def RequestId(self, RequestId):
1004
- self._RequestId = RequestId
1005
-
1006
-
1007
- def _deserialize(self, params):
1008
- self._RequestId = params.get("RequestId")
1009
-
1010
-
1011
- class ChangeBotTaskStatusRequest(AbstractModel):
1012
- """ChangeBotTaskStatus请求参数结构体
1013
-
1014
- """
1015
-
1016
- def __init__(self):
1017
- r"""
1018
- :param _Module: 模块名。默认值(固定):AiApi
1019
- :type Module: str
1020
- :param _Operation: 操作名。默认值(固定):ChangeBotTaskStatus
1021
- :type Operation: str
1022
- :param _Status: 作业变更状态
1023
- SUSPEND:暂停;EXECUTE:恢复;
1024
- :type Status: str
1025
- :param _BotId: 任务ID,二者必填一个
1026
- :type BotId: str
1027
- :param _BotName: 任务名称,二者必填一个
1028
- :type BotName: str
1029
- """
1030
- self._Module = None
1031
- self._Operation = None
1032
- self._Status = None
1033
- self._BotId = None
1034
- self._BotName = None
1035
-
1036
- @property
1037
- def Module(self):
1038
- return self._Module
1039
-
1040
- @Module.setter
1041
- def Module(self, Module):
1042
- self._Module = Module
1043
-
1044
- @property
1045
- def Operation(self):
1046
- return self._Operation
1047
-
1048
- @Operation.setter
1049
- def Operation(self, Operation):
1050
- self._Operation = Operation
1051
-
1052
- @property
1053
- def Status(self):
1054
- return self._Status
1055
-
1056
- @Status.setter
1057
- def Status(self, Status):
1058
- self._Status = Status
1059
-
1060
- @property
1061
- def BotId(self):
1062
- return self._BotId
1063
-
1064
- @BotId.setter
1065
- def BotId(self, BotId):
1066
- self._BotId = BotId
1067
-
1068
- @property
1069
- def BotName(self):
1070
- return self._BotName
1071
-
1072
- @BotName.setter
1073
- def BotName(self, BotName):
1074
- self._BotName = BotName
1075
-
1076
-
1077
- def _deserialize(self, params):
1078
- self._Module = params.get("Module")
1079
- self._Operation = params.get("Operation")
1080
- self._Status = params.get("Status")
1081
- self._BotId = params.get("BotId")
1082
- self._BotName = params.get("BotName")
1083
- memeber_set = set(params.keys())
1084
- for name, value in vars(self).items():
1085
- property_name = name[1:]
1086
- if property_name in memeber_set:
1087
- memeber_set.remove(property_name)
1088
- if len(memeber_set) > 0:
1089
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1090
-
1091
-
1092
-
1093
- class ChangeBotTaskStatusResponse(AbstractModel):
1094
- """ChangeBotTaskStatus返回参数结构体
1095
-
1096
- """
1097
-
1098
- def __init__(self):
1099
- r"""
1100
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1101
- :type RequestId: str
1102
- """
1103
- self._RequestId = None
1104
-
1105
- @property
1106
- def RequestId(self):
1107
- return self._RequestId
1108
-
1109
- @RequestId.setter
1110
- def RequestId(self, RequestId):
1111
- self._RequestId = RequestId
1112
-
1113
-
1114
- def _deserialize(self, params):
1115
- self._RequestId = params.get("RequestId")
1116
-
1117
-
1118
- class CreateBotTaskRequest(AbstractModel):
1119
- """CreateBotTask请求参数结构体
1120
-
1121
- """
1122
-
1123
- def __init__(self):
1124
- r"""
1125
- :param _Module: 模块名。默认值(固定):AiApi
1126
- :type Module: str
1127
- :param _Operation: 操作名。默认值(固定):CreateTask
1128
- :type Operation: str
1129
- :param _BotName: 任务名称
1130
- :type BotName: str
1131
- :param _FlowId: 对话流ID
1132
- :type FlowId: str
1133
- :param _BanCall: 是否禁止拨打,默认Y
1134
- :type BanCall: str
1135
- :param _PhoneCollection: 拨打线路集合
1136
- :type PhoneCollection: str
1137
- :param _CallTimeCollection: 产品拨打时间集合
1138
- :type CallTimeCollection: :class:`tencentcloud.cr.v20180321.models.CallTimeDict`
1139
- :param _StartTimeBan: 禁止拨打起始时间。默认130000
1140
- :type StartTimeBan: str
1141
- :param _EndTimeBan: 禁止拨打结束时间。默认140000
1142
- :type EndTimeBan: str
1143
- :param _CodeType: 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
1144
- :type CodeType: str
1145
- :param _CodeCollection: 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
1146
- :type CodeCollection: str
1147
- :param _CallCount: 继续拨打次数
1148
- :type CallCount: int
1149
- :param _CallInterval: 拨打间隔
1150
- :type CallInterval: int
1151
- :param _SmsSignId: 未接通引用短信签名ID
1152
- :type SmsSignId: str
1153
- :param _SmsTemplateId: 未接通引用短信模板ID
1154
- :type SmsTemplateId: str
1155
- :param _CallType: 拨打方式。NORMAL - 正常拨打;TIMER - 定时拨打
1156
- :type CallType: str
1157
- :param _CallStartDate: 拨打开始日期。CallType=TIMER时有值,yyyy-MM-dd
1158
- :type CallStartDate: str
1159
- :param _CallEndDate: 拨打结束日期。CallType=PERIOD 时有值,yyyy-MM-dd
1160
- :type CallEndDate: str
1161
- """
1162
- self._Module = None
1163
- self._Operation = None
1164
- self._BotName = None
1165
- self._FlowId = None
1166
- self._BanCall = None
1167
- self._PhoneCollection = None
1168
- self._CallTimeCollection = None
1169
- self._StartTimeBan = None
1170
- self._EndTimeBan = None
1171
- self._CodeType = None
1172
- self._CodeCollection = None
1173
- self._CallCount = None
1174
- self._CallInterval = None
1175
- self._SmsSignId = None
1176
- self._SmsTemplateId = None
1177
- self._CallType = None
1178
- self._CallStartDate = None
1179
- self._CallEndDate = None
1180
-
1181
- @property
1182
- def Module(self):
1183
- return self._Module
1184
-
1185
- @Module.setter
1186
- def Module(self, Module):
1187
- self._Module = Module
1188
-
1189
- @property
1190
- def Operation(self):
1191
- return self._Operation
1192
-
1193
- @Operation.setter
1194
- def Operation(self, Operation):
1195
- self._Operation = Operation
1196
-
1197
- @property
1198
- def BotName(self):
1199
- return self._BotName
1200
-
1201
- @BotName.setter
1202
- def BotName(self, BotName):
1203
- self._BotName = BotName
1204
-
1205
- @property
1206
- def FlowId(self):
1207
- return self._FlowId
1208
-
1209
- @FlowId.setter
1210
- def FlowId(self, FlowId):
1211
- self._FlowId = FlowId
1212
-
1213
- @property
1214
- def BanCall(self):
1215
- return self._BanCall
1216
-
1217
- @BanCall.setter
1218
- def BanCall(self, BanCall):
1219
- self._BanCall = BanCall
1220
-
1221
- @property
1222
- def PhoneCollection(self):
1223
- return self._PhoneCollection
1224
-
1225
- @PhoneCollection.setter
1226
- def PhoneCollection(self, PhoneCollection):
1227
- self._PhoneCollection = PhoneCollection
1228
-
1229
- @property
1230
- def CallTimeCollection(self):
1231
- return self._CallTimeCollection
1232
-
1233
- @CallTimeCollection.setter
1234
- def CallTimeCollection(self, CallTimeCollection):
1235
- self._CallTimeCollection = CallTimeCollection
1236
-
1237
- @property
1238
- def StartTimeBan(self):
1239
- return self._StartTimeBan
1240
-
1241
- @StartTimeBan.setter
1242
- def StartTimeBan(self, StartTimeBan):
1243
- self._StartTimeBan = StartTimeBan
1244
-
1245
- @property
1246
- def EndTimeBan(self):
1247
- return self._EndTimeBan
1248
-
1249
- @EndTimeBan.setter
1250
- def EndTimeBan(self, EndTimeBan):
1251
- self._EndTimeBan = EndTimeBan
1252
-
1253
- @property
1254
- def CodeType(self):
1255
- return self._CodeType
1256
-
1257
- @CodeType.setter
1258
- def CodeType(self, CodeType):
1259
- self._CodeType = CodeType
1260
-
1261
- @property
1262
- def CodeCollection(self):
1263
- return self._CodeCollection
1264
-
1265
- @CodeCollection.setter
1266
- def CodeCollection(self, CodeCollection):
1267
- self._CodeCollection = CodeCollection
1268
-
1269
- @property
1270
- def CallCount(self):
1271
- return self._CallCount
1272
-
1273
- @CallCount.setter
1274
- def CallCount(self, CallCount):
1275
- self._CallCount = CallCount
1276
-
1277
- @property
1278
- def CallInterval(self):
1279
- return self._CallInterval
1280
-
1281
- @CallInterval.setter
1282
- def CallInterval(self, CallInterval):
1283
- self._CallInterval = CallInterval
1284
-
1285
- @property
1286
- def SmsSignId(self):
1287
- return self._SmsSignId
1288
-
1289
- @SmsSignId.setter
1290
- def SmsSignId(self, SmsSignId):
1291
- self._SmsSignId = SmsSignId
1292
-
1293
- @property
1294
- def SmsTemplateId(self):
1295
- return self._SmsTemplateId
1296
-
1297
- @SmsTemplateId.setter
1298
- def SmsTemplateId(self, SmsTemplateId):
1299
- self._SmsTemplateId = SmsTemplateId
1300
-
1301
- @property
1302
- def CallType(self):
1303
- return self._CallType
1304
-
1305
- @CallType.setter
1306
- def CallType(self, CallType):
1307
- self._CallType = CallType
1308
-
1309
- @property
1310
- def CallStartDate(self):
1311
- return self._CallStartDate
1312
-
1313
- @CallStartDate.setter
1314
- def CallStartDate(self, CallStartDate):
1315
- self._CallStartDate = CallStartDate
1316
-
1317
- @property
1318
- def CallEndDate(self):
1319
- return self._CallEndDate
1320
-
1321
- @CallEndDate.setter
1322
- def CallEndDate(self, CallEndDate):
1323
- self._CallEndDate = CallEndDate
1324
-
1325
-
1326
- def _deserialize(self, params):
1327
- self._Module = params.get("Module")
1328
- self._Operation = params.get("Operation")
1329
- self._BotName = params.get("BotName")
1330
- self._FlowId = params.get("FlowId")
1331
- self._BanCall = params.get("BanCall")
1332
- self._PhoneCollection = params.get("PhoneCollection")
1333
- if params.get("CallTimeCollection") is not None:
1334
- self._CallTimeCollection = CallTimeDict()
1335
- self._CallTimeCollection._deserialize(params.get("CallTimeCollection"))
1336
- self._StartTimeBan = params.get("StartTimeBan")
1337
- self._EndTimeBan = params.get("EndTimeBan")
1338
- self._CodeType = params.get("CodeType")
1339
- self._CodeCollection = params.get("CodeCollection")
1340
- self._CallCount = params.get("CallCount")
1341
- self._CallInterval = params.get("CallInterval")
1342
- self._SmsSignId = params.get("SmsSignId")
1343
- self._SmsTemplateId = params.get("SmsTemplateId")
1344
- self._CallType = params.get("CallType")
1345
- self._CallStartDate = params.get("CallStartDate")
1346
- self._CallEndDate = params.get("CallEndDate")
1347
- memeber_set = set(params.keys())
1348
- for name, value in vars(self).items():
1349
- property_name = name[1:]
1350
- if property_name in memeber_set:
1351
- memeber_set.remove(property_name)
1352
- if len(memeber_set) > 0:
1353
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1354
-
1355
-
1356
-
1357
- class CreateBotTaskResponse(AbstractModel):
1358
- """CreateBotTask返回参数结构体
1359
-
1360
- """
1361
-
1362
- def __init__(self):
1363
- r"""
1364
- :param _BotId: 机器人任务Id
1365
- :type BotId: str
1366
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1367
- :type RequestId: str
1368
- """
1369
- self._BotId = None
1370
- self._RequestId = None
1371
-
1372
- @property
1373
- def BotId(self):
1374
- return self._BotId
1375
-
1376
- @BotId.setter
1377
- def BotId(self, BotId):
1378
- self._BotId = BotId
1379
-
1380
- @property
1381
- def RequestId(self):
1382
- return self._RequestId
1383
-
1384
- @RequestId.setter
1385
- def RequestId(self, RequestId):
1386
- self._RequestId = RequestId
1387
-
1388
-
1389
- def _deserialize(self, params):
1390
- self._BotId = params.get("BotId")
1391
- self._RequestId = params.get("RequestId")
1392
-
1393
-
1394
- class DescribeBotFlowRequest(AbstractModel):
1395
- """DescribeBotFlow请求参数结构体
1396
-
1397
- """
1398
-
1399
- def __init__(self):
1400
- r"""
1401
- :param _Module: 模块名。默认值(固定):AiApi
1402
- :type Module: str
1403
- :param _Operation: 操作名。默认值(固定):GetFlow
1404
- :type Operation: str
1405
- """
1406
- self._Module = None
1407
- self._Operation = None
1408
-
1409
- @property
1410
- def Module(self):
1411
- return self._Module
1412
-
1413
- @Module.setter
1414
- def Module(self, Module):
1415
- self._Module = Module
1416
-
1417
- @property
1418
- def Operation(self):
1419
- return self._Operation
1420
-
1421
- @Operation.setter
1422
- def Operation(self, Operation):
1423
- self._Operation = Operation
1424
-
1425
-
1426
- def _deserialize(self, params):
1427
- self._Module = params.get("Module")
1428
- self._Operation = params.get("Operation")
1429
- memeber_set = set(params.keys())
1430
- for name, value in vars(self).items():
1431
- property_name = name[1:]
1432
- if property_name in memeber_set:
1433
- memeber_set.remove(property_name)
1434
- if len(memeber_set) > 0:
1435
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1436
-
1437
-
1438
-
1439
- class DescribeBotFlowResponse(AbstractModel):
1440
- """DescribeBotFlow返回参数结构体
1441
-
1442
- """
1443
-
1444
- def __init__(self):
1445
- r"""
1446
- :param _BotFlowList: 机器人对话流列表
1447
- 注意:此字段可能返回 null,表示取不到有效值。
1448
- :type BotFlowList: list of BotFlow
1449
- :param _SmsSignList: 短信签名列表
1450
- 注意:此字段可能返回 null,表示取不到有效值。
1451
- :type SmsSignList: list of SmsSign
1452
- :param _SmsTemplateList: 短信模板列表
1453
- 注意:此字段可能返回 null,表示取不到有效值。
1454
- :type SmsTemplateList: list of SmsTemplate
1455
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1456
- :type RequestId: str
1457
- """
1458
- self._BotFlowList = None
1459
- self._SmsSignList = None
1460
- self._SmsTemplateList = None
1461
- self._RequestId = None
1462
-
1463
- @property
1464
- def BotFlowList(self):
1465
- return self._BotFlowList
1466
-
1467
- @BotFlowList.setter
1468
- def BotFlowList(self, BotFlowList):
1469
- self._BotFlowList = BotFlowList
1470
-
1471
- @property
1472
- def SmsSignList(self):
1473
- return self._SmsSignList
1474
-
1475
- @SmsSignList.setter
1476
- def SmsSignList(self, SmsSignList):
1477
- self._SmsSignList = SmsSignList
1478
-
1479
- @property
1480
- def SmsTemplateList(self):
1481
- return self._SmsTemplateList
1482
-
1483
- @SmsTemplateList.setter
1484
- def SmsTemplateList(self, SmsTemplateList):
1485
- self._SmsTemplateList = SmsTemplateList
1486
-
1487
- @property
1488
- def RequestId(self):
1489
- return self._RequestId
1490
-
1491
- @RequestId.setter
1492
- def RequestId(self, RequestId):
1493
- self._RequestId = RequestId
1494
-
1495
-
1496
- def _deserialize(self, params):
1497
- if params.get("BotFlowList") is not None:
1498
- self._BotFlowList = []
1499
- for item in params.get("BotFlowList"):
1500
- obj = BotFlow()
1501
- obj._deserialize(item)
1502
- self._BotFlowList.append(obj)
1503
- if params.get("SmsSignList") is not None:
1504
- self._SmsSignList = []
1505
- for item in params.get("SmsSignList"):
1506
- obj = SmsSign()
1507
- obj._deserialize(item)
1508
- self._SmsSignList.append(obj)
1509
- if params.get("SmsTemplateList") is not None:
1510
- self._SmsTemplateList = []
1511
- for item in params.get("SmsTemplateList"):
1512
- obj = SmsTemplate()
1513
- obj._deserialize(item)
1514
- self._SmsTemplateList.append(obj)
1515
- self._RequestId = params.get("RequestId")
1516
-
1517
-
1518
- class DescribeCreditResultRequest(AbstractModel):
1519
- """DescribeCreditResult请求参数结构体
1520
-
1521
- """
1522
-
1523
- def __init__(self):
1524
- r"""
1525
- :param _Module: 模块名,本接口取值:Credit
1526
- :type Module: str
1527
- :param _Operation: 操作名,本接口取值:Get
1528
- :type Operation: str
1529
- :param _InstId: 实例ID
1530
- :type InstId: str
1531
- :param _ProductId: 产品ID,形如P******。
1532
- :type ProductId: str
1533
- :param _CaseId: 信审任务ID
1534
- :type CaseId: str
1535
- :param _RequestDate: 请求日期,格式为YYYY-MM-DD
1536
- :type RequestDate: str
1537
- """
1538
- self._Module = None
1539
- self._Operation = None
1540
- self._InstId = None
1541
- self._ProductId = None
1542
- self._CaseId = None
1543
- self._RequestDate = None
1544
-
1545
- @property
1546
- def Module(self):
1547
- return self._Module
1548
-
1549
- @Module.setter
1550
- def Module(self, Module):
1551
- self._Module = Module
1552
-
1553
- @property
1554
- def Operation(self):
1555
- return self._Operation
1556
-
1557
- @Operation.setter
1558
- def Operation(self, Operation):
1559
- self._Operation = Operation
1560
-
1561
- @property
1562
- def InstId(self):
1563
- return self._InstId
1564
-
1565
- @InstId.setter
1566
- def InstId(self, InstId):
1567
- self._InstId = InstId
1568
-
1569
- @property
1570
- def ProductId(self):
1571
- return self._ProductId
1572
-
1573
- @ProductId.setter
1574
- def ProductId(self, ProductId):
1575
- self._ProductId = ProductId
1576
-
1577
- @property
1578
- def CaseId(self):
1579
- return self._CaseId
1580
-
1581
- @CaseId.setter
1582
- def CaseId(self, CaseId):
1583
- self._CaseId = CaseId
1584
-
1585
- @property
1586
- def RequestDate(self):
1587
- return self._RequestDate
1588
-
1589
- @RequestDate.setter
1590
- def RequestDate(self, RequestDate):
1591
- self._RequestDate = RequestDate
1592
-
1593
-
1594
- def _deserialize(self, params):
1595
- self._Module = params.get("Module")
1596
- self._Operation = params.get("Operation")
1597
- self._InstId = params.get("InstId")
1598
- self._ProductId = params.get("ProductId")
1599
- self._CaseId = params.get("CaseId")
1600
- self._RequestDate = params.get("RequestDate")
1601
- memeber_set = set(params.keys())
1602
- for name, value in vars(self).items():
1603
- property_name = name[1:]
1604
- if property_name in memeber_set:
1605
- memeber_set.remove(property_name)
1606
- if len(memeber_set) > 0:
1607
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1608
-
1609
-
1610
-
1611
- class DescribeCreditResultResponse(AbstractModel):
1612
- """DescribeCreditResult返回参数结构体
1613
-
1614
- """
1615
-
1616
- def __init__(self):
1617
- r"""
1618
- :param _ResultCode: <p>呼叫结果,取值范围:</p><ul style="margin-bottom:0px;"><li>NON:接通</li><li>DBU:号码忙</li><li>DRF:不在服务区</li><li>ANA:欠费未接听</li><li>REJ:拒接</li><li>SHU:关机</li><li>NAN:空号</li><li>HAL:停机</li><li>DAD:未接听</li><li>EXE:其他异常</li></ul>
1619
- :type ResultCode: str
1620
- :param _ClientCode: 客户标识代码,多个标识码以英文逗号分隔,ResultCode为NON时才有。
1621
- 注意:此字段可能返回 null,表示取不到有效值。
1622
- :type ClientCode: str
1623
- :param _RingStartTime: 开始振铃时间,ResultCode为NON或DAD时才有此字段。
1624
- 注意:此字段可能返回 null,表示取不到有效值。
1625
- :type RingStartTime: str
1626
- :param _RingDuration: 振铃时长
1627
- :type RingDuration: int
1628
- :param _AnswerDuration: 接通时长
1629
- :type AnswerDuration: int
1630
- :param _ContextValue: JSON格式的扩展信息字段,ResultCode为NON时才有。
1631
- 注意:此字段可能返回 null,表示取不到有效值。
1632
- :type ContextValue: str
1633
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1634
- :type RequestId: str
1635
- """
1636
- self._ResultCode = None
1637
- self._ClientCode = None
1638
- self._RingStartTime = None
1639
- self._RingDuration = None
1640
- self._AnswerDuration = None
1641
- self._ContextValue = None
1642
- self._RequestId = None
1643
-
1644
- @property
1645
- def ResultCode(self):
1646
- return self._ResultCode
1647
-
1648
- @ResultCode.setter
1649
- def ResultCode(self, ResultCode):
1650
- self._ResultCode = ResultCode
1651
-
1652
- @property
1653
- def ClientCode(self):
1654
- return self._ClientCode
1655
-
1656
- @ClientCode.setter
1657
- def ClientCode(self, ClientCode):
1658
- self._ClientCode = ClientCode
1659
-
1660
- @property
1661
- def RingStartTime(self):
1662
- return self._RingStartTime
1663
-
1664
- @RingStartTime.setter
1665
- def RingStartTime(self, RingStartTime):
1666
- self._RingStartTime = RingStartTime
1667
-
1668
- @property
1669
- def RingDuration(self):
1670
- return self._RingDuration
1671
-
1672
- @RingDuration.setter
1673
- def RingDuration(self, RingDuration):
1674
- self._RingDuration = RingDuration
1675
-
1676
- @property
1677
- def AnswerDuration(self):
1678
- return self._AnswerDuration
1679
-
1680
- @AnswerDuration.setter
1681
- def AnswerDuration(self, AnswerDuration):
1682
- self._AnswerDuration = AnswerDuration
1683
-
1684
- @property
1685
- def ContextValue(self):
1686
- return self._ContextValue
1687
-
1688
- @ContextValue.setter
1689
- def ContextValue(self, ContextValue):
1690
- self._ContextValue = ContextValue
1691
-
1692
- @property
1693
- def RequestId(self):
1694
- return self._RequestId
1695
-
1696
- @RequestId.setter
1697
- def RequestId(self, RequestId):
1698
- self._RequestId = RequestId
1699
-
1700
-
1701
- def _deserialize(self, params):
1702
- self._ResultCode = params.get("ResultCode")
1703
- self._ClientCode = params.get("ClientCode")
1704
- self._RingStartTime = params.get("RingStartTime")
1705
- self._RingDuration = params.get("RingDuration")
1706
- self._AnswerDuration = params.get("AnswerDuration")
1707
- self._ContextValue = params.get("ContextValue")
1708
- self._RequestId = params.get("RequestId")
1709
-
1710
-
1711
- class DescribeFileModelRequest(AbstractModel):
1712
- """DescribeFileModel请求参数结构体
1713
-
1714
- """
1715
-
1716
- def __init__(self):
1717
- r"""
1718
- :param _Module: 模块名。默认值(固定):AiApi
1719
- :type Module: str
1720
- :param _Operation: 操作名。默认值(固定):DescribeFileModel
1721
- :type Operation: str
1722
- :param _FileType: 模板文件类型,输入input,停拨stop
1723
- :type FileType: str
1724
- :param _BotId: 任务ID,二者必填一个
1725
- :type BotId: str
1726
- :param _BotName: 任务名称,二者必填一个
1727
- :type BotName: str
1728
- """
1729
- self._Module = None
1730
- self._Operation = None
1731
- self._FileType = None
1732
- self._BotId = None
1733
- self._BotName = None
1734
-
1735
- @property
1736
- def Module(self):
1737
- return self._Module
1738
-
1739
- @Module.setter
1740
- def Module(self, Module):
1741
- self._Module = Module
1742
-
1743
- @property
1744
- def Operation(self):
1745
- return self._Operation
1746
-
1747
- @Operation.setter
1748
- def Operation(self, Operation):
1749
- self._Operation = Operation
1750
-
1751
- @property
1752
- def FileType(self):
1753
- return self._FileType
1754
-
1755
- @FileType.setter
1756
- def FileType(self, FileType):
1757
- self._FileType = FileType
1758
-
1759
- @property
1760
- def BotId(self):
1761
- return self._BotId
1762
-
1763
- @BotId.setter
1764
- def BotId(self, BotId):
1765
- self._BotId = BotId
1766
-
1767
- @property
1768
- def BotName(self):
1769
- return self._BotName
1770
-
1771
- @BotName.setter
1772
- def BotName(self, BotName):
1773
- self._BotName = BotName
1774
-
1775
-
1776
- def _deserialize(self, params):
1777
- self._Module = params.get("Module")
1778
- self._Operation = params.get("Operation")
1779
- self._FileType = params.get("FileType")
1780
- self._BotId = params.get("BotId")
1781
- self._BotName = params.get("BotName")
1782
- memeber_set = set(params.keys())
1783
- for name, value in vars(self).items():
1784
- property_name = name[1:]
1785
- if property_name in memeber_set:
1786
- memeber_set.remove(property_name)
1787
- if len(memeber_set) > 0:
1788
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1789
-
1790
-
1791
-
1792
- class DescribeFileModelResponse(AbstractModel):
1793
- """DescribeFileModel返回参数结构体
1794
-
1795
- """
1796
-
1797
- def __init__(self):
1798
- r"""
1799
- :param _CosUrl: 模板下载链接
1800
- :type CosUrl: str
1801
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1802
- :type RequestId: str
1803
- """
1804
- self._CosUrl = None
1805
- self._RequestId = None
1806
-
1807
- @property
1808
- def CosUrl(self):
1809
- return self._CosUrl
1810
-
1811
- @CosUrl.setter
1812
- def CosUrl(self, CosUrl):
1813
- self._CosUrl = CosUrl
1814
-
1815
- @property
1816
- def RequestId(self):
1817
- return self._RequestId
1818
-
1819
- @RequestId.setter
1820
- def RequestId(self, RequestId):
1821
- self._RequestId = RequestId
1822
-
1823
-
1824
- def _deserialize(self, params):
1825
- self._CosUrl = params.get("CosUrl")
1826
- self._RequestId = params.get("RequestId")
1827
-
1828
-
1829
- class DescribeRecordsRequest(AbstractModel):
1830
- """DescribeRecords请求参数结构体
1831
-
1832
- """
1833
-
1834
- def __init__(self):
1835
- r"""
1836
- :param _Module: 模块名,本接口取值:Record
1837
- :type Module: str
1838
- :param _Operation: 操作名,本接口取值:List
1839
- :type Operation: str
1840
- :param _ProductId: 产品ID
1841
- :type ProductId: str
1842
- :param _AccountNum: 案件编号
1843
- :type AccountNum: str
1844
- :param _CalledPhone: 被叫号码
1845
- :type CalledPhone: str
1846
- :param _StartBizDate: 查询起始日期,格式为YYYY-MM-DD
1847
- :type StartBizDate: str
1848
- :param _EndBizDate: 查询结束日期,格式为YYYY-MM-DD
1849
- :type EndBizDate: str
1850
- :param _Offset: 分页参数,索引,默认为0
1851
- :type Offset: str
1852
- :param _Limit: 分页参数,页长,默认为20
1853
- :type Limit: str
1854
- :param _InstId: 实例ID,不传默认为系统分配的初始实例
1855
- :type InstId: str
1856
- """
1857
- self._Module = None
1858
- self._Operation = None
1859
- self._ProductId = None
1860
- self._AccountNum = None
1861
- self._CalledPhone = None
1862
- self._StartBizDate = None
1863
- self._EndBizDate = None
1864
- self._Offset = None
1865
- self._Limit = None
1866
- self._InstId = None
1867
-
1868
- @property
1869
- def Module(self):
1870
- return self._Module
1871
-
1872
- @Module.setter
1873
- def Module(self, Module):
1874
- self._Module = Module
1875
-
1876
- @property
1877
- def Operation(self):
1878
- return self._Operation
1879
-
1880
- @Operation.setter
1881
- def Operation(self, Operation):
1882
- self._Operation = Operation
1883
-
1884
- @property
1885
- def ProductId(self):
1886
- return self._ProductId
1887
-
1888
- @ProductId.setter
1889
- def ProductId(self, ProductId):
1890
- self._ProductId = ProductId
1891
-
1892
- @property
1893
- def AccountNum(self):
1894
- return self._AccountNum
1895
-
1896
- @AccountNum.setter
1897
- def AccountNum(self, AccountNum):
1898
- self._AccountNum = AccountNum
1899
-
1900
- @property
1901
- def CalledPhone(self):
1902
- return self._CalledPhone
1903
-
1904
- @CalledPhone.setter
1905
- def CalledPhone(self, CalledPhone):
1906
- self._CalledPhone = CalledPhone
1907
-
1908
- @property
1909
- def StartBizDate(self):
1910
- return self._StartBizDate
1911
-
1912
- @StartBizDate.setter
1913
- def StartBizDate(self, StartBizDate):
1914
- self._StartBizDate = StartBizDate
1915
-
1916
- @property
1917
- def EndBizDate(self):
1918
- return self._EndBizDate
1919
-
1920
- @EndBizDate.setter
1921
- def EndBizDate(self, EndBizDate):
1922
- self._EndBizDate = EndBizDate
1923
-
1924
- @property
1925
- def Offset(self):
1926
- return self._Offset
1927
-
1928
- @Offset.setter
1929
- def Offset(self, Offset):
1930
- self._Offset = Offset
1931
-
1932
- @property
1933
- def Limit(self):
1934
- return self._Limit
1935
-
1936
- @Limit.setter
1937
- def Limit(self, Limit):
1938
- self._Limit = Limit
1939
-
1940
- @property
1941
- def InstId(self):
1942
- return self._InstId
1943
-
1944
- @InstId.setter
1945
- def InstId(self, InstId):
1946
- self._InstId = InstId
1947
-
1948
-
1949
- def _deserialize(self, params):
1950
- self._Module = params.get("Module")
1951
- self._Operation = params.get("Operation")
1952
- self._ProductId = params.get("ProductId")
1953
- self._AccountNum = params.get("AccountNum")
1954
- self._CalledPhone = params.get("CalledPhone")
1955
- self._StartBizDate = params.get("StartBizDate")
1956
- self._EndBizDate = params.get("EndBizDate")
1957
- self._Offset = params.get("Offset")
1958
- self._Limit = params.get("Limit")
1959
- self._InstId = params.get("InstId")
1960
- memeber_set = set(params.keys())
1961
- for name, value in vars(self).items():
1962
- property_name = name[1:]
1963
- if property_name in memeber_set:
1964
- memeber_set.remove(property_name)
1965
- if len(memeber_set) > 0:
1966
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1967
-
1968
-
1969
-
1970
- class DescribeRecordsResponse(AbstractModel):
1971
- """DescribeRecords返回参数结构体
1972
-
1973
- """
1974
-
1975
- def __init__(self):
1976
- r"""
1977
- :param _RecordList: 录音列表。
1978
- 注意:此字段可能返回 null,表示取不到有效值。
1979
- :type RecordList: list of SingleRecord
1980
- :param _TotalCount: 录音总量。
1981
- :type TotalCount: int
1982
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1983
- :type RequestId: str
1984
- """
1985
- self._RecordList = None
1986
- self._TotalCount = None
1987
- self._RequestId = None
1988
-
1989
- @property
1990
- def RecordList(self):
1991
- return self._RecordList
1992
-
1993
- @RecordList.setter
1994
- def RecordList(self, RecordList):
1995
- self._RecordList = RecordList
1996
-
1997
- @property
1998
- def TotalCount(self):
1999
- return self._TotalCount
2000
-
2001
- @TotalCount.setter
2002
- def TotalCount(self, TotalCount):
2003
- self._TotalCount = TotalCount
2004
-
2005
- @property
2006
- def RequestId(self):
2007
- return self._RequestId
2008
-
2009
- @RequestId.setter
2010
- def RequestId(self, RequestId):
2011
- self._RequestId = RequestId
2012
-
2013
-
2014
- def _deserialize(self, params):
2015
- if params.get("RecordList") is not None:
2016
- self._RecordList = []
2017
- for item in params.get("RecordList"):
2018
- obj = SingleRecord()
2019
- obj._deserialize(item)
2020
- self._RecordList.append(obj)
2021
- self._TotalCount = params.get("TotalCount")
2022
- self._RequestId = params.get("RequestId")
2023
-
2024
-
2025
- class DescribeTaskStatusRequest(AbstractModel):
2026
- """DescribeTaskStatus请求参数结构体
2027
-
2028
- """
2029
-
2030
- def __init__(self):
2031
- r"""
2032
- :param _Module: 模块名,本接口取值:Task
2033
- :type Module: str
2034
- :param _Operation: 操作名,本接口取值:DescribeTaskStatus
2035
- :type Operation: str
2036
- :param _TaskId: 任务ID,"上传文件"接口返回的DataResId,形如abc-xyz123
2037
- :type TaskId: str
2038
- :param _InstId: 实例ID,不传默认为系统分配的初始实例。
2039
- :type InstId: str
2040
- """
2041
- self._Module = None
2042
- self._Operation = None
2043
- self._TaskId = None
2044
- self._InstId = None
2045
-
2046
- @property
2047
- def Module(self):
2048
- return self._Module
2049
-
2050
- @Module.setter
2051
- def Module(self, Module):
2052
- self._Module = Module
2053
-
2054
- @property
2055
- def Operation(self):
2056
- return self._Operation
2057
-
2058
- @Operation.setter
2059
- def Operation(self, Operation):
2060
- self._Operation = Operation
2061
-
2062
- @property
2063
- def TaskId(self):
2064
- return self._TaskId
2065
-
2066
- @TaskId.setter
2067
- def TaskId(self, TaskId):
2068
- self._TaskId = TaskId
2069
-
2070
- @property
2071
- def InstId(self):
2072
- return self._InstId
2073
-
2074
- @InstId.setter
2075
- def InstId(self, InstId):
2076
- self._InstId = InstId
2077
-
2078
-
2079
- def _deserialize(self, params):
2080
- self._Module = params.get("Module")
2081
- self._Operation = params.get("Operation")
2082
- self._TaskId = params.get("TaskId")
2083
- self._InstId = params.get("InstId")
2084
- memeber_set = set(params.keys())
2085
- for name, value in vars(self).items():
2086
- property_name = name[1:]
2087
- if property_name in memeber_set:
2088
- memeber_set.remove(property_name)
2089
- if len(memeber_set) > 0:
2090
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2091
-
2092
-
2093
-
2094
- class DescribeTaskStatusResponse(AbstractModel):
2095
- """DescribeTaskStatus返回参数结构体
2096
-
2097
- """
2098
-
2099
- def __init__(self):
2100
- r"""
2101
- :param _TaskResult: <p>任务结果:</p><ul style="margin-bottom:0px;"><li>处理中:"Uploading Data."</li><li>上传成功:"File Uploading Task Success."</li><li>上传失败:具体失败原因</li></ul>
2102
- :type TaskResult: str
2103
- :param _TaskType: <p>任务类型:</p><ul style="margin-bottom:0px;"><li>到期/逾期提醒数据上传:002</li><li>到期/逾期提醒停拨数据上传:003</li><li>回访数据上传:004</li><li>回访停拨数据上传:005</li></ul>
2104
- :type TaskType: str
2105
- :param _TaskFileUrl: 过滤文件下载链接,有过滤数据时才存在。
2106
- 注意:此字段可能返回 null,表示取不到有效值。
2107
- :type TaskFileUrl: str
2108
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2109
- :type RequestId: str
2110
- """
2111
- self._TaskResult = None
2112
- self._TaskType = None
2113
- self._TaskFileUrl = None
2114
- self._RequestId = None
2115
-
2116
- @property
2117
- def TaskResult(self):
2118
- return self._TaskResult
2119
-
2120
- @TaskResult.setter
2121
- def TaskResult(self, TaskResult):
2122
- self._TaskResult = TaskResult
2123
-
2124
- @property
2125
- def TaskType(self):
2126
- return self._TaskType
2127
-
2128
- @TaskType.setter
2129
- def TaskType(self, TaskType):
2130
- self._TaskType = TaskType
2131
-
2132
- @property
2133
- def TaskFileUrl(self):
2134
- return self._TaskFileUrl
2135
-
2136
- @TaskFileUrl.setter
2137
- def TaskFileUrl(self, TaskFileUrl):
2138
- self._TaskFileUrl = TaskFileUrl
2139
-
2140
- @property
2141
- def RequestId(self):
2142
- return self._RequestId
2143
-
2144
- @RequestId.setter
2145
- def RequestId(self, RequestId):
2146
- self._RequestId = RequestId
2147
-
2148
-
2149
- def _deserialize(self, params):
2150
- self._TaskResult = params.get("TaskResult")
2151
- self._TaskType = params.get("TaskType")
2152
- self._TaskFileUrl = params.get("TaskFileUrl")
2153
- self._RequestId = params.get("RequestId")
2154
-
2155
-
2156
- class DownloadBotRecordRequest(AbstractModel):
2157
- """DownloadBotRecord请求参数结构体
2158
-
2159
- """
2160
-
2161
- def __init__(self):
2162
- r"""
2163
- :param _Module: 模块:AiApi
2164
- :type Module: str
2165
- :param _Operation: 操作:DownloadRecord
2166
- :type Operation: str
2167
- :param _BizDate: 业务日期
2168
- :type BizDate: str
2169
- """
2170
- self._Module = None
2171
- self._Operation = None
2172
- self._BizDate = None
2173
-
2174
- @property
2175
- def Module(self):
2176
- return self._Module
2177
-
2178
- @Module.setter
2179
- def Module(self, Module):
2180
- self._Module = Module
2181
-
2182
- @property
2183
- def Operation(self):
2184
- return self._Operation
2185
-
2186
- @Operation.setter
2187
- def Operation(self, Operation):
2188
- self._Operation = Operation
2189
-
2190
- @property
2191
- def BizDate(self):
2192
- return self._BizDate
2193
-
2194
- @BizDate.setter
2195
- def BizDate(self, BizDate):
2196
- self._BizDate = BizDate
2197
-
2198
-
2199
- def _deserialize(self, params):
2200
- self._Module = params.get("Module")
2201
- self._Operation = params.get("Operation")
2202
- self._BizDate = params.get("BizDate")
2203
- memeber_set = set(params.keys())
2204
- for name, value in vars(self).items():
2205
- property_name = name[1:]
2206
- if property_name in memeber_set:
2207
- memeber_set.remove(property_name)
2208
- if len(memeber_set) > 0:
2209
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2210
-
2211
-
2212
-
2213
- class DownloadBotRecordResponse(AbstractModel):
2214
- """DownloadBotRecord返回参数结构体
2215
-
2216
- """
2217
-
2218
- def __init__(self):
2219
- r"""
2220
- :param _RecordCosUrl: 录音地址。请求后30分钟内有效
2221
- :type RecordCosUrl: str
2222
- :param _TextCosUrl: 文本地址。请求后30分钟内有效
2223
- :type TextCosUrl: str
2224
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2225
- :type RequestId: str
2226
- """
2227
- self._RecordCosUrl = None
2228
- self._TextCosUrl = None
2229
- self._RequestId = None
2230
-
2231
- @property
2232
- def RecordCosUrl(self):
2233
- return self._RecordCosUrl
2234
-
2235
- @RecordCosUrl.setter
2236
- def RecordCosUrl(self, RecordCosUrl):
2237
- self._RecordCosUrl = RecordCosUrl
2238
-
2239
- @property
2240
- def TextCosUrl(self):
2241
- return self._TextCosUrl
2242
-
2243
- @TextCosUrl.setter
2244
- def TextCosUrl(self, TextCosUrl):
2245
- self._TextCosUrl = TextCosUrl
2246
-
2247
- @property
2248
- def RequestId(self):
2249
- return self._RequestId
2250
-
2251
- @RequestId.setter
2252
- def RequestId(self, RequestId):
2253
- self._RequestId = RequestId
2254
-
2255
-
2256
- def _deserialize(self, params):
2257
- self._RecordCosUrl = params.get("RecordCosUrl")
2258
- self._TextCosUrl = params.get("TextCosUrl")
2259
- self._RequestId = params.get("RequestId")
2260
-
2261
-
2262
- class DownloadDialogueTextRequest(AbstractModel):
2263
- """DownloadDialogueText请求参数结构体
2264
-
2265
- """
2266
-
2267
- def __init__(self):
2268
- r"""
2269
- :param _Module: 模块名,本接口取值:Report
2270
- :type Module: str
2271
- :param _Operation: 操作名,本接口取值:DownloadTextReport
2272
- :type Operation: str
2273
- :param _ReportDate: 报告日期,格式为YYYY-MM-DD
2274
- :type ReportDate: str
2275
- :param _InstId: 实例ID
2276
- :type InstId: str
2277
- """
2278
- self._Module = None
2279
- self._Operation = None
2280
- self._ReportDate = None
2281
- self._InstId = None
2282
-
2283
- @property
2284
- def Module(self):
2285
- return self._Module
2286
-
2287
- @Module.setter
2288
- def Module(self, Module):
2289
- self._Module = Module
2290
-
2291
- @property
2292
- def Operation(self):
2293
- return self._Operation
2294
-
2295
- @Operation.setter
2296
- def Operation(self, Operation):
2297
- self._Operation = Operation
2298
-
2299
- @property
2300
- def ReportDate(self):
2301
- return self._ReportDate
2302
-
2303
- @ReportDate.setter
2304
- def ReportDate(self, ReportDate):
2305
- self._ReportDate = ReportDate
2306
-
2307
- @property
2308
- def InstId(self):
2309
- return self._InstId
2310
-
2311
- @InstId.setter
2312
- def InstId(self, InstId):
2313
- self._InstId = InstId
2314
-
2315
-
2316
- def _deserialize(self, params):
2317
- self._Module = params.get("Module")
2318
- self._Operation = params.get("Operation")
2319
- self._ReportDate = params.get("ReportDate")
2320
- self._InstId = params.get("InstId")
2321
- memeber_set = set(params.keys())
2322
- for name, value in vars(self).items():
2323
- property_name = name[1:]
2324
- if property_name in memeber_set:
2325
- memeber_set.remove(property_name)
2326
- if len(memeber_set) > 0:
2327
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2328
-
2329
-
2330
-
2331
- class DownloadDialogueTextResponse(AbstractModel):
2332
- """DownloadDialogueText返回参数结构体
2333
-
2334
- """
2335
-
2336
- def __init__(self):
2337
- r"""
2338
- :param _TextReportUrl: 对话文本下载地址
2339
- :type TextReportUrl: str
2340
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2341
- :type RequestId: str
2342
- """
2343
- self._TextReportUrl = None
2344
- self._RequestId = None
2345
-
2346
- @property
2347
- def TextReportUrl(self):
2348
- return self._TextReportUrl
2349
-
2350
- @TextReportUrl.setter
2351
- def TextReportUrl(self, TextReportUrl):
2352
- self._TextReportUrl = TextReportUrl
2353
-
2354
- @property
2355
- def RequestId(self):
2356
- return self._RequestId
2357
-
2358
- @RequestId.setter
2359
- def RequestId(self, RequestId):
2360
- self._RequestId = RequestId
2361
-
2362
-
2363
- def _deserialize(self, params):
2364
- self._TextReportUrl = params.get("TextReportUrl")
2365
- self._RequestId = params.get("RequestId")
2366
-
2367
-
2368
- class DownloadRecordListRequest(AbstractModel):
2369
- """DownloadRecordList请求参数结构体
2370
-
2371
- """
2372
-
2373
- def __init__(self):
2374
- r"""
2375
- :param _Module: 模块名,本接口取值:Record
2376
- :type Module: str
2377
- :param _Operation: 操作名,本接口取值:DownloadList
2378
- :type Operation: str
2379
- :param _BizDate: 录音日期,格式为YYYY-MM-DD
2380
- :type BizDate: str
2381
- :param _InstId: 实例ID
2382
- :type InstId: str
2383
- """
2384
- self._Module = None
2385
- self._Operation = None
2386
- self._BizDate = None
2387
- self._InstId = None
2388
-
2389
- @property
2390
- def Module(self):
2391
- return self._Module
2392
-
2393
- @Module.setter
2394
- def Module(self, Module):
2395
- self._Module = Module
2396
-
2397
- @property
2398
- def Operation(self):
2399
- return self._Operation
2400
-
2401
- @Operation.setter
2402
- def Operation(self, Operation):
2403
- self._Operation = Operation
2404
-
2405
- @property
2406
- def BizDate(self):
2407
- return self._BizDate
2408
-
2409
- @BizDate.setter
2410
- def BizDate(self, BizDate):
2411
- self._BizDate = BizDate
2412
-
2413
- @property
2414
- def InstId(self):
2415
- return self._InstId
2416
-
2417
- @InstId.setter
2418
- def InstId(self, InstId):
2419
- self._InstId = InstId
2420
-
2421
-
2422
- def _deserialize(self, params):
2423
- self._Module = params.get("Module")
2424
- self._Operation = params.get("Operation")
2425
- self._BizDate = params.get("BizDate")
2426
- self._InstId = params.get("InstId")
2427
- memeber_set = set(params.keys())
2428
- for name, value in vars(self).items():
2429
- property_name = name[1:]
2430
- if property_name in memeber_set:
2431
- memeber_set.remove(property_name)
2432
- if len(memeber_set) > 0:
2433
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2434
-
2435
-
2436
-
2437
- class DownloadRecordListResponse(AbstractModel):
2438
- """DownloadRecordList返回参数结构体
2439
-
2440
- """
2441
-
2442
- def __init__(self):
2443
- r"""
2444
- :param _RecordListUrl: 录音列表下载地址
2445
- :type RecordListUrl: str
2446
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2447
- :type RequestId: str
2448
- """
2449
- self._RecordListUrl = None
2450
- self._RequestId = None
2451
-
2452
- @property
2453
- def RecordListUrl(self):
2454
- return self._RecordListUrl
2455
-
2456
- @RecordListUrl.setter
2457
- def RecordListUrl(self, RecordListUrl):
2458
- self._RecordListUrl = RecordListUrl
2459
-
2460
- @property
2461
- def RequestId(self):
2462
- return self._RequestId
2463
-
2464
- @RequestId.setter
2465
- def RequestId(self, RequestId):
2466
- self._RequestId = RequestId
2467
-
2468
-
2469
- def _deserialize(self, params):
2470
- self._RecordListUrl = params.get("RecordListUrl")
2471
- self._RequestId = params.get("RequestId")
2472
-
2473
-
2474
- class DownloadReportRequest(AbstractModel):
2475
- """DownloadReport请求参数结构体
2476
-
2477
- """
2478
-
2479
- def __init__(self):
2480
- r"""
2481
- :param _Module: 模块名,本接口取值:Report
2482
- :type Module: str
2483
- :param _Operation: 操作名,本接口取值:DownloadReport
2484
- :type Operation: str
2485
- :param _ReportDate: 报告日期,格式为YYYY-MM-DD
2486
- :type ReportDate: str
2487
- :param _InstId: 实例ID,不传默认为系统分配的初始实例。
2488
- :type InstId: str
2489
- """
2490
- self._Module = None
2491
- self._Operation = None
2492
- self._ReportDate = None
2493
- self._InstId = None
2494
-
2495
- @property
2496
- def Module(self):
2497
- return self._Module
2498
-
2499
- @Module.setter
2500
- def Module(self, Module):
2501
- self._Module = Module
2502
-
2503
- @property
2504
- def Operation(self):
2505
- return self._Operation
2506
-
2507
- @Operation.setter
2508
- def Operation(self, Operation):
2509
- self._Operation = Operation
2510
-
2511
- @property
2512
- def ReportDate(self):
2513
- return self._ReportDate
2514
-
2515
- @ReportDate.setter
2516
- def ReportDate(self, ReportDate):
2517
- self._ReportDate = ReportDate
2518
-
2519
- @property
2520
- def InstId(self):
2521
- return self._InstId
2522
-
2523
- @InstId.setter
2524
- def InstId(self, InstId):
2525
- self._InstId = InstId
2526
-
2527
-
2528
- def _deserialize(self, params):
2529
- self._Module = params.get("Module")
2530
- self._Operation = params.get("Operation")
2531
- self._ReportDate = params.get("ReportDate")
2532
- self._InstId = params.get("InstId")
2533
- memeber_set = set(params.keys())
2534
- for name, value in vars(self).items():
2535
- property_name = name[1:]
2536
- if property_name in memeber_set:
2537
- memeber_set.remove(property_name)
2538
- if len(memeber_set) > 0:
2539
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2540
-
2541
-
2542
-
2543
- class DownloadReportResponse(AbstractModel):
2544
- """DownloadReport返回参数结构体
2545
-
2546
- """
2547
-
2548
- def __init__(self):
2549
- r"""
2550
- :param _DailyReportUrl: 到期/逾期提醒日报下载地址
2551
- 注意:此字段可能返回 null,表示取不到有效值。
2552
- :type DailyReportUrl: str
2553
- :param _ResultReportUrl: 到期/逾期提醒结果下载地址
2554
- 注意:此字段可能返回 null,表示取不到有效值。
2555
- :type ResultReportUrl: str
2556
- :param _DetailReportUrl: 到期/逾期提醒明细下载地址
2557
- 注意:此字段可能返回 null,表示取不到有效值。
2558
- :type DetailReportUrl: str
2559
- :param _CallbackDailyReportUrl: 回访日报下载地址
2560
- 注意:此字段可能返回 null,表示取不到有效值。
2561
- :type CallbackDailyReportUrl: str
2562
- :param _CallbackResultReportUrl: 回访结果下载地址
2563
- 注意:此字段可能返回 null,表示取不到有效值。
2564
- :type CallbackResultReportUrl: str
2565
- :param _CallbackDetailReportUrl: 回访明细下载地址
2566
- 注意:此字段可能返回 null,表示取不到有效值。
2567
- :type CallbackDetailReportUrl: str
2568
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2569
- :type RequestId: str
2570
- """
2571
- self._DailyReportUrl = None
2572
- self._ResultReportUrl = None
2573
- self._DetailReportUrl = None
2574
- self._CallbackDailyReportUrl = None
2575
- self._CallbackResultReportUrl = None
2576
- self._CallbackDetailReportUrl = None
2577
- self._RequestId = None
2578
-
2579
- @property
2580
- def DailyReportUrl(self):
2581
- return self._DailyReportUrl
2582
-
2583
- @DailyReportUrl.setter
2584
- def DailyReportUrl(self, DailyReportUrl):
2585
- self._DailyReportUrl = DailyReportUrl
2586
-
2587
- @property
2588
- def ResultReportUrl(self):
2589
- return self._ResultReportUrl
2590
-
2591
- @ResultReportUrl.setter
2592
- def ResultReportUrl(self, ResultReportUrl):
2593
- self._ResultReportUrl = ResultReportUrl
2594
-
2595
- @property
2596
- def DetailReportUrl(self):
2597
- return self._DetailReportUrl
2598
-
2599
- @DetailReportUrl.setter
2600
- def DetailReportUrl(self, DetailReportUrl):
2601
- self._DetailReportUrl = DetailReportUrl
2602
-
2603
- @property
2604
- def CallbackDailyReportUrl(self):
2605
- return self._CallbackDailyReportUrl
2606
-
2607
- @CallbackDailyReportUrl.setter
2608
- def CallbackDailyReportUrl(self, CallbackDailyReportUrl):
2609
- self._CallbackDailyReportUrl = CallbackDailyReportUrl
2610
-
2611
- @property
2612
- def CallbackResultReportUrl(self):
2613
- return self._CallbackResultReportUrl
2614
-
2615
- @CallbackResultReportUrl.setter
2616
- def CallbackResultReportUrl(self, CallbackResultReportUrl):
2617
- self._CallbackResultReportUrl = CallbackResultReportUrl
2618
-
2619
- @property
2620
- def CallbackDetailReportUrl(self):
2621
- return self._CallbackDetailReportUrl
2622
-
2623
- @CallbackDetailReportUrl.setter
2624
- def CallbackDetailReportUrl(self, CallbackDetailReportUrl):
2625
- self._CallbackDetailReportUrl = CallbackDetailReportUrl
2626
-
2627
- @property
2628
- def RequestId(self):
2629
- return self._RequestId
2630
-
2631
- @RequestId.setter
2632
- def RequestId(self, RequestId):
2633
- self._RequestId = RequestId
2634
-
2635
-
2636
- def _deserialize(self, params):
2637
- self._DailyReportUrl = params.get("DailyReportUrl")
2638
- self._ResultReportUrl = params.get("ResultReportUrl")
2639
- self._DetailReportUrl = params.get("DetailReportUrl")
2640
- self._CallbackDailyReportUrl = params.get("CallbackDailyReportUrl")
2641
- self._CallbackResultReportUrl = params.get("CallbackResultReportUrl")
2642
- self._CallbackDetailReportUrl = params.get("CallbackDetailReportUrl")
2643
- self._RequestId = params.get("RequestId")
2644
-
2645
-
2646
- class ExportBotDataRequest(AbstractModel):
2647
- """ExportBotData请求参数结构体
2648
-
2649
- """
2650
-
2651
- def __init__(self):
2652
- r"""
2653
- :param _Module: 模块名。默认值(固定):AiApi
2654
- :type Module: str
2655
- :param _Operation: 操作名。默认值(固定):ExportBotData
2656
- :type Operation: str
2657
- :param _BizDate: 业务日期。YYYY-MM-DD
2658
- :type BizDate: str
2659
- :param _BotId: 任务ID,二者必填一个
2660
- :type BotId: str
2661
- :param _BotName: 任务名称,二者必填一个
2662
- :type BotName: str
2663
- """
2664
- self._Module = None
2665
- self._Operation = None
2666
- self._BizDate = None
2667
- self._BotId = None
2668
- self._BotName = None
2669
-
2670
- @property
2671
- def Module(self):
2672
- return self._Module
2673
-
2674
- @Module.setter
2675
- def Module(self, Module):
2676
- self._Module = Module
2677
-
2678
- @property
2679
- def Operation(self):
2680
- return self._Operation
2681
-
2682
- @Operation.setter
2683
- def Operation(self, Operation):
2684
- self._Operation = Operation
2685
-
2686
- @property
2687
- def BizDate(self):
2688
- return self._BizDate
2689
-
2690
- @BizDate.setter
2691
- def BizDate(self, BizDate):
2692
- self._BizDate = BizDate
2693
-
2694
- @property
2695
- def BotId(self):
2696
- return self._BotId
2697
-
2698
- @BotId.setter
2699
- def BotId(self, BotId):
2700
- self._BotId = BotId
2701
-
2702
- @property
2703
- def BotName(self):
2704
- return self._BotName
2705
-
2706
- @BotName.setter
2707
- def BotName(self, BotName):
2708
- self._BotName = BotName
2709
-
2710
-
2711
- def _deserialize(self, params):
2712
- self._Module = params.get("Module")
2713
- self._Operation = params.get("Operation")
2714
- self._BizDate = params.get("BizDate")
2715
- self._BotId = params.get("BotId")
2716
- self._BotName = params.get("BotName")
2717
- memeber_set = set(params.keys())
2718
- for name, value in vars(self).items():
2719
- property_name = name[1:]
2720
- if property_name in memeber_set:
2721
- memeber_set.remove(property_name)
2722
- if len(memeber_set) > 0:
2723
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2724
-
2725
-
2726
-
2727
- class ExportBotDataResponse(AbstractModel):
2728
- """ExportBotData返回参数结构体
2729
-
2730
- """
2731
-
2732
- def __init__(self):
2733
- r"""
2734
- :param _Data: 导出文件列表
2735
- :type Data: list of BotFileData
2736
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2737
- :type RequestId: str
2738
- """
2739
- self._Data = None
2740
- self._RequestId = None
2741
-
2742
- @property
2743
- def Data(self):
2744
- return self._Data
2745
-
2746
- @Data.setter
2747
- def Data(self, Data):
2748
- self._Data = Data
2749
-
2750
- @property
2751
- def RequestId(self):
2752
- return self._RequestId
2753
-
2754
- @RequestId.setter
2755
- def RequestId(self, RequestId):
2756
- self._RequestId = RequestId
2757
-
2758
-
2759
- def _deserialize(self, params):
2760
- if params.get("Data") is not None:
2761
- self._Data = []
2762
- for item in params.get("Data"):
2763
- obj = BotFileData()
2764
- obj._deserialize(item)
2765
- self._Data.append(obj)
2766
- self._RequestId = params.get("RequestId")
2767
-
2768
-
2769
- class PhonePool(AbstractModel):
2770
- """号码组信息
2771
-
2772
- """
2773
-
2774
- def __init__(self):
2775
- r"""
2776
- :param _PoolId: 号码组ID
2777
- :type PoolId: str
2778
- :param _PoolName: 号码组名称
2779
- :type PoolName: str
2780
- """
2781
- self._PoolId = None
2782
- self._PoolName = None
2783
-
2784
- @property
2785
- def PoolId(self):
2786
- return self._PoolId
2787
-
2788
- @PoolId.setter
2789
- def PoolId(self, PoolId):
2790
- self._PoolId = PoolId
2791
-
2792
- @property
2793
- def PoolName(self):
2794
- return self._PoolName
2795
-
2796
- @PoolName.setter
2797
- def PoolName(self, PoolName):
2798
- self._PoolName = PoolName
2799
-
2800
-
2801
- def _deserialize(self, params):
2802
- self._PoolId = params.get("PoolId")
2803
- self._PoolName = params.get("PoolName")
2804
- memeber_set = set(params.keys())
2805
- for name, value in vars(self).items():
2806
- property_name = name[1:]
2807
- if property_name in memeber_set:
2808
- memeber_set.remove(property_name)
2809
- if len(memeber_set) > 0:
2810
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2811
-
2812
-
2813
-
2814
- class ProductQueryInfo(AbstractModel):
2815
- """QueryProducts接口对应数据结构。产品对应的相关信息。
2816
-
2817
- """
2818
-
2819
- def __init__(self):
2820
- r"""
2821
- :param _ProductId: 产品Id
2822
- :type ProductId: str
2823
- :param _ProductName: 产品名称
2824
- :type ProductName: str
2825
- :param _ProductCode: 产品编码
2826
- 注意:此字段可能返回 null,表示取不到有效值。
2827
- :type ProductCode: str
2828
- :param _ProductStatus: 产品状态 0 禁用 1 启用
2829
- 注意:此字段可能返回 null,表示取不到有效值。
2830
- :type ProductStatus: int
2831
- :param _SceneType: 场景类型
2832
- 注意:此字段可能返回 null,表示取不到有效值。
2833
- :type SceneType: str
2834
- """
2835
- self._ProductId = None
2836
- self._ProductName = None
2837
- self._ProductCode = None
2838
- self._ProductStatus = None
2839
- self._SceneType = None
2840
-
2841
- @property
2842
- def ProductId(self):
2843
- return self._ProductId
2844
-
2845
- @ProductId.setter
2846
- def ProductId(self, ProductId):
2847
- self._ProductId = ProductId
2848
-
2849
- @property
2850
- def ProductName(self):
2851
- return self._ProductName
2852
-
2853
- @ProductName.setter
2854
- def ProductName(self, ProductName):
2855
- self._ProductName = ProductName
2856
-
2857
- @property
2858
- def ProductCode(self):
2859
- return self._ProductCode
2860
-
2861
- @ProductCode.setter
2862
- def ProductCode(self, ProductCode):
2863
- self._ProductCode = ProductCode
2864
-
2865
- @property
2866
- def ProductStatus(self):
2867
- return self._ProductStatus
2868
-
2869
- @ProductStatus.setter
2870
- def ProductStatus(self, ProductStatus):
2871
- self._ProductStatus = ProductStatus
2872
-
2873
- @property
2874
- def SceneType(self):
2875
- return self._SceneType
2876
-
2877
- @SceneType.setter
2878
- def SceneType(self, SceneType):
2879
- self._SceneType = SceneType
2880
-
2881
-
2882
- def _deserialize(self, params):
2883
- self._ProductId = params.get("ProductId")
2884
- self._ProductName = params.get("ProductName")
2885
- self._ProductCode = params.get("ProductCode")
2886
- self._ProductStatus = params.get("ProductStatus")
2887
- self._SceneType = params.get("SceneType")
2888
- memeber_set = set(params.keys())
2889
- for name, value in vars(self).items():
2890
- property_name = name[1:]
2891
- if property_name in memeber_set:
2892
- memeber_set.remove(property_name)
2893
- if len(memeber_set) > 0:
2894
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2895
-
2896
-
2897
-
2898
- class QueryBlackListDataRequest(AbstractModel):
2899
- """QueryBlackListData请求参数结构体
2900
-
2901
- """
2902
-
2903
- def __init__(self):
2904
- r"""
2905
- :param _Module: 模块:AiApi
2906
- :type Module: str
2907
- :param _Operation: 操作:QueryBlackListData
2908
- :type Operation: str
2909
- :param _Offset: 页码
2910
- :type Offset: int
2911
- :param _Limit: 每页数量
2912
- :type Limit: int
2913
- :param _StartBizDate: 开始日期
2914
- :type StartBizDate: str
2915
- :param _EndBizDate: 结束日期
2916
- :type EndBizDate: str
2917
- :param _BlackValue: 电话号码、手机
2918
- :type BlackValue: str
2919
- """
2920
- self._Module = None
2921
- self._Operation = None
2922
- self._Offset = None
2923
- self._Limit = None
2924
- self._StartBizDate = None
2925
- self._EndBizDate = None
2926
- self._BlackValue = None
2927
-
2928
- @property
2929
- def Module(self):
2930
- return self._Module
2931
-
2932
- @Module.setter
2933
- def Module(self, Module):
2934
- self._Module = Module
2935
-
2936
- @property
2937
- def Operation(self):
2938
- return self._Operation
2939
-
2940
- @Operation.setter
2941
- def Operation(self, Operation):
2942
- self._Operation = Operation
2943
-
2944
- @property
2945
- def Offset(self):
2946
- return self._Offset
2947
-
2948
- @Offset.setter
2949
- def Offset(self, Offset):
2950
- self._Offset = Offset
2951
-
2952
- @property
2953
- def Limit(self):
2954
- return self._Limit
2955
-
2956
- @Limit.setter
2957
- def Limit(self, Limit):
2958
- self._Limit = Limit
2959
-
2960
- @property
2961
- def StartBizDate(self):
2962
- return self._StartBizDate
2963
-
2964
- @StartBizDate.setter
2965
- def StartBizDate(self, StartBizDate):
2966
- self._StartBizDate = StartBizDate
2967
-
2968
- @property
2969
- def EndBizDate(self):
2970
- return self._EndBizDate
2971
-
2972
- @EndBizDate.setter
2973
- def EndBizDate(self, EndBizDate):
2974
- self._EndBizDate = EndBizDate
2975
-
2976
- @property
2977
- def BlackValue(self):
2978
- return self._BlackValue
2979
-
2980
- @BlackValue.setter
2981
- def BlackValue(self, BlackValue):
2982
- self._BlackValue = BlackValue
2983
-
2984
-
2985
- def _deserialize(self, params):
2986
- self._Module = params.get("Module")
2987
- self._Operation = params.get("Operation")
2988
- self._Offset = params.get("Offset")
2989
- self._Limit = params.get("Limit")
2990
- self._StartBizDate = params.get("StartBizDate")
2991
- self._EndBizDate = params.get("EndBizDate")
2992
- self._BlackValue = params.get("BlackValue")
2993
- memeber_set = set(params.keys())
2994
- for name, value in vars(self).items():
2995
- property_name = name[1:]
2996
- if property_name in memeber_set:
2997
- memeber_set.remove(property_name)
2998
- if len(memeber_set) > 0:
2999
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3000
-
3001
-
3002
-
3003
- class QueryBlackListDataResponse(AbstractModel):
3004
- """QueryBlackListData返回参数结构体
3005
-
3006
- """
3007
-
3008
- def __init__(self):
3009
- r"""
3010
- :param _TotalCount: 总数。
3011
- :type TotalCount: int
3012
- :param _Data: 黑名单列表
3013
- 注意:此字段可能返回 null,表示取不到有效值。
3014
- :type Data: list of BlackListData
3015
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3016
- :type RequestId: str
3017
- """
3018
- self._TotalCount = None
3019
- self._Data = None
3020
- self._RequestId = None
3021
-
3022
- @property
3023
- def TotalCount(self):
3024
- return self._TotalCount
3025
-
3026
- @TotalCount.setter
3027
- def TotalCount(self, TotalCount):
3028
- self._TotalCount = TotalCount
3029
-
3030
- @property
3031
- def Data(self):
3032
- return self._Data
3033
-
3034
- @Data.setter
3035
- def Data(self, Data):
3036
- self._Data = Data
3037
-
3038
- @property
3039
- def RequestId(self):
3040
- return self._RequestId
3041
-
3042
- @RequestId.setter
3043
- def RequestId(self, RequestId):
3044
- self._RequestId = RequestId
3045
-
3046
-
3047
- def _deserialize(self, params):
3048
- self._TotalCount = params.get("TotalCount")
3049
- if params.get("Data") is not None:
3050
- self._Data = []
3051
- for item in params.get("Data"):
3052
- obj = BlackListData()
3053
- obj._deserialize(item)
3054
- self._Data.append(obj)
3055
- self._RequestId = params.get("RequestId")
3056
-
3057
-
3058
- class QueryBotListRequest(AbstractModel):
3059
- """QueryBotList请求参数结构体
3060
-
3061
- """
3062
-
3063
- def __init__(self):
3064
- r"""
3065
- :param _Module: 模块名:AiApi
3066
- :type Module: str
3067
- :param _Operation: 操作名:QueryBotList
3068
- :type Operation: str
3069
- """
3070
- self._Module = None
3071
- self._Operation = None
3072
-
3073
- @property
3074
- def Module(self):
3075
- return self._Module
3076
-
3077
- @Module.setter
3078
- def Module(self, Module):
3079
- self._Module = Module
3080
-
3081
- @property
3082
- def Operation(self):
3083
- return self._Operation
3084
-
3085
- @Operation.setter
3086
- def Operation(self, Operation):
3087
- self._Operation = Operation
3088
-
3089
-
3090
- def _deserialize(self, params):
3091
- self._Module = params.get("Module")
3092
- self._Operation = params.get("Operation")
3093
- memeber_set = set(params.keys())
3094
- for name, value in vars(self).items():
3095
- property_name = name[1:]
3096
- if property_name in memeber_set:
3097
- memeber_set.remove(property_name)
3098
- if len(memeber_set) > 0:
3099
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3100
-
3101
-
3102
-
3103
- class QueryBotListResponse(AbstractModel):
3104
- """QueryBotList返回参数结构体
3105
-
3106
- """
3107
-
3108
- def __init__(self):
3109
- r"""
3110
- :param _BotList: 任务列表。
3111
- :type BotList: list of BotInfo
3112
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3113
- :type RequestId: str
3114
- """
3115
- self._BotList = None
3116
- self._RequestId = None
3117
-
3118
- @property
3119
- def BotList(self):
3120
- return self._BotList
3121
-
3122
- @BotList.setter
3123
- def BotList(self, BotList):
3124
- self._BotList = BotList
3125
-
3126
- @property
3127
- def RequestId(self):
3128
- return self._RequestId
3129
-
3130
- @RequestId.setter
3131
- def RequestId(self, RequestId):
3132
- self._RequestId = RequestId
3133
-
3134
-
3135
- def _deserialize(self, params):
3136
- if params.get("BotList") is not None:
3137
- self._BotList = []
3138
- for item in params.get("BotList"):
3139
- obj = BotInfo()
3140
- obj._deserialize(item)
3141
- self._BotList.append(obj)
3142
- self._RequestId = params.get("RequestId")
3143
-
3144
-
3145
- class QueryCallListRequest(AbstractModel):
3146
- """QueryCallList请求参数结构体
3147
-
3148
- """
3149
-
3150
- def __init__(self):
3151
- r"""
3152
- :param _Module: 模块名。默认值(固定):AiApi
3153
- :type Module: str
3154
- :param _Operation: 操作名。默认值(固定):QueryCallList
3155
- :type Operation: str
3156
- :param _BizDate: 业务日期
3157
- :type BizDate: str
3158
- :param _BotId: 任务ID,二者必填一个
3159
- :type BotId: str
3160
- :param _BotName: 任务名称,二者必填一个
3161
- :type BotName: str
3162
- :param _FileName: 通过API或平台上传的文件完整名称
3163
- :type FileName: str
3164
- """
3165
- self._Module = None
3166
- self._Operation = None
3167
- self._BizDate = None
3168
- self._BotId = None
3169
- self._BotName = None
3170
- self._FileName = None
3171
-
3172
- @property
3173
- def Module(self):
3174
- return self._Module
3175
-
3176
- @Module.setter
3177
- def Module(self, Module):
3178
- self._Module = Module
3179
-
3180
- @property
3181
- def Operation(self):
3182
- return self._Operation
3183
-
3184
- @Operation.setter
3185
- def Operation(self, Operation):
3186
- self._Operation = Operation
3187
-
3188
- @property
3189
- def BizDate(self):
3190
- return self._BizDate
3191
-
3192
- @BizDate.setter
3193
- def BizDate(self, BizDate):
3194
- self._BizDate = BizDate
3195
-
3196
- @property
3197
- def BotId(self):
3198
- return self._BotId
3199
-
3200
- @BotId.setter
3201
- def BotId(self, BotId):
3202
- self._BotId = BotId
3203
-
3204
- @property
3205
- def BotName(self):
3206
- return self._BotName
3207
-
3208
- @BotName.setter
3209
- def BotName(self, BotName):
3210
- self._BotName = BotName
3211
-
3212
- @property
3213
- def FileName(self):
3214
- return self._FileName
3215
-
3216
- @FileName.setter
3217
- def FileName(self, FileName):
3218
- self._FileName = FileName
3219
-
3220
-
3221
- def _deserialize(self, params):
3222
- self._Module = params.get("Module")
3223
- self._Operation = params.get("Operation")
3224
- self._BizDate = params.get("BizDate")
3225
- self._BotId = params.get("BotId")
3226
- self._BotName = params.get("BotName")
3227
- self._FileName = params.get("FileName")
3228
- memeber_set = set(params.keys())
3229
- for name, value in vars(self).items():
3230
- property_name = name[1:]
3231
- if property_name in memeber_set:
3232
- memeber_set.remove(property_name)
3233
- if len(memeber_set) > 0:
3234
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3235
-
3236
-
3237
-
3238
- class QueryCallListResponse(AbstractModel):
3239
- """QueryCallList返回参数结构体
3240
-
3241
- """
3242
-
3243
- def __init__(self):
3244
- r"""
3245
- :param _CallList: 任务作业状态
3246
- 注意:此字段可能返回 null,表示取不到有效值。
3247
- :type CallList: list of CallInfo
3248
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3249
- :type RequestId: str
3250
- """
3251
- self._CallList = None
3252
- self._RequestId = None
3253
-
3254
- @property
3255
- def CallList(self):
3256
- return self._CallList
3257
-
3258
- @CallList.setter
3259
- def CallList(self, CallList):
3260
- self._CallList = CallList
3261
-
3262
- @property
3263
- def RequestId(self):
3264
- return self._RequestId
3265
-
3266
- @RequestId.setter
3267
- def RequestId(self, RequestId):
3268
- self._RequestId = RequestId
3269
-
3270
-
3271
- def _deserialize(self, params):
3272
- if params.get("CallList") is not None:
3273
- self._CallList = []
3274
- for item in params.get("CallList"):
3275
- obj = CallInfo()
3276
- obj._deserialize(item)
3277
- self._CallList.append(obj)
3278
- self._RequestId = params.get("RequestId")
3279
-
3280
-
3281
- class QueryInstantDataRequest(AbstractModel):
3282
- """QueryInstantData请求参数结构体
3283
-
3284
- """
3285
-
3286
- def __init__(self):
3287
- r"""
3288
- :param _Module: 模块名,本接口取值:Data
3289
- :type Module: str
3290
- :param _Operation: 操作名,本接口取值:Query
3291
- :type Operation: str
3292
- :param _ProductId: 产品ID
3293
- :type ProductId: str
3294
- :param _InstanceId: 实例ID,不传默认为系统分配的初始实例
3295
- :type InstanceId: str
3296
- :param _QueryModel: 查询类型:callRecord 通话记录
3297
- :type QueryModel: str
3298
- :param _Data: 查询参数
3299
- :type Data: str
3300
- """
3301
- self._Module = None
3302
- self._Operation = None
3303
- self._ProductId = None
3304
- self._InstanceId = None
3305
- self._QueryModel = None
3306
- self._Data = None
3307
-
3308
- @property
3309
- def Module(self):
3310
- return self._Module
3311
-
3312
- @Module.setter
3313
- def Module(self, Module):
3314
- self._Module = Module
3315
-
3316
- @property
3317
- def Operation(self):
3318
- return self._Operation
3319
-
3320
- @Operation.setter
3321
- def Operation(self, Operation):
3322
- self._Operation = Operation
3323
-
3324
- @property
3325
- def ProductId(self):
3326
- return self._ProductId
3327
-
3328
- @ProductId.setter
3329
- def ProductId(self, ProductId):
3330
- self._ProductId = ProductId
3331
-
3332
- @property
3333
- def InstanceId(self):
3334
- return self._InstanceId
3335
-
3336
- @InstanceId.setter
3337
- def InstanceId(self, InstanceId):
3338
- self._InstanceId = InstanceId
3339
-
3340
- @property
3341
- def QueryModel(self):
3342
- return self._QueryModel
3343
-
3344
- @QueryModel.setter
3345
- def QueryModel(self, QueryModel):
3346
- self._QueryModel = QueryModel
3347
-
3348
- @property
3349
- def Data(self):
3350
- return self._Data
3351
-
3352
- @Data.setter
3353
- def Data(self, Data):
3354
- self._Data = Data
3355
-
3356
-
3357
- def _deserialize(self, params):
3358
- self._Module = params.get("Module")
3359
- self._Operation = params.get("Operation")
3360
- self._ProductId = params.get("ProductId")
3361
- self._InstanceId = params.get("InstanceId")
3362
- self._QueryModel = params.get("QueryModel")
3363
- self._Data = params.get("Data")
3364
- memeber_set = set(params.keys())
3365
- for name, value in vars(self).items():
3366
- property_name = name[1:]
3367
- if property_name in memeber_set:
3368
- memeber_set.remove(property_name)
3369
- if len(memeber_set) > 0:
3370
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3371
-
3372
-
3373
-
3374
- class QueryInstantDataResponse(AbstractModel):
3375
- """QueryInstantData返回参数结构体
3376
-
3377
- """
3378
-
3379
- def __init__(self):
3380
- r"""
3381
- :param _TotalCount: 总数
3382
- 注意:此字段可能返回 null,表示取不到有效值。
3383
- :type TotalCount: int
3384
- :param _Data: 返回内容
3385
- 注意:此字段可能返回 null,表示取不到有效值。
3386
- :type Data: str
3387
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3388
- :type RequestId: str
3389
- """
3390
- self._TotalCount = None
3391
- self._Data = None
3392
- self._RequestId = None
3393
-
3394
- @property
3395
- def TotalCount(self):
3396
- return self._TotalCount
3397
-
3398
- @TotalCount.setter
3399
- def TotalCount(self, TotalCount):
3400
- self._TotalCount = TotalCount
3401
-
3402
- @property
3403
- def Data(self):
3404
- return self._Data
3405
-
3406
- @Data.setter
3407
- def Data(self, Data):
3408
- self._Data = Data
3409
-
3410
- @property
3411
- def RequestId(self):
3412
- return self._RequestId
3413
-
3414
- @RequestId.setter
3415
- def RequestId(self, RequestId):
3416
- self._RequestId = RequestId
3417
-
3418
-
3419
- def _deserialize(self, params):
3420
- self._TotalCount = params.get("TotalCount")
3421
- self._Data = params.get("Data")
3422
- self._RequestId = params.get("RequestId")
3423
-
3424
-
3425
- class QueryProductsRequest(AbstractModel):
3426
- """QueryProducts请求参数结构体
3427
-
3428
- """
3429
-
3430
- def __init__(self):
3431
- r"""
3432
- :param _Module: 模块名。默认值(固定):Product
3433
- :type Module: str
3434
- :param _Operation: 操作名。默认值(固定):QueryProducts
3435
- :type Operation: str
3436
- :param _InstanceId: 实例Id。
3437
- :type InstanceId: str
3438
- """
3439
- self._Module = None
3440
- self._Operation = None
3441
- self._InstanceId = None
3442
-
3443
- @property
3444
- def Module(self):
3445
- return self._Module
3446
-
3447
- @Module.setter
3448
- def Module(self, Module):
3449
- self._Module = Module
3450
-
3451
- @property
3452
- def Operation(self):
3453
- return self._Operation
3454
-
3455
- @Operation.setter
3456
- def Operation(self, Operation):
3457
- self._Operation = Operation
3458
-
3459
- @property
3460
- def InstanceId(self):
3461
- return self._InstanceId
3462
-
3463
- @InstanceId.setter
3464
- def InstanceId(self, InstanceId):
3465
- self._InstanceId = InstanceId
3466
-
3467
-
3468
- def _deserialize(self, params):
3469
- self._Module = params.get("Module")
3470
- self._Operation = params.get("Operation")
3471
- self._InstanceId = params.get("InstanceId")
3472
- memeber_set = set(params.keys())
3473
- for name, value in vars(self).items():
3474
- property_name = name[1:]
3475
- if property_name in memeber_set:
3476
- memeber_set.remove(property_name)
3477
- if len(memeber_set) > 0:
3478
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3479
-
3480
-
3481
-
3482
- class QueryProductsResponse(AbstractModel):
3483
- """QueryProducts返回参数结构体
3484
-
3485
- """
3486
-
3487
- def __init__(self):
3488
- r"""
3489
- :param _ProductList: 产品信息。
3490
- :type ProductList: list of ProductQueryInfo
3491
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3492
- :type RequestId: str
3493
- """
3494
- self._ProductList = None
3495
- self._RequestId = None
3496
-
3497
- @property
3498
- def ProductList(self):
3499
- return self._ProductList
3500
-
3501
- @ProductList.setter
3502
- def ProductList(self, ProductList):
3503
- self._ProductList = ProductList
3504
-
3505
- @property
3506
- def RequestId(self):
3507
- return self._RequestId
3508
-
3509
- @RequestId.setter
3510
- def RequestId(self, RequestId):
3511
- self._RequestId = RequestId
3512
-
3513
-
3514
- def _deserialize(self, params):
3515
- if params.get("ProductList") is not None:
3516
- self._ProductList = []
3517
- for item in params.get("ProductList"):
3518
- obj = ProductQueryInfo()
3519
- obj._deserialize(item)
3520
- self._ProductList.append(obj)
3521
- self._RequestId = params.get("RequestId")
3522
-
3523
-
3524
- class QueryRecordListRequest(AbstractModel):
3525
- """QueryRecordList请求参数结构体
3526
-
3527
- """
3528
-
3529
- def __init__(self):
3530
- r"""
3531
- :param _Module: 模块名。AiApi
3532
- :type Module: str
3533
- :param _Operation: 操作名。QueryRecordList
3534
- :type Operation: str
3535
- :param _Offset: 偏移值
3536
- :type Offset: int
3537
- :param _Limit: 偏移位移,最大20
3538
- :type Limit: int
3539
- :param _BotId: 任务ID,二者必填一个
3540
- :type BotId: str
3541
- :param _BotName: 任务名称,二者必填一个
3542
- :type BotName: str
3543
- :param _CalledPhone: 被叫号码
3544
- :type CalledPhone: str
3545
- :param _StartBizDate: 开始日期
3546
- :type StartBizDate: str
3547
- :param _EndBizDate: 结束日期
3548
- :type EndBizDate: str
3549
- """
3550
- self._Module = None
3551
- self._Operation = None
3552
- self._Offset = None
3553
- self._Limit = None
3554
- self._BotId = None
3555
- self._BotName = None
3556
- self._CalledPhone = None
3557
- self._StartBizDate = None
3558
- self._EndBizDate = None
3559
-
3560
- @property
3561
- def Module(self):
3562
- return self._Module
3563
-
3564
- @Module.setter
3565
- def Module(self, Module):
3566
- self._Module = Module
3567
-
3568
- @property
3569
- def Operation(self):
3570
- return self._Operation
3571
-
3572
- @Operation.setter
3573
- def Operation(self, Operation):
3574
- self._Operation = Operation
3575
-
3576
- @property
3577
- def Offset(self):
3578
- return self._Offset
3579
-
3580
- @Offset.setter
3581
- def Offset(self, Offset):
3582
- self._Offset = Offset
3583
-
3584
- @property
3585
- def Limit(self):
3586
- return self._Limit
3587
-
3588
- @Limit.setter
3589
- def Limit(self, Limit):
3590
- self._Limit = Limit
3591
-
3592
- @property
3593
- def BotId(self):
3594
- return self._BotId
3595
-
3596
- @BotId.setter
3597
- def BotId(self, BotId):
3598
- self._BotId = BotId
3599
-
3600
- @property
3601
- def BotName(self):
3602
- return self._BotName
3603
-
3604
- @BotName.setter
3605
- def BotName(self, BotName):
3606
- self._BotName = BotName
3607
-
3608
- @property
3609
- def CalledPhone(self):
3610
- return self._CalledPhone
3611
-
3612
- @CalledPhone.setter
3613
- def CalledPhone(self, CalledPhone):
3614
- self._CalledPhone = CalledPhone
3615
-
3616
- @property
3617
- def StartBizDate(self):
3618
- return self._StartBizDate
3619
-
3620
- @StartBizDate.setter
3621
- def StartBizDate(self, StartBizDate):
3622
- self._StartBizDate = StartBizDate
3623
-
3624
- @property
3625
- def EndBizDate(self):
3626
- return self._EndBizDate
3627
-
3628
- @EndBizDate.setter
3629
- def EndBizDate(self, EndBizDate):
3630
- self._EndBizDate = EndBizDate
3631
-
3632
-
3633
- def _deserialize(self, params):
3634
- self._Module = params.get("Module")
3635
- self._Operation = params.get("Operation")
3636
- self._Offset = params.get("Offset")
3637
- self._Limit = params.get("Limit")
3638
- self._BotId = params.get("BotId")
3639
- self._BotName = params.get("BotName")
3640
- self._CalledPhone = params.get("CalledPhone")
3641
- self._StartBizDate = params.get("StartBizDate")
3642
- self._EndBizDate = params.get("EndBizDate")
3643
- memeber_set = set(params.keys())
3644
- for name, value in vars(self).items():
3645
- property_name = name[1:]
3646
- if property_name in memeber_set:
3647
- memeber_set.remove(property_name)
3648
- if len(memeber_set) > 0:
3649
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3650
-
3651
-
3652
-
3653
- class QueryRecordListResponse(AbstractModel):
3654
- """QueryRecordList返回参数结构体
3655
-
3656
- """
3657
-
3658
- def __init__(self):
3659
- r"""
3660
- :param _RecordList: 录音列表。
3661
- :type RecordList: list of RecordInfo
3662
- :param _TotalCount: 总数
3663
- :type TotalCount: int
3664
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3665
- :type RequestId: str
3666
- """
3667
- self._RecordList = None
3668
- self._TotalCount = None
3669
- self._RequestId = None
3670
-
3671
- @property
3672
- def RecordList(self):
3673
- return self._RecordList
3674
-
3675
- @RecordList.setter
3676
- def RecordList(self, RecordList):
3677
- self._RecordList = RecordList
3678
-
3679
- @property
3680
- def TotalCount(self):
3681
- return self._TotalCount
3682
-
3683
- @TotalCount.setter
3684
- def TotalCount(self, TotalCount):
3685
- self._TotalCount = TotalCount
3686
-
3687
- @property
3688
- def RequestId(self):
3689
- return self._RequestId
3690
-
3691
- @RequestId.setter
3692
- def RequestId(self, RequestId):
3693
- self._RequestId = RequestId
3694
-
3695
-
3696
- def _deserialize(self, params):
3697
- if params.get("RecordList") is not None:
3698
- self._RecordList = []
3699
- for item in params.get("RecordList"):
3700
- obj = RecordInfo()
3701
- obj._deserialize(item)
3702
- self._RecordList.append(obj)
3703
- self._TotalCount = params.get("TotalCount")
3704
- self._RequestId = params.get("RequestId")
3705
-
3706
-
3707
- class RecordInfo(AbstractModel):
3708
- """录音文件详情
3709
-
3710
- """
3711
-
3712
- def __init__(self):
3713
- r"""
3714
- :param _BotId: 任务Id
3715
- :type BotId: str
3716
- :param _BotName: 任务名称
3717
- :type BotName: str
3718
- :param _BizDate: 任务日期
3719
- :type BizDate: str
3720
- :param _CalledPhone: 被叫号码
3721
- :type CalledPhone: str
3722
- :param _CallStartTime: 开始通话时间
3723
- :type CallStartTime: str
3724
- :param _Duration: 通话时长
3725
- :type Duration: int
3726
- :param _CosUrl: 录音文件地址
3727
- :type CosUrl: str
3728
- :param _DialogueLog: 对话日志。JSON格式
3729
- :type DialogueLog: str
3730
- :param _CosFileName: 录音文件名
3731
- :type CosFileName: str
3732
- """
3733
- self._BotId = None
3734
- self._BotName = None
3735
- self._BizDate = None
3736
- self._CalledPhone = None
3737
- self._CallStartTime = None
3738
- self._Duration = None
3739
- self._CosUrl = None
3740
- self._DialogueLog = None
3741
- self._CosFileName = None
3742
-
3743
- @property
3744
- def BotId(self):
3745
- return self._BotId
3746
-
3747
- @BotId.setter
3748
- def BotId(self, BotId):
3749
- self._BotId = BotId
3750
-
3751
- @property
3752
- def BotName(self):
3753
- return self._BotName
3754
-
3755
- @BotName.setter
3756
- def BotName(self, BotName):
3757
- self._BotName = BotName
3758
-
3759
- @property
3760
- def BizDate(self):
3761
- return self._BizDate
3762
-
3763
- @BizDate.setter
3764
- def BizDate(self, BizDate):
3765
- self._BizDate = BizDate
3766
-
3767
- @property
3768
- def CalledPhone(self):
3769
- return self._CalledPhone
3770
-
3771
- @CalledPhone.setter
3772
- def CalledPhone(self, CalledPhone):
3773
- self._CalledPhone = CalledPhone
3774
-
3775
- @property
3776
- def CallStartTime(self):
3777
- return self._CallStartTime
3778
-
3779
- @CallStartTime.setter
3780
- def CallStartTime(self, CallStartTime):
3781
- self._CallStartTime = CallStartTime
3782
-
3783
- @property
3784
- def Duration(self):
3785
- return self._Duration
3786
-
3787
- @Duration.setter
3788
- def Duration(self, Duration):
3789
- self._Duration = Duration
3790
-
3791
- @property
3792
- def CosUrl(self):
3793
- return self._CosUrl
3794
-
3795
- @CosUrl.setter
3796
- def CosUrl(self, CosUrl):
3797
- self._CosUrl = CosUrl
3798
-
3799
- @property
3800
- def DialogueLog(self):
3801
- return self._DialogueLog
3802
-
3803
- @DialogueLog.setter
3804
- def DialogueLog(self, DialogueLog):
3805
- self._DialogueLog = DialogueLog
3806
-
3807
- @property
3808
- def CosFileName(self):
3809
- return self._CosFileName
3810
-
3811
- @CosFileName.setter
3812
- def CosFileName(self, CosFileName):
3813
- self._CosFileName = CosFileName
3814
-
3815
-
3816
- def _deserialize(self, params):
3817
- self._BotId = params.get("BotId")
3818
- self._BotName = params.get("BotName")
3819
- self._BizDate = params.get("BizDate")
3820
- self._CalledPhone = params.get("CalledPhone")
3821
- self._CallStartTime = params.get("CallStartTime")
3822
- self._Duration = params.get("Duration")
3823
- self._CosUrl = params.get("CosUrl")
3824
- self._DialogueLog = params.get("DialogueLog")
3825
- self._CosFileName = params.get("CosFileName")
3826
- memeber_set = set(params.keys())
3827
- for name, value in vars(self).items():
3828
- property_name = name[1:]
3829
- if property_name in memeber_set:
3830
- memeber_set.remove(property_name)
3831
- if len(memeber_set) > 0:
3832
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3833
-
3834
-
3835
-
3836
- class SingleBlackApply(AbstractModel):
3837
- """黑名单申请信息
3838
-
3839
- """
3840
-
3841
- def __init__(self):
3842
- r"""
3843
- :param _BlackType: 黑名单类型,01代表手机号码。
3844
- :type BlackType: str
3845
- :param _OperationType: 操作类型,A为新增,D为删除。
3846
- :type OperationType: str
3847
- :param _BlackValue: 黑名单值,BlackType为01时,填写11位手机号码。
3848
- :type BlackValue: str
3849
- :param _BlackDescription: 备注。
3850
- :type BlackDescription: str
3851
- :param _BlackValidDate: 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
3852
- :type BlackValidDate: str
3853
- """
3854
- self._BlackType = None
3855
- self._OperationType = None
3856
- self._BlackValue = None
3857
- self._BlackDescription = None
3858
- self._BlackValidDate = None
3859
-
3860
- @property
3861
- def BlackType(self):
3862
- return self._BlackType
3863
-
3864
- @BlackType.setter
3865
- def BlackType(self, BlackType):
3866
- self._BlackType = BlackType
3867
-
3868
- @property
3869
- def OperationType(self):
3870
- return self._OperationType
3871
-
3872
- @OperationType.setter
3873
- def OperationType(self, OperationType):
3874
- self._OperationType = OperationType
3875
-
3876
- @property
3877
- def BlackValue(self):
3878
- return self._BlackValue
3879
-
3880
- @BlackValue.setter
3881
- def BlackValue(self, BlackValue):
3882
- self._BlackValue = BlackValue
3883
-
3884
- @property
3885
- def BlackDescription(self):
3886
- return self._BlackDescription
3887
-
3888
- @BlackDescription.setter
3889
- def BlackDescription(self, BlackDescription):
3890
- self._BlackDescription = BlackDescription
3891
-
3892
- @property
3893
- def BlackValidDate(self):
3894
- return self._BlackValidDate
3895
-
3896
- @BlackValidDate.setter
3897
- def BlackValidDate(self, BlackValidDate):
3898
- self._BlackValidDate = BlackValidDate
3899
-
3900
-
3901
- def _deserialize(self, params):
3902
- self._BlackType = params.get("BlackType")
3903
- self._OperationType = params.get("OperationType")
3904
- self._BlackValue = params.get("BlackValue")
3905
- self._BlackDescription = params.get("BlackDescription")
3906
- self._BlackValidDate = params.get("BlackValidDate")
3907
- memeber_set = set(params.keys())
3908
- for name, value in vars(self).items():
3909
- property_name = name[1:]
3910
- if property_name in memeber_set:
3911
- memeber_set.remove(property_name)
3912
- if len(memeber_set) > 0:
3913
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3914
-
3915
-
3916
-
3917
- class SingleRecord(AbstractModel):
3918
- """录音信息
3919
-
3920
- """
3921
-
3922
- def __init__(self):
3923
- r"""
3924
- :param _AccountNum: 案件编号。
3925
- :type AccountNum: str
3926
- :param _BizDate: 外呼日期。
3927
- :type BizDate: str
3928
- :param _CallStartTime: 开始呼叫时间。
3929
- :type CallStartTime: str
3930
- :param _CallerPhone: 主叫号码。
3931
- :type CallerPhone: str
3932
- :param _Direction: 呼叫方向,O为呼出,I为呼入。
3933
- :type Direction: str
3934
- :param _Duration: 通话时长。
3935
- :type Duration: int
3936
- :param _ProductId: 产品ID。
3937
- 注意:此字段可能返回 null,表示取不到有效值。
3938
- :type ProductId: str
3939
- :param _RecordCosUrl: 录音下载链接。
3940
- 注意:此字段可能返回 null,表示取不到有效值。
3941
- :type RecordCosUrl: str
3942
- """
3943
- self._AccountNum = None
3944
- self._BizDate = None
3945
- self._CallStartTime = None
3946
- self._CallerPhone = None
3947
- self._Direction = None
3948
- self._Duration = None
3949
- self._ProductId = None
3950
- self._RecordCosUrl = None
3951
-
3952
- @property
3953
- def AccountNum(self):
3954
- return self._AccountNum
3955
-
3956
- @AccountNum.setter
3957
- def AccountNum(self, AccountNum):
3958
- self._AccountNum = AccountNum
3959
-
3960
- @property
3961
- def BizDate(self):
3962
- return self._BizDate
3963
-
3964
- @BizDate.setter
3965
- def BizDate(self, BizDate):
3966
- self._BizDate = BizDate
3967
-
3968
- @property
3969
- def CallStartTime(self):
3970
- return self._CallStartTime
3971
-
3972
- @CallStartTime.setter
3973
- def CallStartTime(self, CallStartTime):
3974
- self._CallStartTime = CallStartTime
3975
-
3976
- @property
3977
- def CallerPhone(self):
3978
- return self._CallerPhone
3979
-
3980
- @CallerPhone.setter
3981
- def CallerPhone(self, CallerPhone):
3982
- self._CallerPhone = CallerPhone
3983
-
3984
- @property
3985
- def Direction(self):
3986
- return self._Direction
3987
-
3988
- @Direction.setter
3989
- def Direction(self, Direction):
3990
- self._Direction = Direction
3991
-
3992
- @property
3993
- def Duration(self):
3994
- return self._Duration
3995
-
3996
- @Duration.setter
3997
- def Duration(self, Duration):
3998
- self._Duration = Duration
3999
-
4000
- @property
4001
- def ProductId(self):
4002
- return self._ProductId
4003
-
4004
- @ProductId.setter
4005
- def ProductId(self, ProductId):
4006
- self._ProductId = ProductId
4007
-
4008
- @property
4009
- def RecordCosUrl(self):
4010
- return self._RecordCosUrl
4011
-
4012
- @RecordCosUrl.setter
4013
- def RecordCosUrl(self, RecordCosUrl):
4014
- self._RecordCosUrl = RecordCosUrl
4015
-
4016
-
4017
- def _deserialize(self, params):
4018
- self._AccountNum = params.get("AccountNum")
4019
- self._BizDate = params.get("BizDate")
4020
- self._CallStartTime = params.get("CallStartTime")
4021
- self._CallerPhone = params.get("CallerPhone")
4022
- self._Direction = params.get("Direction")
4023
- self._Duration = params.get("Duration")
4024
- self._ProductId = params.get("ProductId")
4025
- self._RecordCosUrl = params.get("RecordCosUrl")
4026
- memeber_set = set(params.keys())
4027
- for name, value in vars(self).items():
4028
- property_name = name[1:]
4029
- if property_name in memeber_set:
4030
- memeber_set.remove(property_name)
4031
- if len(memeber_set) > 0:
4032
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4033
-
4034
-
4035
-
4036
- class SmsSign(AbstractModel):
4037
- """短信签名信息
4038
-
4039
- """
4040
-
4041
- def __init__(self):
4042
- r"""
4043
- :param _SignId: 短信签名ID
4044
- :type SignId: str
4045
- :param _SignName: 短信签名名称
4046
- :type SignName: str
4047
- """
4048
- self._SignId = None
4049
- self._SignName = None
4050
-
4051
- @property
4052
- def SignId(self):
4053
- return self._SignId
4054
-
4055
- @SignId.setter
4056
- def SignId(self, SignId):
4057
- self._SignId = SignId
4058
-
4059
- @property
4060
- def SignName(self):
4061
- return self._SignName
4062
-
4063
- @SignName.setter
4064
- def SignName(self, SignName):
4065
- self._SignName = SignName
4066
-
4067
-
4068
- def _deserialize(self, params):
4069
- self._SignId = params.get("SignId")
4070
- self._SignName = params.get("SignName")
4071
- memeber_set = set(params.keys())
4072
- for name, value in vars(self).items():
4073
- property_name = name[1:]
4074
- if property_name in memeber_set:
4075
- memeber_set.remove(property_name)
4076
- if len(memeber_set) > 0:
4077
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4078
-
4079
-
4080
-
4081
- class SmsTemplate(AbstractModel):
4082
- """短信模板信息
4083
-
4084
- """
4085
-
4086
- def __init__(self):
4087
- r"""
4088
- :param _TemplateId: 短信模板ID
4089
- :type TemplateId: str
4090
- :param _TemplateName: 短信模板名称
4091
- :type TemplateName: str
4092
- """
4093
- self._TemplateId = None
4094
- self._TemplateName = None
4095
-
4096
- @property
4097
- def TemplateId(self):
4098
- return self._TemplateId
4099
-
4100
- @TemplateId.setter
4101
- def TemplateId(self, TemplateId):
4102
- self._TemplateId = TemplateId
4103
-
4104
- @property
4105
- def TemplateName(self):
4106
- return self._TemplateName
4107
-
4108
- @TemplateName.setter
4109
- def TemplateName(self, TemplateName):
4110
- self._TemplateName = TemplateName
4111
-
4112
-
4113
- def _deserialize(self, params):
4114
- self._TemplateId = params.get("TemplateId")
4115
- self._TemplateName = params.get("TemplateName")
4116
- memeber_set = set(params.keys())
4117
- for name, value in vars(self).items():
4118
- property_name = name[1:]
4119
- if property_name in memeber_set:
4120
- memeber_set.remove(property_name)
4121
- if len(memeber_set) > 0:
4122
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4123
-
4124
-
4125
-
4126
- class UpdateBotTaskRequest(AbstractModel):
4127
- """UpdateBotTask请求参数结构体
4128
-
4129
- """
4130
-
4131
- def __init__(self):
4132
- r"""
4133
- :param _Module: 模块名。默认值(固定):AiApi
4134
- :type Module: str
4135
- :param _Operation: 操作名。默认值(固定):UpdateTask
4136
- :type Operation: str
4137
- :param _BotName: 任务名称
4138
- :type BotName: str
4139
- :param _BotId: 任务ID
4140
- :type BotId: str
4141
- :param _CallTimeCollection: 产品拨打时间集合
4142
- :type CallTimeCollection: :class:`tencentcloud.cr.v20180321.models.CallTimeDict`
4143
- :param _BanCall: 是否禁止拨打,默认Y
4144
- :type BanCall: str
4145
- :param _StartTimeBan: 禁止拨打起始时间。默认130000
4146
- :type StartTimeBan: str
4147
- :param _EndTimeBan: 禁止拨打结束时间。默认140000
4148
- :type EndTimeBan: str
4149
- :param _PhoneCollection: 拨打线路集合
4150
- :type PhoneCollection: str
4151
- :param _CodeType: 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
4152
- :type CodeType: str
4153
- :param _CodeCollection: 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
4154
- :type CodeCollection: str
4155
- :param _CallCount: 继续拨打次数
4156
- :type CallCount: int
4157
- :param _CallInterval: 拨打间隔
4158
- :type CallInterval: int
4159
- :param _SmsSignId: 未接通引用短信签名ID
4160
- :type SmsSignId: str
4161
- :param _SmsTemplateId: 未接通引用短信模板ID
4162
- :type SmsTemplateId: str
4163
- """
4164
- self._Module = None
4165
- self._Operation = None
4166
- self._BotName = None
4167
- self._BotId = None
4168
- self._CallTimeCollection = None
4169
- self._BanCall = None
4170
- self._StartTimeBan = None
4171
- self._EndTimeBan = None
4172
- self._PhoneCollection = None
4173
- self._CodeType = None
4174
- self._CodeCollection = None
4175
- self._CallCount = None
4176
- self._CallInterval = None
4177
- self._SmsSignId = None
4178
- self._SmsTemplateId = None
4179
-
4180
- @property
4181
- def Module(self):
4182
- return self._Module
4183
-
4184
- @Module.setter
4185
- def Module(self, Module):
4186
- self._Module = Module
4187
-
4188
- @property
4189
- def Operation(self):
4190
- return self._Operation
4191
-
4192
- @Operation.setter
4193
- def Operation(self, Operation):
4194
- self._Operation = Operation
4195
-
4196
- @property
4197
- def BotName(self):
4198
- return self._BotName
4199
-
4200
- @BotName.setter
4201
- def BotName(self, BotName):
4202
- self._BotName = BotName
4203
-
4204
- @property
4205
- def BotId(self):
4206
- return self._BotId
4207
-
4208
- @BotId.setter
4209
- def BotId(self, BotId):
4210
- self._BotId = BotId
4211
-
4212
- @property
4213
- def CallTimeCollection(self):
4214
- return self._CallTimeCollection
4215
-
4216
- @CallTimeCollection.setter
4217
- def CallTimeCollection(self, CallTimeCollection):
4218
- self._CallTimeCollection = CallTimeCollection
4219
-
4220
- @property
4221
- def BanCall(self):
4222
- return self._BanCall
4223
-
4224
- @BanCall.setter
4225
- def BanCall(self, BanCall):
4226
- self._BanCall = BanCall
4227
-
4228
- @property
4229
- def StartTimeBan(self):
4230
- return self._StartTimeBan
4231
-
4232
- @StartTimeBan.setter
4233
- def StartTimeBan(self, StartTimeBan):
4234
- self._StartTimeBan = StartTimeBan
4235
-
4236
- @property
4237
- def EndTimeBan(self):
4238
- return self._EndTimeBan
4239
-
4240
- @EndTimeBan.setter
4241
- def EndTimeBan(self, EndTimeBan):
4242
- self._EndTimeBan = EndTimeBan
4243
-
4244
- @property
4245
- def PhoneCollection(self):
4246
- return self._PhoneCollection
4247
-
4248
- @PhoneCollection.setter
4249
- def PhoneCollection(self, PhoneCollection):
4250
- self._PhoneCollection = PhoneCollection
4251
-
4252
- @property
4253
- def CodeType(self):
4254
- return self._CodeType
4255
-
4256
- @CodeType.setter
4257
- def CodeType(self, CodeType):
4258
- self._CodeType = CodeType
4259
-
4260
- @property
4261
- def CodeCollection(self):
4262
- return self._CodeCollection
4263
-
4264
- @CodeCollection.setter
4265
- def CodeCollection(self, CodeCollection):
4266
- self._CodeCollection = CodeCollection
4267
-
4268
- @property
4269
- def CallCount(self):
4270
- return self._CallCount
4271
-
4272
- @CallCount.setter
4273
- def CallCount(self, CallCount):
4274
- self._CallCount = CallCount
4275
-
4276
- @property
4277
- def CallInterval(self):
4278
- return self._CallInterval
4279
-
4280
- @CallInterval.setter
4281
- def CallInterval(self, CallInterval):
4282
- self._CallInterval = CallInterval
4283
-
4284
- @property
4285
- def SmsSignId(self):
4286
- return self._SmsSignId
4287
-
4288
- @SmsSignId.setter
4289
- def SmsSignId(self, SmsSignId):
4290
- self._SmsSignId = SmsSignId
4291
-
4292
- @property
4293
- def SmsTemplateId(self):
4294
- return self._SmsTemplateId
4295
-
4296
- @SmsTemplateId.setter
4297
- def SmsTemplateId(self, SmsTemplateId):
4298
- self._SmsTemplateId = SmsTemplateId
4299
-
4300
-
4301
- def _deserialize(self, params):
4302
- self._Module = params.get("Module")
4303
- self._Operation = params.get("Operation")
4304
- self._BotName = params.get("BotName")
4305
- self._BotId = params.get("BotId")
4306
- if params.get("CallTimeCollection") is not None:
4307
- self._CallTimeCollection = CallTimeDict()
4308
- self._CallTimeCollection._deserialize(params.get("CallTimeCollection"))
4309
- self._BanCall = params.get("BanCall")
4310
- self._StartTimeBan = params.get("StartTimeBan")
4311
- self._EndTimeBan = params.get("EndTimeBan")
4312
- self._PhoneCollection = params.get("PhoneCollection")
4313
- self._CodeType = params.get("CodeType")
4314
- self._CodeCollection = params.get("CodeCollection")
4315
- self._CallCount = params.get("CallCount")
4316
- self._CallInterval = params.get("CallInterval")
4317
- self._SmsSignId = params.get("SmsSignId")
4318
- self._SmsTemplateId = params.get("SmsTemplateId")
4319
- memeber_set = set(params.keys())
4320
- for name, value in vars(self).items():
4321
- property_name = name[1:]
4322
- if property_name in memeber_set:
4323
- memeber_set.remove(property_name)
4324
- if len(memeber_set) > 0:
4325
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4326
-
4327
-
4328
-
4329
- class UpdateBotTaskResponse(AbstractModel):
4330
- """UpdateBotTask返回参数结构体
4331
-
4332
- """
4333
-
4334
- def __init__(self):
4335
- r"""
4336
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4337
- :type RequestId: str
4338
- """
4339
- self._RequestId = None
4340
-
4341
- @property
4342
- def RequestId(self):
4343
- return self._RequestId
4344
-
4345
- @RequestId.setter
4346
- def RequestId(self, RequestId):
4347
- self._RequestId = RequestId
4348
-
4349
-
4350
- def _deserialize(self, params):
4351
- self._RequestId = params.get("RequestId")
4352
-
4353
-
4354
- class UploadBotDataRequest(AbstractModel):
4355
- """UploadBotData请求参数结构体
4356
-
4357
- """
4358
-
4359
- def __init__(self):
4360
- r"""
4361
- :param _Module: 模块名。默认值(固定):AiApi
4362
- :type Module: str
4363
- :param _Operation: 操作名。默认值(固定):UploadData
4364
- :type Operation: str
4365
- :param _Data: 任务数据。JSON格式
4366
- :type Data: str
4367
- :param _BotId: 任务ID,二者必填一个
4368
- :type BotId: str
4369
- :param _BotName: 任务名称,二者必填一个
4370
- :type BotName: str
4371
- """
4372
- self._Module = None
4373
- self._Operation = None
4374
- self._Data = None
4375
- self._BotId = None
4376
- self._BotName = None
4377
-
4378
- @property
4379
- def Module(self):
4380
- return self._Module
4381
-
4382
- @Module.setter
4383
- def Module(self, Module):
4384
- self._Module = Module
4385
-
4386
- @property
4387
- def Operation(self):
4388
- return self._Operation
4389
-
4390
- @Operation.setter
4391
- def Operation(self, Operation):
4392
- self._Operation = Operation
4393
-
4394
- @property
4395
- def Data(self):
4396
- return self._Data
4397
-
4398
- @Data.setter
4399
- def Data(self, Data):
4400
- self._Data = Data
4401
-
4402
- @property
4403
- def BotId(self):
4404
- return self._BotId
4405
-
4406
- @BotId.setter
4407
- def BotId(self, BotId):
4408
- self._BotId = BotId
4409
-
4410
- @property
4411
- def BotName(self):
4412
- return self._BotName
4413
-
4414
- @BotName.setter
4415
- def BotName(self, BotName):
4416
- self._BotName = BotName
4417
-
4418
-
4419
- def _deserialize(self, params):
4420
- self._Module = params.get("Module")
4421
- self._Operation = params.get("Operation")
4422
- self._Data = params.get("Data")
4423
- self._BotId = params.get("BotId")
4424
- self._BotName = params.get("BotName")
4425
- memeber_set = set(params.keys())
4426
- for name, value in vars(self).items():
4427
- property_name = name[1:]
4428
- if property_name in memeber_set:
4429
- memeber_set.remove(property_name)
4430
- if len(memeber_set) > 0:
4431
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4432
-
4433
-
4434
-
4435
- class UploadBotDataResponse(AbstractModel):
4436
- """UploadBotData返回参数结构体
4437
-
4438
- """
4439
-
4440
- def __init__(self):
4441
- r"""
4442
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4443
- :type RequestId: str
4444
- """
4445
- self._RequestId = None
4446
-
4447
- @property
4448
- def RequestId(self):
4449
- return self._RequestId
4450
-
4451
- @RequestId.setter
4452
- def RequestId(self, RequestId):
4453
- self._RequestId = RequestId
4454
-
4455
-
4456
- def _deserialize(self, params):
4457
- self._RequestId = params.get("RequestId")
4458
-
4459
-
4460
- class UploadBotFileRequest(AbstractModel):
4461
- """UploadBotFile请求参数结构体
4462
-
4463
- """
4464
-
4465
- def __init__(self):
4466
- r"""
4467
- :param _Module: 模块名。默认值(固定):AiApi
4468
- :type Module: str
4469
- :param _Operation: 操作名。默认值(固定):Upload
4470
- :type Operation: str
4471
- :param _FileType: 文件类型,输入input,停拨stop
4472
- :type FileType: str
4473
- :param _FileUrl: 文件链接
4474
- :type FileUrl: str
4475
- :param _FileName: 文件名
4476
- :type FileName: str
4477
- :param _BotId: 任务ID,二者必填一个
4478
- :type BotId: str
4479
- :param _BotName: 任务名称,二者必填一个
4480
- :type BotName: str
4481
- """
4482
- self._Module = None
4483
- self._Operation = None
4484
- self._FileType = None
4485
- self._FileUrl = None
4486
- self._FileName = None
4487
- self._BotId = None
4488
- self._BotName = None
4489
-
4490
- @property
4491
- def Module(self):
4492
- return self._Module
4493
-
4494
- @Module.setter
4495
- def Module(self, Module):
4496
- self._Module = Module
4497
-
4498
- @property
4499
- def Operation(self):
4500
- return self._Operation
4501
-
4502
- @Operation.setter
4503
- def Operation(self, Operation):
4504
- self._Operation = Operation
4505
-
4506
- @property
4507
- def FileType(self):
4508
- return self._FileType
4509
-
4510
- @FileType.setter
4511
- def FileType(self, FileType):
4512
- self._FileType = FileType
4513
-
4514
- @property
4515
- def FileUrl(self):
4516
- return self._FileUrl
4517
-
4518
- @FileUrl.setter
4519
- def FileUrl(self, FileUrl):
4520
- self._FileUrl = FileUrl
4521
-
4522
- @property
4523
- def FileName(self):
4524
- return self._FileName
4525
-
4526
- @FileName.setter
4527
- def FileName(self, FileName):
4528
- self._FileName = FileName
4529
-
4530
- @property
4531
- def BotId(self):
4532
- return self._BotId
4533
-
4534
- @BotId.setter
4535
- def BotId(self, BotId):
4536
- self._BotId = BotId
4537
-
4538
- @property
4539
- def BotName(self):
4540
- return self._BotName
4541
-
4542
- @BotName.setter
4543
- def BotName(self, BotName):
4544
- self._BotName = BotName
4545
-
4546
-
4547
- def _deserialize(self, params):
4548
- self._Module = params.get("Module")
4549
- self._Operation = params.get("Operation")
4550
- self._FileType = params.get("FileType")
4551
- self._FileUrl = params.get("FileUrl")
4552
- self._FileName = params.get("FileName")
4553
- self._BotId = params.get("BotId")
4554
- self._BotName = params.get("BotName")
4555
- memeber_set = set(params.keys())
4556
- for name, value in vars(self).items():
4557
- property_name = name[1:]
4558
- if property_name in memeber_set:
4559
- memeber_set.remove(property_name)
4560
- if len(memeber_set) > 0:
4561
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4562
-
4563
-
4564
-
4565
- class UploadBotFileResponse(AbstractModel):
4566
- """UploadBotFile返回参数结构体
4567
-
4568
- """
4569
-
4570
- def __init__(self):
4571
- r"""
4572
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4573
- :type RequestId: str
4574
- """
4575
- self._RequestId = None
4576
-
4577
- @property
4578
- def RequestId(self):
4579
- return self._RequestId
4580
-
4581
- @RequestId.setter
4582
- def RequestId(self, RequestId):
4583
- self._RequestId = RequestId
4584
-
4585
-
4586
- def _deserialize(self, params):
4587
- self._RequestId = params.get("RequestId")
4588
-
4589
-
4590
- class UploadDataFileRequest(AbstractModel):
4591
- """UploadDataFile请求参数结构体
4592
-
4593
- """
4594
-
4595
- def __init__(self):
4596
- r"""
4597
- :param _Module: 模块名,本接口取值:Data
4598
- :type Module: str
4599
- :param _Operation: 操作名,本接口取值:Upload
4600
- :type Operation: str
4601
- :param _FileName: 文件名
4602
- :type FileName: str
4603
- :param _UploadModel: <p>上传类型,不填默认到期/逾期提醒文件,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒文件</li><li>repay:到期/逾期提醒停拨文件</li><li>callback:回访文件</li><li>callstop:回访停拨文件</li><li>blacklist:黑名单文件</li></ul>
4604
- :type UploadModel: str
4605
- :param _File: 文件,文件与文件地址上传只可选用一种,必须使用multipart/form-data协议来上传二进制流文件,建议使用xlsx格式,大小不超过5MB。
4606
- :type File: binary
4607
- :param _FileUrl: 文件上传地址,文件与文件地址上传只可选用一种,大小不超过50MB。
4608
- :type FileUrl: str
4609
- :param _InstId: 实例ID,不传默认为系统分配的初始实例。
4610
- :type InstId: str
4611
- """
4612
- self._Module = None
4613
- self._Operation = None
4614
- self._FileName = None
4615
- self._UploadModel = None
4616
- self._File = None
4617
- self._FileUrl = None
4618
- self._InstId = None
4619
-
4620
- @property
4621
- def Module(self):
4622
- return self._Module
4623
-
4624
- @Module.setter
4625
- def Module(self, Module):
4626
- self._Module = Module
4627
-
4628
- @property
4629
- def Operation(self):
4630
- return self._Operation
4631
-
4632
- @Operation.setter
4633
- def Operation(self, Operation):
4634
- self._Operation = Operation
4635
-
4636
- @property
4637
- def FileName(self):
4638
- return self._FileName
4639
-
4640
- @FileName.setter
4641
- def FileName(self, FileName):
4642
- self._FileName = FileName
4643
-
4644
- @property
4645
- def UploadModel(self):
4646
- return self._UploadModel
4647
-
4648
- @UploadModel.setter
4649
- def UploadModel(self, UploadModel):
4650
- self._UploadModel = UploadModel
4651
-
4652
- @property
4653
- def File(self):
4654
- return self._File
4655
-
4656
- @File.setter
4657
- def File(self, File):
4658
- self._File = File
4659
-
4660
- @property
4661
- def FileUrl(self):
4662
- return self._FileUrl
4663
-
4664
- @FileUrl.setter
4665
- def FileUrl(self, FileUrl):
4666
- self._FileUrl = FileUrl
4667
-
4668
- @property
4669
- def InstId(self):
4670
- return self._InstId
4671
-
4672
- @InstId.setter
4673
- def InstId(self, InstId):
4674
- self._InstId = InstId
4675
-
4676
-
4677
- def _deserialize(self, params):
4678
- self._Module = params.get("Module")
4679
- self._Operation = params.get("Operation")
4680
- self._FileName = params.get("FileName")
4681
- self._UploadModel = params.get("UploadModel")
4682
- self._File = params.get("File")
4683
- self._FileUrl = params.get("FileUrl")
4684
- self._InstId = params.get("InstId")
4685
- memeber_set = set(params.keys())
4686
- for name, value in vars(self).items():
4687
- property_name = name[1:]
4688
- if property_name in memeber_set:
4689
- memeber_set.remove(property_name)
4690
- if len(memeber_set) > 0:
4691
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4692
-
4693
-
4694
-
4695
- class UploadDataFileResponse(AbstractModel):
4696
- """UploadDataFile返回参数结构体
4697
-
4698
- """
4699
-
4700
- def __init__(self):
4701
- r"""
4702
- :param _DataResId: 数据ID
4703
- :type DataResId: str
4704
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4705
- :type RequestId: str
4706
- """
4707
- self._DataResId = None
4708
- self._RequestId = None
4709
-
4710
- @property
4711
- def DataResId(self):
4712
- return self._DataResId
4713
-
4714
- @DataResId.setter
4715
- def DataResId(self, DataResId):
4716
- self._DataResId = DataResId
4717
-
4718
- @property
4719
- def RequestId(self):
4720
- return self._RequestId
4721
-
4722
- @RequestId.setter
4723
- def RequestId(self, RequestId):
4724
- self._RequestId = RequestId
4725
-
4726
-
4727
- def _deserialize(self, params):
4728
- self._DataResId = params.get("DataResId")
4729
- self._RequestId = params.get("RequestId")
4730
-
4731
-
4732
- class UploadDataJsonRequest(AbstractModel):
4733
- """UploadDataJson请求参数结构体
4734
-
4735
- """
4736
-
4737
- def __init__(self):
4738
- r"""
4739
- :param _Module: 模块名,本接口取值:Data
4740
- :type Module: str
4741
- :param _Operation: 操作名,本接口取值:UploadJson
4742
- :type Operation: str
4743
- :param _Data: 报文信息
4744
- :type Data: str
4745
- :param _UploadModel: <p>上传类型,不填默认到期/逾期提醒数据,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒数据</li><li>repay:到期/逾期提醒停拨数据</li></ul>
4746
- :type UploadModel: str
4747
- :param _InstanceId: 实例ID,不传默认为系统分配的初始实例。
4748
- :type InstanceId: str
4749
- """
4750
- self._Module = None
4751
- self._Operation = None
4752
- self._Data = None
4753
- self._UploadModel = None
4754
- self._InstanceId = None
4755
-
4756
- @property
4757
- def Module(self):
4758
- return self._Module
4759
-
4760
- @Module.setter
4761
- def Module(self, Module):
4762
- self._Module = Module
4763
-
4764
- @property
4765
- def Operation(self):
4766
- return self._Operation
4767
-
4768
- @Operation.setter
4769
- def Operation(self, Operation):
4770
- self._Operation = Operation
4771
-
4772
- @property
4773
- def Data(self):
4774
- return self._Data
4775
-
4776
- @Data.setter
4777
- def Data(self, Data):
4778
- self._Data = Data
4779
-
4780
- @property
4781
- def UploadModel(self):
4782
- return self._UploadModel
4783
-
4784
- @UploadModel.setter
4785
- def UploadModel(self, UploadModel):
4786
- self._UploadModel = UploadModel
4787
-
4788
- @property
4789
- def InstanceId(self):
4790
- return self._InstanceId
4791
-
4792
- @InstanceId.setter
4793
- def InstanceId(self, InstanceId):
4794
- self._InstanceId = InstanceId
4795
-
4796
-
4797
- def _deserialize(self, params):
4798
- self._Module = params.get("Module")
4799
- self._Operation = params.get("Operation")
4800
- self._Data = params.get("Data")
4801
- self._UploadModel = params.get("UploadModel")
4802
- self._InstanceId = params.get("InstanceId")
4803
- memeber_set = set(params.keys())
4804
- for name, value in vars(self).items():
4805
- property_name = name[1:]
4806
- if property_name in memeber_set:
4807
- memeber_set.remove(property_name)
4808
- if len(memeber_set) > 0:
4809
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4810
-
4811
-
4812
-
4813
- class UploadDataJsonResponse(AbstractModel):
4814
- """UploadDataJson返回参数结构体
4815
-
4816
- """
4817
-
4818
- def __init__(self):
4819
- r"""
4820
- :param _Data: 响应报文信息
4821
- 注意:此字段可能返回 null,表示取不到有效值。
4822
- :type Data: str
4823
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4824
- :type RequestId: str
4825
- """
4826
- self._Data = None
4827
- self._RequestId = None
4828
-
4829
- @property
4830
- def Data(self):
4831
- return self._Data
4832
-
4833
- @Data.setter
4834
- def Data(self, Data):
4835
- self._Data = Data
4836
-
4837
- @property
4838
- def RequestId(self):
4839
- return self._RequestId
4840
-
4841
- @RequestId.setter
4842
- def RequestId(self, RequestId):
4843
- self._RequestId = RequestId
4844
-
4845
-
4846
- def _deserialize(self, params):
4847
- self._Data = params.get("Data")
4848
- self._RequestId = params.get("RequestId")
4849
-
4850
-
4851
- class UploadFileRequest(AbstractModel):
4852
- """UploadFile请求参数结构体
4853
-
4854
- """
4855
-
4856
- def __init__(self):
4857
- r"""
4858
- :param _Module: 模块名
4859
- :type Module: str
4860
- :param _Operation: 操作名
4861
- :type Operation: str
4862
- :param _FileUrl: 文件上传地址,要求地址协议为HTTPS,且URL端口必须为443
4863
- :type FileUrl: str
4864
- :param _FileName: 文件名
4865
- :type FileName: str
4866
- :param _FileDate: 文件日期
4867
- :type FileDate: str
4868
- """
4869
- self._Module = None
4870
- self._Operation = None
4871
- self._FileUrl = None
4872
- self._FileName = None
4873
- self._FileDate = None
4874
-
4875
- @property
4876
- def Module(self):
4877
- return self._Module
4878
-
4879
- @Module.setter
4880
- def Module(self, Module):
4881
- self._Module = Module
4882
-
4883
- @property
4884
- def Operation(self):
4885
- return self._Operation
4886
-
4887
- @Operation.setter
4888
- def Operation(self, Operation):
4889
- self._Operation = Operation
4890
-
4891
- @property
4892
- def FileUrl(self):
4893
- return self._FileUrl
4894
-
4895
- @FileUrl.setter
4896
- def FileUrl(self, FileUrl):
4897
- self._FileUrl = FileUrl
4898
-
4899
- @property
4900
- def FileName(self):
4901
- return self._FileName
4902
-
4903
- @FileName.setter
4904
- def FileName(self, FileName):
4905
- self._FileName = FileName
4906
-
4907
- @property
4908
- def FileDate(self):
4909
- return self._FileDate
4910
-
4911
- @FileDate.setter
4912
- def FileDate(self, FileDate):
4913
- self._FileDate = FileDate
4914
-
4915
-
4916
- def _deserialize(self, params):
4917
- self._Module = params.get("Module")
4918
- self._Operation = params.get("Operation")
4919
- self._FileUrl = params.get("FileUrl")
4920
- self._FileName = params.get("FileName")
4921
- self._FileDate = params.get("FileDate")
4922
- memeber_set = set(params.keys())
4923
- for name, value in vars(self).items():
4924
- property_name = name[1:]
4925
- if property_name in memeber_set:
4926
- memeber_set.remove(property_name)
4927
- if len(memeber_set) > 0:
4928
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4929
-
4930
-
4931
-
4932
- class UploadFileResponse(AbstractModel):
4933
- """UploadFile返回参数结构体
4934
-
4935
- """
4936
-
4937
- def __init__(self):
4938
- r"""
4939
- :param _TaskId: 任务ID
4940
- :type TaskId: int
4941
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4942
- :type RequestId: str
4943
- """
4944
- self._TaskId = None
4945
- self._RequestId = None
4946
-
4947
- @property
4948
- def TaskId(self):
4949
- return self._TaskId
4950
-
4951
- @TaskId.setter
4952
- def TaskId(self, TaskId):
4953
- self._TaskId = TaskId
4954
-
4955
- @property
4956
- def RequestId(self):
4957
- return self._RequestId
4958
-
4959
- @RequestId.setter
4960
- def RequestId(self, RequestId):
4961
- self._RequestId = RequestId
4962
-
4963
-
4964
- def _deserialize(self, params):
4965
- self._TaskId = params.get("TaskId")
4966
- self._RequestId = params.get("RequestId")