tencentcloud-sdk-python 3.0.1328__py2.py3-none-any.whl → 3.0.1330__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 (55) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ams/v20201229/models.py +157 -0
  3. tencentcloud/asr/v20190614/asr_client.py +1 -1
  4. tencentcloud/batch/v20170312/models.py +2 -26
  5. tencentcloud/cdwdoris/v20211228/models.py +30 -0
  6. tencentcloud/cfw/v20190904/cfw_client.py +9 -3
  7. tencentcloud/clb/v20180317/models.py +45 -0
  8. tencentcloud/cvm/v20170312/models.py +22 -38
  9. tencentcloud/cynosdb/v20190107/models.py +23 -4
  10. tencentcloud/dlc/v20210125/models.py +0 -10
  11. tencentcloud/emr/v20190103/models.py +4 -4
  12. tencentcloud/ess/v20201111/ess_client.py +27 -0
  13. tencentcloud/ess/v20201111/models.py +147 -316
  14. tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
  15. tencentcloud/essbasic/v20210526/models.py +146 -238
  16. tencentcloud/faceid/v20180301/models.py +20 -12
  17. tencentcloud/lcic/v20220817/models.py +12 -2
  18. tencentcloud/lighthouse/v20200324/models.py +12 -12
  19. tencentcloud/live/v20180801/models.py +10 -112
  20. tencentcloud/lke/v20231130/lke_client.py +23 -0
  21. tencentcloud/lke/v20231130/models.py +128 -4
  22. tencentcloud/ocr/v20181119/models.py +23 -0
  23. tencentcloud/ocr/v20181119/ocr_client.py +10 -0
  24. tencentcloud/organization/v20210331/models.py +30 -0
  25. tencentcloud/rce/v20201103/models.py +18 -54
  26. tencentcloud/taf/v20200210/models.py +0 -2
  27. tencentcloud/tcbr/v20220217/models.py +30 -0
  28. tencentcloud/teo/v20220901/models.py +18 -4
  29. tencentcloud/tke/v20180525/models.py +2 -320
  30. tencentcloud/tke/v20220501/models.py +0 -8
  31. tencentcloud/tse/v20201207/models.py +153 -0
  32. tencentcloud/vm/v20201229/models.py +615 -68
  33. tencentcloud/vm/v20210922/models.py +737 -102
  34. tencentcloud/vpc/v20170312/vpc_client.py +1 -1
  35. tencentcloud/weilingwith/v20230427/models.py +0 -20
  36. {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/METADATA +1 -1
  37. {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/RECORD +40 -55
  38. tencentcloud/lp/__init__.py +0 -0
  39. tencentcloud/lp/v20200224/__init__.py +0 -0
  40. tencentcloud/lp/v20200224/errorcodes.py +0 -78
  41. tencentcloud/lp/v20200224/lp_client.py +0 -49
  42. tencentcloud/lp/v20200224/models.py +0 -748
  43. tencentcloud/rkp/__init__.py +0 -0
  44. tencentcloud/rkp/v20191209/__init__.py +0 -0
  45. tencentcloud/rkp/v20191209/errorcodes.py +0 -102
  46. tencentcloud/rkp/v20191209/models.py +0 -1007
  47. tencentcloud/rkp/v20191209/rkp_client.py +0 -101
  48. tencentcloud/rp/__init__.py +0 -0
  49. tencentcloud/rp/v20200224/__init__.py +0 -0
  50. tencentcloud/rp/v20200224/errorcodes.py +0 -78
  51. tencentcloud/rp/v20200224/models.py +0 -655
  52. tencentcloud/rp/v20200224/rp_client.py +0 -49
  53. {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/LICENSE +0 -0
  54. {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/WHEEL +0 -0
  55. {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/top_level.txt +0 -0
@@ -26,45 +26,42 @@ class AudioResult(AbstractModel):
26
26
  def __init__(self):
27
27
  r"""
28
28
  :param _HitFlag: 该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
29
- 注意:此字段可能返回 null,表示取不到有效值。
30
29
  :type HitFlag: int
31
30
  :param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
32
- 注意:此字段可能返回 null,表示取不到有效值。
33
31
  :type Label: str
34
32
  :param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
35
33
  返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
36
- 注意:此字段可能返回 null,表示取不到有效值。
37
34
  :type Suggestion: str
38
35
  :param _Score: 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
39
- 注意:此字段可能返回 null,表示取不到有效值。
40
36
  :type Score: int
41
37
  :param _Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
42
- 注意:此字段可能返回 null,表示取不到有效值。
43
38
  :type Text: str
44
39
  :param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
45
- 注意:此字段可能返回 null,表示取不到有效值。
46
40
  :type Url: str
47
41
  :param _Duration: 该字段用于返回音频文件的时长,单位为毫秒。
48
- 注意:此字段可能返回 null,表示取不到有效值。
49
42
  :type Duration: str
50
43
  :param _Extra: 该字段用于返回输入参数中的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理。
51
- 注意:此字段可能返回 null,表示取不到有效值。
52
44
  :type Extra: str
53
45
  :param _TextResults: 该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
54
- 注意:此字段可能返回 null,表示取不到有效值。
55
46
  :type TextResults: list of AudioResultDetailTextResult
56
47
  :param _MoanResults: 该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。
57
- 注意:此字段可能返回 null,表示取不到有效值。
58
48
  :type MoanResults: list of AudioResultDetailMoanResult
59
49
  :param _LanguageResults: 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
60
- 注意:此字段可能返回 null,表示取不到有效值。
61
50
  :type LanguageResults: list of AudioResultDetailLanguageResult
62
51
  :param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
63
- 注意:此字段可能返回 null,表示取不到有效值。
64
52
  :type SubLabel: str
65
53
  :param _RecognitionResults: 识别类标签结果信息列表
66
- 注意:此字段可能返回 null,表示取不到有效值。
67
54
  :type RecognitionResults: list of RecognitionResult
55
+ :param _SpeakerResults: 该字段用于返回音频文件说话人检测的详细审核结果
56
+ :type SpeakerResults: list of SpeakerResult
57
+ :param _TravelResults: 该字段用于返回音频文件出行检测的详细审核结果
58
+ :type TravelResults: list of TravelResult
59
+ :param _SubTag: 该字段用于返回音频文件的三级标签
60
+ :type SubTag: str
61
+ :param _SubTagCode: 该字段用于返回音频文件的三级标签码
62
+ :type SubTagCode: str
63
+ :param _LabelResults: 该字段用于返回音频文件歌曲识别的详细审核结果
64
+ :type LabelResults: list of LabelResult
68
65
  """
69
66
  self._HitFlag = None
70
67
  self._Label = None
@@ -79,11 +76,15 @@ class AudioResult(AbstractModel):
79
76
  self._LanguageResults = None
80
77
  self._SubLabel = None
81
78
  self._RecognitionResults = None
79
+ self._SpeakerResults = None
80
+ self._TravelResults = None
81
+ self._SubTag = None
82
+ self._SubTagCode = None
83
+ self._LabelResults = None
82
84
 
83
85
  @property
84
86
  def HitFlag(self):
85
87
  """该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
86
- 注意:此字段可能返回 null,表示取不到有效值。
87
88
  :rtype: int
88
89
  """
89
90
  return self._HitFlag
@@ -95,7 +96,6 @@ class AudioResult(AbstractModel):
95
96
  @property
96
97
  def Label(self):
97
98
  """该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
98
- 注意:此字段可能返回 null,表示取不到有效值。
99
99
  :rtype: str
100
100
  """
101
101
  return self._Label
@@ -108,7 +108,6 @@ class AudioResult(AbstractModel):
108
108
  def Suggestion(self):
109
109
  """该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
110
110
  返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
111
- 注意:此字段可能返回 null,表示取不到有效值。
112
111
  :rtype: str
113
112
  """
114
113
  return self._Suggestion
@@ -120,7 +119,6 @@ class AudioResult(AbstractModel):
120
119
  @property
121
120
  def Score(self):
122
121
  """该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
123
- 注意:此字段可能返回 null,表示取不到有效值。
124
122
  :rtype: int
125
123
  """
126
124
  return self._Score
@@ -132,7 +130,6 @@ class AudioResult(AbstractModel):
132
130
  @property
133
131
  def Text(self):
134
132
  """该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
135
- 注意:此字段可能返回 null,表示取不到有效值。
136
133
  :rtype: str
137
134
  """
138
135
  return self._Text
@@ -144,7 +141,6 @@ class AudioResult(AbstractModel):
144
141
  @property
145
142
  def Url(self):
146
143
  """该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
147
- 注意:此字段可能返回 null,表示取不到有效值。
148
144
  :rtype: str
149
145
  """
150
146
  return self._Url
@@ -156,7 +152,6 @@ class AudioResult(AbstractModel):
156
152
  @property
157
153
  def Duration(self):
158
154
  """该字段用于返回音频文件的时长,单位为毫秒。
159
- 注意:此字段可能返回 null,表示取不到有效值。
160
155
  :rtype: str
161
156
  """
162
157
  return self._Duration
@@ -168,7 +163,6 @@ class AudioResult(AbstractModel):
168
163
  @property
169
164
  def Extra(self):
170
165
  """该字段用于返回输入参数中的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理。
171
- 注意:此字段可能返回 null,表示取不到有效值。
172
166
  :rtype: str
173
167
  """
174
168
  return self._Extra
@@ -180,7 +174,6 @@ class AudioResult(AbstractModel):
180
174
  @property
181
175
  def TextResults(self):
182
176
  """该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
183
- 注意:此字段可能返回 null,表示取不到有效值。
184
177
  :rtype: list of AudioResultDetailTextResult
185
178
  """
186
179
  return self._TextResults
@@ -192,7 +185,6 @@ class AudioResult(AbstractModel):
192
185
  @property
193
186
  def MoanResults(self):
194
187
  """该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。
195
- 注意:此字段可能返回 null,表示取不到有效值。
196
188
  :rtype: list of AudioResultDetailMoanResult
197
189
  """
198
190
  return self._MoanResults
@@ -204,7 +196,6 @@ class AudioResult(AbstractModel):
204
196
  @property
205
197
  def LanguageResults(self):
206
198
  """该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
207
- 注意:此字段可能返回 null,表示取不到有效值。
208
199
  :rtype: list of AudioResultDetailLanguageResult
209
200
  """
210
201
  return self._LanguageResults
@@ -216,7 +207,6 @@ class AudioResult(AbstractModel):
216
207
  @property
217
208
  def SubLabel(self):
218
209
  """该字段用于返回当前标签(Lable)下的二级标签。
219
- 注意:此字段可能返回 null,表示取不到有效值。
220
210
  :rtype: str
221
211
  """
222
212
  return self._SubLabel
@@ -228,7 +218,6 @@ class AudioResult(AbstractModel):
228
218
  @property
229
219
  def RecognitionResults(self):
230
220
  """识别类标签结果信息列表
231
- 注意:此字段可能返回 null,表示取不到有效值。
232
221
  :rtype: list of RecognitionResult
233
222
  """
234
223
  return self._RecognitionResults
@@ -237,6 +226,61 @@ class AudioResult(AbstractModel):
237
226
  def RecognitionResults(self, RecognitionResults):
238
227
  self._RecognitionResults = RecognitionResults
239
228
 
229
+ @property
230
+ def SpeakerResults(self):
231
+ """该字段用于返回音频文件说话人检测的详细审核结果
232
+ :rtype: list of SpeakerResult
233
+ """
234
+ return self._SpeakerResults
235
+
236
+ @SpeakerResults.setter
237
+ def SpeakerResults(self, SpeakerResults):
238
+ self._SpeakerResults = SpeakerResults
239
+
240
+ @property
241
+ def TravelResults(self):
242
+ """该字段用于返回音频文件出行检测的详细审核结果
243
+ :rtype: list of TravelResult
244
+ """
245
+ return self._TravelResults
246
+
247
+ @TravelResults.setter
248
+ def TravelResults(self, TravelResults):
249
+ self._TravelResults = TravelResults
250
+
251
+ @property
252
+ def SubTag(self):
253
+ """该字段用于返回音频文件的三级标签
254
+ :rtype: str
255
+ """
256
+ return self._SubTag
257
+
258
+ @SubTag.setter
259
+ def SubTag(self, SubTag):
260
+ self._SubTag = SubTag
261
+
262
+ @property
263
+ def SubTagCode(self):
264
+ """该字段用于返回音频文件的三级标签码
265
+ :rtype: str
266
+ """
267
+ return self._SubTagCode
268
+
269
+ @SubTagCode.setter
270
+ def SubTagCode(self, SubTagCode):
271
+ self._SubTagCode = SubTagCode
272
+
273
+ @property
274
+ def LabelResults(self):
275
+ """该字段用于返回音频文件歌曲识别的详细审核结果
276
+ :rtype: list of LabelResult
277
+ """
278
+ return self._LabelResults
279
+
280
+ @LabelResults.setter
281
+ def LabelResults(self, LabelResults):
282
+ self._LabelResults = LabelResults
283
+
240
284
 
241
285
  def _deserialize(self, params):
242
286
  self._HitFlag = params.get("HitFlag")
@@ -272,6 +316,26 @@ class AudioResult(AbstractModel):
272
316
  obj = RecognitionResult()
273
317
  obj._deserialize(item)
274
318
  self._RecognitionResults.append(obj)
319
+ if params.get("SpeakerResults") is not None:
320
+ self._SpeakerResults = []
321
+ for item in params.get("SpeakerResults"):
322
+ obj = SpeakerResult()
323
+ obj._deserialize(item)
324
+ self._SpeakerResults.append(obj)
325
+ if params.get("TravelResults") is not None:
326
+ self._TravelResults = []
327
+ for item in params.get("TravelResults"):
328
+ obj = TravelResult()
329
+ obj._deserialize(item)
330
+ self._TravelResults.append(obj)
331
+ self._SubTag = params.get("SubTag")
332
+ self._SubTagCode = params.get("SubTagCode")
333
+ if params.get("LabelResults") is not None:
334
+ self._LabelResults = []
335
+ for item in params.get("LabelResults"):
336
+ obj = LabelResult()
337
+ obj._deserialize(item)
338
+ self._LabelResults.append(obj)
275
339
  memeber_set = set(params.keys())
276
340
  for name, value in vars(self).items():
277
341
  property_name = name[1:]
@@ -524,30 +588,24 @@ class AudioResultDetailTextResult(AbstractModel):
524
588
  def __init__(self):
525
589
  r"""
526
590
  :param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
527
- 注意:此字段可能返回 null,表示取不到有效值。
528
591
  :type Label: str
529
592
  :param _Keywords: 该字段用于返回ASR识别出的文本内容命中的关键词信息,用于标注内容违规的具体原因(如:加我微信)。该参数可能会有多个返回值,代表命中的多个关键词;若返回值为空,Score不为空,则代表识别结果所对应的恶意标签(Label)来自于语义模型判断的返回值。
530
- 注意:此字段可能返回 null,表示取不到有效值。
531
593
  :type Keywords: list of str
532
594
  :param _LibId: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
533
- 注意:此字段可能返回 null,表示取不到有效值。
534
595
  :type LibId: str
535
596
  :param _LibName: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
536
- 注意:此字段可能返回 null,表示取不到有效值。
537
597
  :type LibName: str
538
598
  :param _Score: 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
539
- 注意:此字段可能返回 null,表示取不到有效值。
540
599
  :type Score: int
541
600
  :param _LibType: 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
542
- 注意:此字段可能返回 null,表示取不到有效值。
543
601
  :type LibType: int
544
602
  :param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
545
603
  返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
546
- 注意:此字段可能返回 null,表示取不到有效值。
547
604
  :type Suggestion: str
548
605
  :param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
549
- 注意:此字段可能返回 null,表示取不到有效值。
550
606
  :type SubLabel: str
607
+ :param _HitInfos: 该字段用于返回命中的关键词信息
608
+ :type HitInfos: list of OcrHitInfo
551
609
  """
552
610
  self._Label = None
553
611
  self._Keywords = None
@@ -557,11 +615,11 @@ class AudioResultDetailTextResult(AbstractModel):
557
615
  self._LibType = None
558
616
  self._Suggestion = None
559
617
  self._SubLabel = None
618
+ self._HitInfos = None
560
619
 
561
620
  @property
562
621
  def Label(self):
563
622
  """该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
564
- 注意:此字段可能返回 null,表示取不到有效值。
565
623
  :rtype: str
566
624
  """
567
625
  return self._Label
@@ -573,7 +631,6 @@ class AudioResultDetailTextResult(AbstractModel):
573
631
  @property
574
632
  def Keywords(self):
575
633
  """该字段用于返回ASR识别出的文本内容命中的关键词信息,用于标注内容违规的具体原因(如:加我微信)。该参数可能会有多个返回值,代表命中的多个关键词;若返回值为空,Score不为空,则代表识别结果所对应的恶意标签(Label)来自于语义模型判断的返回值。
576
- 注意:此字段可能返回 null,表示取不到有效值。
577
634
  :rtype: list of str
578
635
  """
579
636
  return self._Keywords
@@ -585,7 +642,6 @@ class AudioResultDetailTextResult(AbstractModel):
585
642
  @property
586
643
  def LibId(self):
587
644
  """该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
588
- 注意:此字段可能返回 null,表示取不到有效值。
589
645
  :rtype: str
590
646
  """
591
647
  return self._LibId
@@ -597,7 +653,6 @@ class AudioResultDetailTextResult(AbstractModel):
597
653
  @property
598
654
  def LibName(self):
599
655
  """该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
600
- 注意:此字段可能返回 null,表示取不到有效值。
601
656
  :rtype: str
602
657
  """
603
658
  return self._LibName
@@ -609,7 +664,6 @@ class AudioResultDetailTextResult(AbstractModel):
609
664
  @property
610
665
  def Score(self):
611
666
  """该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
612
- 注意:此字段可能返回 null,表示取不到有效值。
613
667
  :rtype: int
614
668
  """
615
669
  return self._Score
@@ -621,7 +675,6 @@ class AudioResultDetailTextResult(AbstractModel):
621
675
  @property
622
676
  def LibType(self):
623
677
  """该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
624
- 注意:此字段可能返回 null,表示取不到有效值。
625
678
  :rtype: int
626
679
  """
627
680
  return self._LibType
@@ -634,7 +687,6 @@ class AudioResultDetailTextResult(AbstractModel):
634
687
  def Suggestion(self):
635
688
  """该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
636
689
  返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
637
- 注意:此字段可能返回 null,表示取不到有效值。
638
690
  :rtype: str
639
691
  """
640
692
  return self._Suggestion
@@ -646,7 +698,6 @@ class AudioResultDetailTextResult(AbstractModel):
646
698
  @property
647
699
  def SubLabel(self):
648
700
  """该字段用于返回当前标签(Lable)下的二级标签。
649
- 注意:此字段可能返回 null,表示取不到有效值。
650
701
  :rtype: str
651
702
  """
652
703
  return self._SubLabel
@@ -655,6 +706,17 @@ class AudioResultDetailTextResult(AbstractModel):
655
706
  def SubLabel(self, SubLabel):
656
707
  self._SubLabel = SubLabel
657
708
 
709
+ @property
710
+ def HitInfos(self):
711
+ """该字段用于返回命中的关键词信息
712
+ :rtype: list of OcrHitInfo
713
+ """
714
+ return self._HitInfos
715
+
716
+ @HitInfos.setter
717
+ def HitInfos(self, HitInfos):
718
+ self._HitInfos = HitInfos
719
+
658
720
 
659
721
  def _deserialize(self, params):
660
722
  self._Label = params.get("Label")
@@ -665,6 +727,12 @@ class AudioResultDetailTextResult(AbstractModel):
665
727
  self._LibType = params.get("LibType")
666
728
  self._Suggestion = params.get("Suggestion")
667
729
  self._SubLabel = params.get("SubLabel")
730
+ if params.get("HitInfos") is not None:
731
+ self._HitInfos = []
732
+ for item in params.get("HitInfos"):
733
+ obj = OcrHitInfo()
734
+ obj._deserialize(item)
735
+ self._HitInfos.append(obj)
668
736
  memeber_set = set(params.keys())
669
737
  for name, value in vars(self).items():
670
738
  property_name = name[1:]
@@ -685,21 +753,21 @@ class AudioSegments(AbstractModel):
685
753
  :param _OffsetTime: 截帧时间。
686
754
  点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10
687
755
  直播流:该值为时间戳,例如:1594650717
688
- 注意:此字段可能返回 null,表示取不到有效值。
689
756
  :type OffsetTime: str
690
757
  :param _Result: 结果集
691
- 注意:此字段可能返回 null,表示取不到有效值。
692
758
  :type Result: :class:`tencentcloud.vm.v20210922.models.AudioResult`
759
+ :param _CreatedAt: 创建时间
760
+ :type CreatedAt: str
693
761
  """
694
762
  self._OffsetTime = None
695
763
  self._Result = None
764
+ self._CreatedAt = None
696
765
 
697
766
  @property
698
767
  def OffsetTime(self):
699
768
  """截帧时间。
700
769
  点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10
701
770
  直播流:该值为时间戳,例如:1594650717
702
- 注意:此字段可能返回 null,表示取不到有效值。
703
771
  :rtype: str
704
772
  """
705
773
  return self._OffsetTime
@@ -711,7 +779,6 @@ class AudioSegments(AbstractModel):
711
779
  @property
712
780
  def Result(self):
713
781
  """结果集
714
- 注意:此字段可能返回 null,表示取不到有效值。
715
782
  :rtype: :class:`tencentcloud.vm.v20210922.models.AudioResult`
716
783
  """
717
784
  return self._Result
@@ -720,12 +787,24 @@ class AudioSegments(AbstractModel):
720
787
  def Result(self, Result):
721
788
  self._Result = Result
722
789
 
790
+ @property
791
+ def CreatedAt(self):
792
+ """创建时间
793
+ :rtype: str
794
+ """
795
+ return self._CreatedAt
796
+
797
+ @CreatedAt.setter
798
+ def CreatedAt(self, CreatedAt):
799
+ self._CreatedAt = CreatedAt
800
+
723
801
 
724
802
  def _deserialize(self, params):
725
803
  self._OffsetTime = params.get("OffsetTime")
726
804
  if params.get("Result") is not None:
727
805
  self._Result = AudioResult()
728
806
  self._Result._deserialize(params.get("Result"))
807
+ self._CreatedAt = params.get("CreatedAt")
729
808
  memeber_set = set(params.keys())
730
809
  for name, value in vars(self).items():
731
810
  property_name = name[1:]
@@ -1720,7 +1799,6 @@ class ImageResult(AbstractModel):
1720
1799
  :param _HitFlag: 违规标志
1721
1800
  0 未命中
1722
1801
  1 命中
1723
- 注意:此字段可能返回 null,表示取不到有效值。
1724
1802
  :type HitFlag: int
1725
1803
  :param _Label: 命中的标签
1726
1804
  Porn 色情
@@ -1730,26 +1808,24 @@ Illegal 违法
1730
1808
  Abuse 谩骂
1731
1809
  Terror 暴恐
1732
1810
  Ad 广告
1733
- 注意:此字段可能返回 null,表示取不到有效值。
1734
1811
  :type Label: str
1735
1812
  :param _Suggestion: 审核建议,可选值:
1736
1813
  Pass 通过,
1737
1814
  Review 建议人审,
1738
1815
  Block 确认违规
1739
- 注意:此字段可能返回 null,表示取不到有效值。
1740
1816
  :type Suggestion: str
1741
1817
  :param _Score: 得分
1742
- 注意:此字段可能返回 null,表示取不到有效值。
1743
1818
  :type Score: int
1744
1819
  :param _Results: 画面截帧图片结果集
1745
- 注意:此字段可能返回 null,表示取不到有效值。
1746
1820
  :type Results: list of ImageResultResult
1747
1821
  :param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
1748
- 注意:此字段可能返回 null,表示取不到有效值。
1749
1822
  :type Url: str
1750
1823
  :param _Extra: 附加字段
1751
- 注意:此字段可能返回 null,表示取不到有效值。
1752
1824
  :type Extra: str
1825
+ :param _SubLabel: 二级标签
1826
+ :type SubLabel: str
1827
+ :param _RecognitionResults: 场景结果
1828
+ :type RecognitionResults: list of RecognitionResult
1753
1829
  """
1754
1830
  self._HitFlag = None
1755
1831
  self._Label = None
@@ -1758,13 +1834,14 @@ Block 确认违规
1758
1834
  self._Results = None
1759
1835
  self._Url = None
1760
1836
  self._Extra = None
1837
+ self._SubLabel = None
1838
+ self._RecognitionResults = None
1761
1839
 
1762
1840
  @property
1763
1841
  def HitFlag(self):
1764
1842
  """违规标志
1765
1843
  0 未命中
1766
1844
  1 命中
1767
- 注意:此字段可能返回 null,表示取不到有效值。
1768
1845
  :rtype: int
1769
1846
  """
1770
1847
  return self._HitFlag
@@ -1783,7 +1860,6 @@ Illegal 违法
1783
1860
  Abuse 谩骂
1784
1861
  Terror 暴恐
1785
1862
  Ad 广告
1786
- 注意:此字段可能返回 null,表示取不到有效值。
1787
1863
  :rtype: str
1788
1864
  """
1789
1865
  return self._Label
@@ -1798,7 +1874,6 @@ Ad 广告
1798
1874
  Pass 通过,
1799
1875
  Review 建议人审,
1800
1876
  Block 确认违规
1801
- 注意:此字段可能返回 null,表示取不到有效值。
1802
1877
  :rtype: str
1803
1878
  """
1804
1879
  return self._Suggestion
@@ -1810,7 +1885,6 @@ Block 确认违规
1810
1885
  @property
1811
1886
  def Score(self):
1812
1887
  """得分
1813
- 注意:此字段可能返回 null,表示取不到有效值。
1814
1888
  :rtype: int
1815
1889
  """
1816
1890
  return self._Score
@@ -1822,7 +1896,6 @@ Block 确认违规
1822
1896
  @property
1823
1897
  def Results(self):
1824
1898
  """画面截帧图片结果集
1825
- 注意:此字段可能返回 null,表示取不到有效值。
1826
1899
  :rtype: list of ImageResultResult
1827
1900
  """
1828
1901
  return self._Results
@@ -1834,7 +1907,6 @@ Block 确认违规
1834
1907
  @property
1835
1908
  def Url(self):
1836
1909
  """该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
1837
- 注意:此字段可能返回 null,表示取不到有效值。
1838
1910
  :rtype: str
1839
1911
  """
1840
1912
  return self._Url
@@ -1846,7 +1918,6 @@ Block 确认违规
1846
1918
  @property
1847
1919
  def Extra(self):
1848
1920
  """附加字段
1849
- 注意:此字段可能返回 null,表示取不到有效值。
1850
1921
  :rtype: str
1851
1922
  """
1852
1923
  return self._Extra
@@ -1855,6 +1926,28 @@ Block 确认违规
1855
1926
  def Extra(self, Extra):
1856
1927
  self._Extra = Extra
1857
1928
 
1929
+ @property
1930
+ def SubLabel(self):
1931
+ """二级标签
1932
+ :rtype: str
1933
+ """
1934
+ return self._SubLabel
1935
+
1936
+ @SubLabel.setter
1937
+ def SubLabel(self, SubLabel):
1938
+ self._SubLabel = SubLabel
1939
+
1940
+ @property
1941
+ def RecognitionResults(self):
1942
+ """场景结果
1943
+ :rtype: list of RecognitionResult
1944
+ """
1945
+ return self._RecognitionResults
1946
+
1947
+ @RecognitionResults.setter
1948
+ def RecognitionResults(self, RecognitionResults):
1949
+ self._RecognitionResults = RecognitionResults
1950
+
1858
1951
 
1859
1952
  def _deserialize(self, params):
1860
1953
  self._HitFlag = params.get("HitFlag")
@@ -1869,6 +1962,13 @@ Block 确认违规
1869
1962
  self._Results.append(obj)
1870
1963
  self._Url = params.get("Url")
1871
1964
  self._Extra = params.get("Extra")
1965
+ self._SubLabel = params.get("SubLabel")
1966
+ if params.get("RecognitionResults") is not None:
1967
+ self._RecognitionResults = []
1968
+ for item in params.get("RecognitionResults"):
1969
+ obj = RecognitionResult()
1970
+ obj._deserialize(item)
1971
+ self._RecognitionResults.append(obj)
1872
1972
  memeber_set = set(params.keys())
1873
1973
  for name, value in vars(self).items():
1874
1974
  property_name = name[1:]
@@ -2119,6 +2219,10 @@ class ImageResultsResultDetail(AbstractModel):
2119
2219
  :param _SubLabelCode: 子标签码
2120
2220
  注意:此字段可能返回 null,表示取不到有效值。
2121
2221
  :type SubLabelCode: str
2222
+ :param _SubLabel: 子标签
2223
+ :type SubLabel: str
2224
+ :param _OcrHitInfos: Ocr文本命中信息
2225
+ :type OcrHitInfos: list of OcrHitInfo
2122
2226
  """
2123
2227
  self._Name = None
2124
2228
  self._Text = None
@@ -2130,6 +2234,8 @@ class ImageResultsResultDetail(AbstractModel):
2130
2234
  self._Suggestion = None
2131
2235
  self._Score = None
2132
2236
  self._SubLabelCode = None
2237
+ self._SubLabel = None
2238
+ self._OcrHitInfos = None
2133
2239
 
2134
2240
  @property
2135
2241
  def Name(self):
@@ -2251,6 +2357,28 @@ class ImageResultsResultDetail(AbstractModel):
2251
2357
  def SubLabelCode(self, SubLabelCode):
2252
2358
  self._SubLabelCode = SubLabelCode
2253
2359
 
2360
+ @property
2361
+ def SubLabel(self):
2362
+ """子标签
2363
+ :rtype: str
2364
+ """
2365
+ return self._SubLabel
2366
+
2367
+ @SubLabel.setter
2368
+ def SubLabel(self, SubLabel):
2369
+ self._SubLabel = SubLabel
2370
+
2371
+ @property
2372
+ def OcrHitInfos(self):
2373
+ """Ocr文本命中信息
2374
+ :rtype: list of OcrHitInfo
2375
+ """
2376
+ return self._OcrHitInfos
2377
+
2378
+ @OcrHitInfos.setter
2379
+ def OcrHitInfos(self, OcrHitInfos):
2380
+ self._OcrHitInfos = OcrHitInfos
2381
+
2254
2382
 
2255
2383
  def _deserialize(self, params):
2256
2384
  self._Name = params.get("Name")
@@ -2265,6 +2393,13 @@ class ImageResultsResultDetail(AbstractModel):
2265
2393
  self._Suggestion = params.get("Suggestion")
2266
2394
  self._Score = params.get("Score")
2267
2395
  self._SubLabelCode = params.get("SubLabelCode")
2396
+ self._SubLabel = params.get("SubLabel")
2397
+ if params.get("OcrHitInfos") is not None:
2398
+ self._OcrHitInfos = []
2399
+ for item in params.get("OcrHitInfos"):
2400
+ obj = OcrHitInfo()
2401
+ obj._deserialize(item)
2402
+ self._OcrHitInfos.append(obj)
2268
2403
  memeber_set = set(params.keys())
2269
2404
  for name, value in vars(self).items():
2270
2405
  property_name = name[1:]
@@ -2394,9 +2529,15 @@ class ImageSegments(AbstractModel):
2394
2529
  :type OffsetTime: str
2395
2530
  :param _Result: 画面截帧结果详情
2396
2531
  :type Result: :class:`tencentcloud.vm.v20210922.models.ImageResult`
2532
+ :param _CreatedAt: 时间
2533
+ :type CreatedAt: str
2534
+ :param _OffsetusTime: 截帧毫秒时间
2535
+ :type OffsetusTime: str
2397
2536
  """
2398
2537
  self._OffsetTime = None
2399
2538
  self._Result = None
2539
+ self._CreatedAt = None
2540
+ self._OffsetusTime = None
2400
2541
 
2401
2542
  @property
2402
2543
  def OffsetTime(self):
@@ -2422,12 +2563,36 @@ class ImageSegments(AbstractModel):
2422
2563
  def Result(self, Result):
2423
2564
  self._Result = Result
2424
2565
 
2566
+ @property
2567
+ def CreatedAt(self):
2568
+ """时间
2569
+ :rtype: str
2570
+ """
2571
+ return self._CreatedAt
2572
+
2573
+ @CreatedAt.setter
2574
+ def CreatedAt(self, CreatedAt):
2575
+ self._CreatedAt = CreatedAt
2576
+
2577
+ @property
2578
+ def OffsetusTime(self):
2579
+ """截帧毫秒时间
2580
+ :rtype: str
2581
+ """
2582
+ return self._OffsetusTime
2583
+
2584
+ @OffsetusTime.setter
2585
+ def OffsetusTime(self, OffsetusTime):
2586
+ self._OffsetusTime = OffsetusTime
2587
+
2425
2588
 
2426
2589
  def _deserialize(self, params):
2427
2590
  self._OffsetTime = params.get("OffsetTime")
2428
2591
  if params.get("Result") is not None:
2429
2592
  self._Result = ImageResult()
2430
2593
  self._Result._deserialize(params.get("Result"))
2594
+ self._CreatedAt = params.get("CreatedAt")
2595
+ self._OffsetusTime = params.get("OffsetusTime")
2431
2596
  memeber_set = set(params.keys())
2432
2597
  for name, value in vars(self).items():
2433
2598
  property_name = name[1:]
@@ -2510,71 +2675,197 @@ class InputInfo(AbstractModel):
2510
2675
 
2511
2676
 
2512
2677
 
2513
- class MediaInfo(AbstractModel):
2514
- """媒体类型
2678
+ class LabelResult(AbstractModel):
2679
+ """歌曲识别结果
2515
2680
 
2516
2681
  """
2517
2682
 
2518
2683
  def __init__(self):
2519
2684
  r"""
2520
- :param _Codecs: 编码格式
2521
- :type Codecs: str
2522
- :param _Duration: 流检测时分片时长
2523
- 注意:此字段可能返回 0,表示取不到有效值。
2524
- :type Duration: int
2525
- :param _Width: 宽,单位为像素
2526
- :type Width: int
2527
- :param _Height: 高,单位为像素
2528
- :type Height: int
2529
- :param _Thumbnail: 封面
2530
- :type Thumbnail: str
2685
+ :param _Scene: 场景
2686
+ :type Scene: str
2687
+ :param _Suggestion: 建议
2688
+ :type Suggestion: int
2689
+ :param _Label: 标签
2690
+ :type Label: str
2691
+ :param _Name: 名字
2692
+ :type Name: str
2693
+ :param _Score: 分数
2694
+ :type Score: int
2695
+ :param _StartTime: 开始时间
2696
+ :type StartTime: float
2697
+ :param _EndTime: 结束时间
2698
+ :type EndTime: float
2531
2699
  """
2532
- self._Codecs = None
2533
- self._Duration = None
2534
- self._Width = None
2535
- self._Height = None
2536
- self._Thumbnail = None
2700
+ self._Scene = None
2701
+ self._Suggestion = None
2702
+ self._Label = None
2703
+ self._Name = None
2704
+ self._Score = None
2705
+ self._StartTime = None
2706
+ self._EndTime = None
2537
2707
 
2538
2708
  @property
2539
- def Codecs(self):
2540
- """编码格式
2709
+ def Scene(self):
2710
+ """场景
2541
2711
  :rtype: str
2542
2712
  """
2543
- return self._Codecs
2713
+ return self._Scene
2544
2714
 
2545
- @Codecs.setter
2546
- def Codecs(self, Codecs):
2547
- self._Codecs = Codecs
2715
+ @Scene.setter
2716
+ def Scene(self, Scene):
2717
+ self._Scene = Scene
2548
2718
 
2549
2719
  @property
2550
- def Duration(self):
2551
- """流检测时分片时长
2552
- 注意:此字段可能返回 0,表示取不到有效值。
2720
+ def Suggestion(self):
2721
+ """建议
2553
2722
  :rtype: int
2554
2723
  """
2555
- return self._Duration
2724
+ return self._Suggestion
2556
2725
 
2557
- @Duration.setter
2558
- def Duration(self, Duration):
2559
- self._Duration = Duration
2726
+ @Suggestion.setter
2727
+ def Suggestion(self, Suggestion):
2728
+ self._Suggestion = Suggestion
2560
2729
 
2561
2730
  @property
2562
- def Width(self):
2563
- """宽,单位为像素
2564
- :rtype: int
2731
+ def Label(self):
2732
+ """标签
2733
+ :rtype: str
2565
2734
  """
2566
- return self._Width
2735
+ return self._Label
2567
2736
 
2568
- @Width.setter
2569
- def Width(self, Width):
2570
- self._Width = Width
2737
+ @Label.setter
2738
+ def Label(self, Label):
2739
+ self._Label = Label
2571
2740
 
2572
2741
  @property
2573
- def Height(self):
2574
- """高,单位为像素
2575
- :rtype: int
2742
+ def Name(self):
2743
+ """名字
2744
+ :rtype: str
2576
2745
  """
2577
- return self._Height
2746
+ return self._Name
2747
+
2748
+ @Name.setter
2749
+ def Name(self, Name):
2750
+ self._Name = Name
2751
+
2752
+ @property
2753
+ def Score(self):
2754
+ """分数
2755
+ :rtype: int
2756
+ """
2757
+ return self._Score
2758
+
2759
+ @Score.setter
2760
+ def Score(self, Score):
2761
+ self._Score = Score
2762
+
2763
+ @property
2764
+ def StartTime(self):
2765
+ """开始时间
2766
+ :rtype: float
2767
+ """
2768
+ return self._StartTime
2769
+
2770
+ @StartTime.setter
2771
+ def StartTime(self, StartTime):
2772
+ self._StartTime = StartTime
2773
+
2774
+ @property
2775
+ def EndTime(self):
2776
+ """结束时间
2777
+ :rtype: float
2778
+ """
2779
+ return self._EndTime
2780
+
2781
+ @EndTime.setter
2782
+ def EndTime(self, EndTime):
2783
+ self._EndTime = EndTime
2784
+
2785
+
2786
+ def _deserialize(self, params):
2787
+ self._Scene = params.get("Scene")
2788
+ self._Suggestion = params.get("Suggestion")
2789
+ self._Label = params.get("Label")
2790
+ self._Name = params.get("Name")
2791
+ self._Score = params.get("Score")
2792
+ self._StartTime = params.get("StartTime")
2793
+ self._EndTime = params.get("EndTime")
2794
+ memeber_set = set(params.keys())
2795
+ for name, value in vars(self).items():
2796
+ property_name = name[1:]
2797
+ if property_name in memeber_set:
2798
+ memeber_set.remove(property_name)
2799
+ if len(memeber_set) > 0:
2800
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2801
+
2802
+
2803
+
2804
+ class MediaInfo(AbstractModel):
2805
+ """媒体类型
2806
+
2807
+ """
2808
+
2809
+ def __init__(self):
2810
+ r"""
2811
+ :param _Codecs: 编码格式
2812
+ :type Codecs: str
2813
+ :param _Duration: 流检测时分片时长
2814
+ 注意:此字段可能返回 0,表示取不到有效值。
2815
+ :type Duration: int
2816
+ :param _Width: 宽,单位为像素
2817
+ :type Width: int
2818
+ :param _Height: 高,单位为像素
2819
+ :type Height: int
2820
+ :param _Thumbnail: 封面
2821
+ :type Thumbnail: str
2822
+ """
2823
+ self._Codecs = None
2824
+ self._Duration = None
2825
+ self._Width = None
2826
+ self._Height = None
2827
+ self._Thumbnail = None
2828
+
2829
+ @property
2830
+ def Codecs(self):
2831
+ """编码格式
2832
+ :rtype: str
2833
+ """
2834
+ return self._Codecs
2835
+
2836
+ @Codecs.setter
2837
+ def Codecs(self, Codecs):
2838
+ self._Codecs = Codecs
2839
+
2840
+ @property
2841
+ def Duration(self):
2842
+ """流检测时分片时长
2843
+ 注意:此字段可能返回 0,表示取不到有效值。
2844
+ :rtype: int
2845
+ """
2846
+ return self._Duration
2847
+
2848
+ @Duration.setter
2849
+ def Duration(self, Duration):
2850
+ self._Duration = Duration
2851
+
2852
+ @property
2853
+ def Width(self):
2854
+ """宽,单位为像素
2855
+ :rtype: int
2856
+ """
2857
+ return self._Width
2858
+
2859
+ @Width.setter
2860
+ def Width(self, Width):
2861
+ self._Width = Width
2862
+
2863
+ @property
2864
+ def Height(self):
2865
+ """高,单位为像素
2866
+ :rtype: int
2867
+ """
2868
+ return self._Height
2578
2869
 
2579
2870
  @Height.setter
2580
2871
  def Height(self, Height):
@@ -2608,6 +2899,92 @@ class MediaInfo(AbstractModel):
2608
2899
 
2609
2900
 
2610
2901
 
2902
+ class OcrHitInfo(AbstractModel):
2903
+ """Ocr命中信息
2904
+
2905
+ """
2906
+
2907
+ def __init__(self):
2908
+ r"""
2909
+ :param _Type: 关键词
2910
+ :type Type: str
2911
+ :param _Keyword: 关键词内容
2912
+ :type Keyword: str
2913
+ :param _LibName: 自定义库名
2914
+ :type LibName: str
2915
+ :param _Positions: 位置信息
2916
+ :type Positions: list of TextPosition
2917
+ """
2918
+ self._Type = None
2919
+ self._Keyword = None
2920
+ self._LibName = None
2921
+ self._Positions = None
2922
+
2923
+ @property
2924
+ def Type(self):
2925
+ """关键词
2926
+ :rtype: str
2927
+ """
2928
+ return self._Type
2929
+
2930
+ @Type.setter
2931
+ def Type(self, Type):
2932
+ self._Type = Type
2933
+
2934
+ @property
2935
+ def Keyword(self):
2936
+ """关键词内容
2937
+ :rtype: str
2938
+ """
2939
+ return self._Keyword
2940
+
2941
+ @Keyword.setter
2942
+ def Keyword(self, Keyword):
2943
+ self._Keyword = Keyword
2944
+
2945
+ @property
2946
+ def LibName(self):
2947
+ """自定义库名
2948
+ :rtype: str
2949
+ """
2950
+ return self._LibName
2951
+
2952
+ @LibName.setter
2953
+ def LibName(self, LibName):
2954
+ self._LibName = LibName
2955
+
2956
+ @property
2957
+ def Positions(self):
2958
+ """位置信息
2959
+ :rtype: list of TextPosition
2960
+ """
2961
+ return self._Positions
2962
+
2963
+ @Positions.setter
2964
+ def Positions(self, Positions):
2965
+ self._Positions = Positions
2966
+
2967
+
2968
+ def _deserialize(self, params):
2969
+ self._Type = params.get("Type")
2970
+ self._Keyword = params.get("Keyword")
2971
+ self._LibName = params.get("LibName")
2972
+ if params.get("Positions") is not None:
2973
+ self._Positions = []
2974
+ for item in params.get("Positions"):
2975
+ obj = TextPosition()
2976
+ obj._deserialize(item)
2977
+ self._Positions.append(obj)
2978
+ memeber_set = set(params.keys())
2979
+ for name, value in vars(self).items():
2980
+ property_name = name[1:]
2981
+ if property_name in memeber_set:
2982
+ memeber_set.remove(property_name)
2983
+ if len(memeber_set) > 0:
2984
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2985
+
2986
+
2987
+
2611
2988
  class RcbAsr(AbstractModel):
2612
2989
  """审核切片asr文本信息
2613
2990
 
@@ -2829,6 +3206,87 @@ class SegmentCosUrlList(AbstractModel):
2829
3206
 
2830
3207
 
2831
3208
 
3209
+ class SpeakerResult(AbstractModel):
3210
+ """说话人结果
3211
+
3212
+ """
3213
+
3214
+ def __init__(self):
3215
+ r"""
3216
+ :param _Label: 标签
3217
+ :type Label: str
3218
+ :param _Score: 分数
3219
+ :type Score: int
3220
+ :param _StartTime: 开始时间
3221
+ :type StartTime: float
3222
+ :param _EndTime: 结束时间
3223
+ :type EndTime: float
3224
+ """
3225
+ self._Label = None
3226
+ self._Score = None
3227
+ self._StartTime = None
3228
+ self._EndTime = None
3229
+
3230
+ @property
3231
+ def Label(self):
3232
+ """标签
3233
+ :rtype: str
3234
+ """
3235
+ return self._Label
3236
+
3237
+ @Label.setter
3238
+ def Label(self, Label):
3239
+ self._Label = Label
3240
+
3241
+ @property
3242
+ def Score(self):
3243
+ """分数
3244
+ :rtype: int
3245
+ """
3246
+ return self._Score
3247
+
3248
+ @Score.setter
3249
+ def Score(self, Score):
3250
+ self._Score = Score
3251
+
3252
+ @property
3253
+ def StartTime(self):
3254
+ """开始时间
3255
+ :rtype: float
3256
+ """
3257
+ return self._StartTime
3258
+
3259
+ @StartTime.setter
3260
+ def StartTime(self, StartTime):
3261
+ self._StartTime = StartTime
3262
+
3263
+ @property
3264
+ def EndTime(self):
3265
+ """结束时间
3266
+ :rtype: float
3267
+ """
3268
+ return self._EndTime
3269
+
3270
+ @EndTime.setter
3271
+ def EndTime(self, EndTime):
3272
+ self._EndTime = EndTime
3273
+
3274
+
3275
+ def _deserialize(self, params):
3276
+ self._Label = params.get("Label")
3277
+ self._Score = params.get("Score")
3278
+ self._StartTime = params.get("StartTime")
3279
+ self._EndTime = params.get("EndTime")
3280
+ memeber_set = set(params.keys())
3281
+ for name, value in vars(self).items():
3282
+ property_name = name[1:]
3283
+ if property_name in memeber_set:
3284
+ memeber_set.remove(property_name)
3285
+ if len(memeber_set) > 0:
3286
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3287
+
3288
+
3289
+
2832
3290
  class StorageInfo(AbstractModel):
2833
3291
  """数据存储信息
2834
3292
 
@@ -3575,6 +4033,183 @@ class TaskResult(AbstractModel):
3575
4033
 
3576
4034
 
3577
4035
 
4036
+ class TextPosition(AbstractModel):
4037
+ """文本关键词命中的位置信息
4038
+
4039
+ """
4040
+
4041
+ def __init__(self):
4042
+ r"""
4043
+ :param _Start: 命中关键词在文本中的起始位置
4044
+ :type Start: int
4045
+ :param _End: 命中关键词在文本中的结束位置
4046
+ :type End: int
4047
+ """
4048
+ self._Start = None
4049
+ self._End = None
4050
+
4051
+ @property
4052
+ def Start(self):
4053
+ """命中关键词在文本中的起始位置
4054
+ :rtype: int
4055
+ """
4056
+ return self._Start
4057
+
4058
+ @Start.setter
4059
+ def Start(self, Start):
4060
+ self._Start = Start
4061
+
4062
+ @property
4063
+ def End(self):
4064
+ """命中关键词在文本中的结束位置
4065
+ :rtype: int
4066
+ """
4067
+ return self._End
4068
+
4069
+ @End.setter
4070
+ def End(self, End):
4071
+ self._End = End
4072
+
4073
+
4074
+ def _deserialize(self, params):
4075
+ self._Start = params.get("Start")
4076
+ self._End = params.get("End")
4077
+ memeber_set = set(params.keys())
4078
+ for name, value in vars(self).items():
4079
+ property_name = name[1:]
4080
+ if property_name in memeber_set:
4081
+ memeber_set.remove(property_name)
4082
+ if len(memeber_set) > 0:
4083
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4084
+
4085
+
4086
+
4087
+ class TravelResult(AbstractModel):
4088
+ """出行结果
4089
+
4090
+ """
4091
+
4092
+ def __init__(self):
4093
+ r"""
4094
+ :param _Label: 一级标签
4095
+ :type Label: str
4096
+ :param _SubLabel: 二级标签
4097
+ :type SubLabel: str
4098
+ :param _RiskLevel: 风险等级
4099
+ :type RiskLevel: str
4100
+ :param _AudioRole: 出行音频角色
4101
+ :type AudioRole: str
4102
+ :param _AudioText: 出行语音文本
4103
+ :type AudioText: str
4104
+ :param _StartTime: 开始时间
4105
+ :type StartTime: float
4106
+ :param _EndTime: 结束时间
4107
+ :type EndTime: float
4108
+ """
4109
+ self._Label = None
4110
+ self._SubLabel = None
4111
+ self._RiskLevel = None
4112
+ self._AudioRole = None
4113
+ self._AudioText = None
4114
+ self._StartTime = None
4115
+ self._EndTime = None
4116
+
4117
+ @property
4118
+ def Label(self):
4119
+ """一级标签
4120
+ :rtype: str
4121
+ """
4122
+ return self._Label
4123
+
4124
+ @Label.setter
4125
+ def Label(self, Label):
4126
+ self._Label = Label
4127
+
4128
+ @property
4129
+ def SubLabel(self):
4130
+ """二级标签
4131
+ :rtype: str
4132
+ """
4133
+ return self._SubLabel
4134
+
4135
+ @SubLabel.setter
4136
+ def SubLabel(self, SubLabel):
4137
+ self._SubLabel = SubLabel
4138
+
4139
+ @property
4140
+ def RiskLevel(self):
4141
+ """风险等级
4142
+ :rtype: str
4143
+ """
4144
+ return self._RiskLevel
4145
+
4146
+ @RiskLevel.setter
4147
+ def RiskLevel(self, RiskLevel):
4148
+ self._RiskLevel = RiskLevel
4149
+
4150
+ @property
4151
+ def AudioRole(self):
4152
+ """出行音频角色
4153
+ :rtype: str
4154
+ """
4155
+ return self._AudioRole
4156
+
4157
+ @AudioRole.setter
4158
+ def AudioRole(self, AudioRole):
4159
+ self._AudioRole = AudioRole
4160
+
4161
+ @property
4162
+ def AudioText(self):
4163
+ """出行语音文本
4164
+ :rtype: str
4165
+ """
4166
+ return self._AudioText
4167
+
4168
+ @AudioText.setter
4169
+ def AudioText(self, AudioText):
4170
+ self._AudioText = AudioText
4171
+
4172
+ @property
4173
+ def StartTime(self):
4174
+ """开始时间
4175
+ :rtype: float
4176
+ """
4177
+ return self._StartTime
4178
+
4179
+ @StartTime.setter
4180
+ def StartTime(self, StartTime):
4181
+ self._StartTime = StartTime
4182
+
4183
+ @property
4184
+ def EndTime(self):
4185
+ """结束时间
4186
+ :rtype: float
4187
+ """
4188
+ return self._EndTime
4189
+
4190
+ @EndTime.setter
4191
+ def EndTime(self, EndTime):
4192
+ self._EndTime = EndTime
4193
+
4194
+
4195
+ def _deserialize(self, params):
4196
+ self._Label = params.get("Label")
4197
+ self._SubLabel = params.get("SubLabel")
4198
+ self._RiskLevel = params.get("RiskLevel")
4199
+ self._AudioRole = params.get("AudioRole")
4200
+ self._AudioText = params.get("AudioText")
4201
+ self._StartTime = params.get("StartTime")
4202
+ self._EndTime = params.get("EndTime")
4203
+ memeber_set = set(params.keys())
4204
+ for name, value in vars(self).items():
4205
+ property_name = name[1:]
4206
+ if property_name in memeber_set:
4207
+ memeber_set.remove(property_name)
4208
+ if len(memeber_set) > 0:
4209
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4210
+
4211
+
4212
+
3578
4213
  class User(AbstractModel):
3579
4214
  """用户信息
3580
4215