tencentcloud-sdk-python 3.0.1360__py2.py3-none-any.whl → 3.0.1361__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bh/v20230418/bh_client.py +23 -0
- tencentcloud/bh/v20230418/models.py +139 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +6 -6
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cdwpg/v20201230/models.py +22 -198
- tencentcloud/cvm/v20170312/models.py +20 -10
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/dlc/v20210125/models.py +107 -564
- tencentcloud/dsgc/v20190723/models.py +30 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +214 -0
- tencentcloud/ess/v20201111/models.py +256 -0
- tencentcloud/essbasic/v20210526/models.py +281 -13
- tencentcloud/gaap/v20180529/models.py +0 -166
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +358 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +600 -0
- tencentcloud/kms/v20190118/models.py +71 -0
- tencentcloud/lcic/v20220817/models.py +34 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +4 -1
- tencentcloud/lighthouse/v20200324/models.py +14 -10
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +4 -4
- tencentcloud/privatedns/v20201028/models.py +6 -6
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/trocket/v20230308/models.py +1398 -66
- tencentcloud/trocket/v20230308/trocket_client.py +214 -0
- tencentcloud/wedata/v20210820/models.py +6 -6
- {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/top_level.txt +0 -0
@@ -5594,6 +5594,247 @@ class CreateTRTCSignaturesWithRoomIdResponse(AbstractModel):
|
|
5594
5594
|
self._RequestId = params.get("RequestId")
|
5595
5595
|
|
5596
5596
|
|
5597
|
+
class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
5598
|
+
"""CreateTWeSeeRecognitionTask请求参数结构体
|
5599
|
+
|
5600
|
+
"""
|
5601
|
+
|
5602
|
+
def __init__(self):
|
5603
|
+
r"""
|
5604
|
+
:param _ProductId: 产品ID
|
5605
|
+
:type ProductId: str
|
5606
|
+
:param _DeviceName: 设备名称
|
5607
|
+
:type DeviceName: str
|
5608
|
+
:param _InputURL: 输入视频 / 图片的 URL
|
5609
|
+
:type InputURL: str
|
5610
|
+
:param _CustomId: 自定义事件 ID
|
5611
|
+
:type CustomId: str
|
5612
|
+
:param _EnableSearch: 是否保存该事件使其可被搜索
|
5613
|
+
:type EnableSearch: bool
|
5614
|
+
:param _StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
5615
|
+
:type StartTimeMs: int
|
5616
|
+
:param _EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
5617
|
+
:type EndTimeMs: int
|
5618
|
+
:param _Config: 算法配置
|
5619
|
+
:type Config: str
|
5620
|
+
:param _IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
5621
|
+
:type IsCustomDevice: bool
|
5622
|
+
:param _InputType: 输入类型。可选值:
|
5623
|
+
|
5624
|
+
- `video`:视频(默认值)
|
5625
|
+
- `image`:图片
|
5626
|
+
:type InputType: str
|
5627
|
+
:param _SummaryQOS: 摘要服务质量。可选值:
|
5628
|
+
|
5629
|
+
- `minutely`:分钟级(默认值)
|
5630
|
+
- `immediate`:立即
|
5631
|
+
:type SummaryQOS: str
|
5632
|
+
"""
|
5633
|
+
self._ProductId = None
|
5634
|
+
self._DeviceName = None
|
5635
|
+
self._InputURL = None
|
5636
|
+
self._CustomId = None
|
5637
|
+
self._EnableSearch = None
|
5638
|
+
self._StartTimeMs = None
|
5639
|
+
self._EndTimeMs = None
|
5640
|
+
self._Config = None
|
5641
|
+
self._IsCustomDevice = None
|
5642
|
+
self._InputType = None
|
5643
|
+
self._SummaryQOS = None
|
5644
|
+
|
5645
|
+
@property
|
5646
|
+
def ProductId(self):
|
5647
|
+
"""产品ID
|
5648
|
+
:rtype: str
|
5649
|
+
"""
|
5650
|
+
return self._ProductId
|
5651
|
+
|
5652
|
+
@ProductId.setter
|
5653
|
+
def ProductId(self, ProductId):
|
5654
|
+
self._ProductId = ProductId
|
5655
|
+
|
5656
|
+
@property
|
5657
|
+
def DeviceName(self):
|
5658
|
+
"""设备名称
|
5659
|
+
:rtype: str
|
5660
|
+
"""
|
5661
|
+
return self._DeviceName
|
5662
|
+
|
5663
|
+
@DeviceName.setter
|
5664
|
+
def DeviceName(self, DeviceName):
|
5665
|
+
self._DeviceName = DeviceName
|
5666
|
+
|
5667
|
+
@property
|
5668
|
+
def InputURL(self):
|
5669
|
+
"""输入视频 / 图片的 URL
|
5670
|
+
:rtype: str
|
5671
|
+
"""
|
5672
|
+
return self._InputURL
|
5673
|
+
|
5674
|
+
@InputURL.setter
|
5675
|
+
def InputURL(self, InputURL):
|
5676
|
+
self._InputURL = InputURL
|
5677
|
+
|
5678
|
+
@property
|
5679
|
+
def CustomId(self):
|
5680
|
+
"""自定义事件 ID
|
5681
|
+
:rtype: str
|
5682
|
+
"""
|
5683
|
+
return self._CustomId
|
5684
|
+
|
5685
|
+
@CustomId.setter
|
5686
|
+
def CustomId(self, CustomId):
|
5687
|
+
self._CustomId = CustomId
|
5688
|
+
|
5689
|
+
@property
|
5690
|
+
def EnableSearch(self):
|
5691
|
+
"""是否保存该事件使其可被搜索
|
5692
|
+
:rtype: bool
|
5693
|
+
"""
|
5694
|
+
return self._EnableSearch
|
5695
|
+
|
5696
|
+
@EnableSearch.setter
|
5697
|
+
def EnableSearch(self, EnableSearch):
|
5698
|
+
self._EnableSearch = EnableSearch
|
5699
|
+
|
5700
|
+
@property
|
5701
|
+
def StartTimeMs(self):
|
5702
|
+
"""事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
5703
|
+
:rtype: int
|
5704
|
+
"""
|
5705
|
+
return self._StartTimeMs
|
5706
|
+
|
5707
|
+
@StartTimeMs.setter
|
5708
|
+
def StartTimeMs(self, StartTimeMs):
|
5709
|
+
self._StartTimeMs = StartTimeMs
|
5710
|
+
|
5711
|
+
@property
|
5712
|
+
def EndTimeMs(self):
|
5713
|
+
"""事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
5714
|
+
:rtype: int
|
5715
|
+
"""
|
5716
|
+
return self._EndTimeMs
|
5717
|
+
|
5718
|
+
@EndTimeMs.setter
|
5719
|
+
def EndTimeMs(self, EndTimeMs):
|
5720
|
+
self._EndTimeMs = EndTimeMs
|
5721
|
+
|
5722
|
+
@property
|
5723
|
+
def Config(self):
|
5724
|
+
"""算法配置
|
5725
|
+
:rtype: str
|
5726
|
+
"""
|
5727
|
+
return self._Config
|
5728
|
+
|
5729
|
+
@Config.setter
|
5730
|
+
def Config(self, Config):
|
5731
|
+
self._Config = Config
|
5732
|
+
|
5733
|
+
@property
|
5734
|
+
def IsCustomDevice(self):
|
5735
|
+
"""是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
5736
|
+
:rtype: bool
|
5737
|
+
"""
|
5738
|
+
return self._IsCustomDevice
|
5739
|
+
|
5740
|
+
@IsCustomDevice.setter
|
5741
|
+
def IsCustomDevice(self, IsCustomDevice):
|
5742
|
+
self._IsCustomDevice = IsCustomDevice
|
5743
|
+
|
5744
|
+
@property
|
5745
|
+
def InputType(self):
|
5746
|
+
"""输入类型。可选值:
|
5747
|
+
|
5748
|
+
- `video`:视频(默认值)
|
5749
|
+
- `image`:图片
|
5750
|
+
:rtype: str
|
5751
|
+
"""
|
5752
|
+
return self._InputType
|
5753
|
+
|
5754
|
+
@InputType.setter
|
5755
|
+
def InputType(self, InputType):
|
5756
|
+
self._InputType = InputType
|
5757
|
+
|
5758
|
+
@property
|
5759
|
+
def SummaryQOS(self):
|
5760
|
+
"""摘要服务质量。可选值:
|
5761
|
+
|
5762
|
+
- `minutely`:分钟级(默认值)
|
5763
|
+
- `immediate`:立即
|
5764
|
+
:rtype: str
|
5765
|
+
"""
|
5766
|
+
return self._SummaryQOS
|
5767
|
+
|
5768
|
+
@SummaryQOS.setter
|
5769
|
+
def SummaryQOS(self, SummaryQOS):
|
5770
|
+
self._SummaryQOS = SummaryQOS
|
5771
|
+
|
5772
|
+
|
5773
|
+
def _deserialize(self, params):
|
5774
|
+
self._ProductId = params.get("ProductId")
|
5775
|
+
self._DeviceName = params.get("DeviceName")
|
5776
|
+
self._InputURL = params.get("InputURL")
|
5777
|
+
self._CustomId = params.get("CustomId")
|
5778
|
+
self._EnableSearch = params.get("EnableSearch")
|
5779
|
+
self._StartTimeMs = params.get("StartTimeMs")
|
5780
|
+
self._EndTimeMs = params.get("EndTimeMs")
|
5781
|
+
self._Config = params.get("Config")
|
5782
|
+
self._IsCustomDevice = params.get("IsCustomDevice")
|
5783
|
+
self._InputType = params.get("InputType")
|
5784
|
+
self._SummaryQOS = params.get("SummaryQOS")
|
5785
|
+
memeber_set = set(params.keys())
|
5786
|
+
for name, value in vars(self).items():
|
5787
|
+
property_name = name[1:]
|
5788
|
+
if property_name in memeber_set:
|
5789
|
+
memeber_set.remove(property_name)
|
5790
|
+
if len(memeber_set) > 0:
|
5791
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5792
|
+
|
5793
|
+
|
5794
|
+
|
5795
|
+
class CreateTWeSeeRecognitionTaskResponse(AbstractModel):
|
5796
|
+
"""CreateTWeSeeRecognitionTask返回参数结构体
|
5797
|
+
|
5798
|
+
"""
|
5799
|
+
|
5800
|
+
def __init__(self):
|
5801
|
+
r"""
|
5802
|
+
:param _TaskId: 任务 ID
|
5803
|
+
:type TaskId: str
|
5804
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5805
|
+
:type RequestId: str
|
5806
|
+
"""
|
5807
|
+
self._TaskId = None
|
5808
|
+
self._RequestId = None
|
5809
|
+
|
5810
|
+
@property
|
5811
|
+
def TaskId(self):
|
5812
|
+
"""任务 ID
|
5813
|
+
:rtype: str
|
5814
|
+
"""
|
5815
|
+
return self._TaskId
|
5816
|
+
|
5817
|
+
@TaskId.setter
|
5818
|
+
def TaskId(self, TaskId):
|
5819
|
+
self._TaskId = TaskId
|
5820
|
+
|
5821
|
+
@property
|
5822
|
+
def RequestId(self):
|
5823
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5824
|
+
:rtype: str
|
5825
|
+
"""
|
5826
|
+
return self._RequestId
|
5827
|
+
|
5828
|
+
@RequestId.setter
|
5829
|
+
def RequestId(self, RequestId):
|
5830
|
+
self._RequestId = RequestId
|
5831
|
+
|
5832
|
+
|
5833
|
+
def _deserialize(self, params):
|
5834
|
+
self._TaskId = params.get("TaskId")
|
5835
|
+
self._RequestId = params.get("RequestId")
|
5836
|
+
|
5837
|
+
|
5597
5838
|
class CreateTopicPolicyRequest(AbstractModel):
|
5598
5839
|
"""CreateTopicPolicy请求参数结构体
|
5599
5840
|
|
@@ -20032,6 +20273,279 @@ class InvokeExternalSourceAIServiceTaskResponse(AbstractModel):
|
|
20032
20273
|
self._RequestId = params.get("RequestId")
|
20033
20274
|
|
20034
20275
|
|
20276
|
+
class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
20277
|
+
"""InvokeTWeSeeRecognitionTask请求参数结构体
|
20278
|
+
|
20279
|
+
"""
|
20280
|
+
|
20281
|
+
def __init__(self):
|
20282
|
+
r"""
|
20283
|
+
:param _ProductId: 产品ID
|
20284
|
+
:type ProductId: str
|
20285
|
+
:param _DeviceName: 设备名称
|
20286
|
+
:type DeviceName: str
|
20287
|
+
:param _InputURL: 输入视频 / 图片的 URL
|
20288
|
+
:type InputURL: str
|
20289
|
+
:param _CustomId: 自定义事件 ID
|
20290
|
+
:type CustomId: str
|
20291
|
+
:param _EnableSearch: 是否保存该事件使其可被搜索
|
20292
|
+
:type EnableSearch: bool
|
20293
|
+
:param _StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
20294
|
+
:type StartTimeMs: int
|
20295
|
+
:param _EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
20296
|
+
:type EndTimeMs: int
|
20297
|
+
:param _Config: 算法配置
|
20298
|
+
:type Config: str
|
20299
|
+
:param _IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
20300
|
+
:type IsCustomDevice: bool
|
20301
|
+
:param _InputType: 输入类型。可选值:
|
20302
|
+
|
20303
|
+
- `video`:视频(默认值)
|
20304
|
+
- `image`:图片
|
20305
|
+
:type InputType: str
|
20306
|
+
:param _SummaryQOS: 摘要服务质量。可选值:
|
20307
|
+
|
20308
|
+
- `minutely`:分钟级(默认值)
|
20309
|
+
- `immediate`:立即
|
20310
|
+
:type SummaryQOS: str
|
20311
|
+
"""
|
20312
|
+
self._ProductId = None
|
20313
|
+
self._DeviceName = None
|
20314
|
+
self._InputURL = None
|
20315
|
+
self._CustomId = None
|
20316
|
+
self._EnableSearch = None
|
20317
|
+
self._StartTimeMs = None
|
20318
|
+
self._EndTimeMs = None
|
20319
|
+
self._Config = None
|
20320
|
+
self._IsCustomDevice = None
|
20321
|
+
self._InputType = None
|
20322
|
+
self._SummaryQOS = None
|
20323
|
+
|
20324
|
+
@property
|
20325
|
+
def ProductId(self):
|
20326
|
+
"""产品ID
|
20327
|
+
:rtype: str
|
20328
|
+
"""
|
20329
|
+
return self._ProductId
|
20330
|
+
|
20331
|
+
@ProductId.setter
|
20332
|
+
def ProductId(self, ProductId):
|
20333
|
+
self._ProductId = ProductId
|
20334
|
+
|
20335
|
+
@property
|
20336
|
+
def DeviceName(self):
|
20337
|
+
"""设备名称
|
20338
|
+
:rtype: str
|
20339
|
+
"""
|
20340
|
+
return self._DeviceName
|
20341
|
+
|
20342
|
+
@DeviceName.setter
|
20343
|
+
def DeviceName(self, DeviceName):
|
20344
|
+
self._DeviceName = DeviceName
|
20345
|
+
|
20346
|
+
@property
|
20347
|
+
def InputURL(self):
|
20348
|
+
"""输入视频 / 图片的 URL
|
20349
|
+
:rtype: str
|
20350
|
+
"""
|
20351
|
+
return self._InputURL
|
20352
|
+
|
20353
|
+
@InputURL.setter
|
20354
|
+
def InputURL(self, InputURL):
|
20355
|
+
self._InputURL = InputURL
|
20356
|
+
|
20357
|
+
@property
|
20358
|
+
def CustomId(self):
|
20359
|
+
"""自定义事件 ID
|
20360
|
+
:rtype: str
|
20361
|
+
"""
|
20362
|
+
return self._CustomId
|
20363
|
+
|
20364
|
+
@CustomId.setter
|
20365
|
+
def CustomId(self, CustomId):
|
20366
|
+
self._CustomId = CustomId
|
20367
|
+
|
20368
|
+
@property
|
20369
|
+
def EnableSearch(self):
|
20370
|
+
"""是否保存该事件使其可被搜索
|
20371
|
+
:rtype: bool
|
20372
|
+
"""
|
20373
|
+
return self._EnableSearch
|
20374
|
+
|
20375
|
+
@EnableSearch.setter
|
20376
|
+
def EnableSearch(self, EnableSearch):
|
20377
|
+
self._EnableSearch = EnableSearch
|
20378
|
+
|
20379
|
+
@property
|
20380
|
+
def StartTimeMs(self):
|
20381
|
+
"""事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
20382
|
+
:rtype: int
|
20383
|
+
"""
|
20384
|
+
return self._StartTimeMs
|
20385
|
+
|
20386
|
+
@StartTimeMs.setter
|
20387
|
+
def StartTimeMs(self, StartTimeMs):
|
20388
|
+
self._StartTimeMs = StartTimeMs
|
20389
|
+
|
20390
|
+
@property
|
20391
|
+
def EndTimeMs(self):
|
20392
|
+
"""事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
20393
|
+
:rtype: int
|
20394
|
+
"""
|
20395
|
+
return self._EndTimeMs
|
20396
|
+
|
20397
|
+
@EndTimeMs.setter
|
20398
|
+
def EndTimeMs(self, EndTimeMs):
|
20399
|
+
self._EndTimeMs = EndTimeMs
|
20400
|
+
|
20401
|
+
@property
|
20402
|
+
def Config(self):
|
20403
|
+
"""算法配置
|
20404
|
+
:rtype: str
|
20405
|
+
"""
|
20406
|
+
return self._Config
|
20407
|
+
|
20408
|
+
@Config.setter
|
20409
|
+
def Config(self, Config):
|
20410
|
+
self._Config = Config
|
20411
|
+
|
20412
|
+
@property
|
20413
|
+
def IsCustomDevice(self):
|
20414
|
+
"""是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
20415
|
+
:rtype: bool
|
20416
|
+
"""
|
20417
|
+
return self._IsCustomDevice
|
20418
|
+
|
20419
|
+
@IsCustomDevice.setter
|
20420
|
+
def IsCustomDevice(self, IsCustomDevice):
|
20421
|
+
self._IsCustomDevice = IsCustomDevice
|
20422
|
+
|
20423
|
+
@property
|
20424
|
+
def InputType(self):
|
20425
|
+
"""输入类型。可选值:
|
20426
|
+
|
20427
|
+
- `video`:视频(默认值)
|
20428
|
+
- `image`:图片
|
20429
|
+
:rtype: str
|
20430
|
+
"""
|
20431
|
+
return self._InputType
|
20432
|
+
|
20433
|
+
@InputType.setter
|
20434
|
+
def InputType(self, InputType):
|
20435
|
+
self._InputType = InputType
|
20436
|
+
|
20437
|
+
@property
|
20438
|
+
def SummaryQOS(self):
|
20439
|
+
"""摘要服务质量。可选值:
|
20440
|
+
|
20441
|
+
- `minutely`:分钟级(默认值)
|
20442
|
+
- `immediate`:立即
|
20443
|
+
:rtype: str
|
20444
|
+
"""
|
20445
|
+
return self._SummaryQOS
|
20446
|
+
|
20447
|
+
@SummaryQOS.setter
|
20448
|
+
def SummaryQOS(self, SummaryQOS):
|
20449
|
+
self._SummaryQOS = SummaryQOS
|
20450
|
+
|
20451
|
+
|
20452
|
+
def _deserialize(self, params):
|
20453
|
+
self._ProductId = params.get("ProductId")
|
20454
|
+
self._DeviceName = params.get("DeviceName")
|
20455
|
+
self._InputURL = params.get("InputURL")
|
20456
|
+
self._CustomId = params.get("CustomId")
|
20457
|
+
self._EnableSearch = params.get("EnableSearch")
|
20458
|
+
self._StartTimeMs = params.get("StartTimeMs")
|
20459
|
+
self._EndTimeMs = params.get("EndTimeMs")
|
20460
|
+
self._Config = params.get("Config")
|
20461
|
+
self._IsCustomDevice = params.get("IsCustomDevice")
|
20462
|
+
self._InputType = params.get("InputType")
|
20463
|
+
self._SummaryQOS = params.get("SummaryQOS")
|
20464
|
+
memeber_set = set(params.keys())
|
20465
|
+
for name, value in vars(self).items():
|
20466
|
+
property_name = name[1:]
|
20467
|
+
if property_name in memeber_set:
|
20468
|
+
memeber_set.remove(property_name)
|
20469
|
+
if len(memeber_set) > 0:
|
20470
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20471
|
+
|
20472
|
+
|
20473
|
+
|
20474
|
+
class InvokeTWeSeeRecognitionTaskResponse(AbstractModel):
|
20475
|
+
"""InvokeTWeSeeRecognitionTask返回参数结构体
|
20476
|
+
|
20477
|
+
"""
|
20478
|
+
|
20479
|
+
def __init__(self):
|
20480
|
+
r"""
|
20481
|
+
:param _TaskId: 任务 ID
|
20482
|
+
:type TaskId: str
|
20483
|
+
:param _Completed: 任务是否执行完成
|
20484
|
+
:type Completed: bool
|
20485
|
+
:param _Result: 语义理解任务结果(仅当 Completed 为 true 时包含该出参)
|
20486
|
+
:type Result: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionResult`
|
20487
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20488
|
+
:type RequestId: str
|
20489
|
+
"""
|
20490
|
+
self._TaskId = None
|
20491
|
+
self._Completed = None
|
20492
|
+
self._Result = None
|
20493
|
+
self._RequestId = None
|
20494
|
+
|
20495
|
+
@property
|
20496
|
+
def TaskId(self):
|
20497
|
+
"""任务 ID
|
20498
|
+
:rtype: str
|
20499
|
+
"""
|
20500
|
+
return self._TaskId
|
20501
|
+
|
20502
|
+
@TaskId.setter
|
20503
|
+
def TaskId(self, TaskId):
|
20504
|
+
self._TaskId = TaskId
|
20505
|
+
|
20506
|
+
@property
|
20507
|
+
def Completed(self):
|
20508
|
+
"""任务是否执行完成
|
20509
|
+
:rtype: bool
|
20510
|
+
"""
|
20511
|
+
return self._Completed
|
20512
|
+
|
20513
|
+
@Completed.setter
|
20514
|
+
def Completed(self, Completed):
|
20515
|
+
self._Completed = Completed
|
20516
|
+
|
20517
|
+
@property
|
20518
|
+
def Result(self):
|
20519
|
+
"""语义理解任务结果(仅当 Completed 为 true 时包含该出参)
|
20520
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionResult`
|
20521
|
+
"""
|
20522
|
+
return self._Result
|
20523
|
+
|
20524
|
+
@Result.setter
|
20525
|
+
def Result(self, Result):
|
20526
|
+
self._Result = Result
|
20527
|
+
|
20528
|
+
@property
|
20529
|
+
def RequestId(self):
|
20530
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20531
|
+
:rtype: str
|
20532
|
+
"""
|
20533
|
+
return self._RequestId
|
20534
|
+
|
20535
|
+
@RequestId.setter
|
20536
|
+
def RequestId(self, RequestId):
|
20537
|
+
self._RequestId = RequestId
|
20538
|
+
|
20539
|
+
|
20540
|
+
def _deserialize(self, params):
|
20541
|
+
self._TaskId = params.get("TaskId")
|
20542
|
+
self._Completed = params.get("Completed")
|
20543
|
+
if params.get("Result") is not None:
|
20544
|
+
self._Result = VisionRecognitionResult()
|
20545
|
+
self._Result._deserialize(params.get("Result"))
|
20546
|
+
self._RequestId = params.get("RequestId")
|
20547
|
+
|
20548
|
+
|
20035
20549
|
class IotApplication(AbstractModel):
|
20036
20550
|
"""应用信息
|
20037
20551
|
|
@@ -28566,6 +29080,92 @@ class VideoLicenseEntity(AbstractModel):
|
|
28566
29080
|
|
28567
29081
|
|
28568
29082
|
|
29083
|
+
class VisionRecognitionResult(AbstractModel):
|
29084
|
+
"""TWeSee 语义理解结果
|
29085
|
+
|
29086
|
+
"""
|
29087
|
+
|
29088
|
+
def __init__(self):
|
29089
|
+
r"""
|
29090
|
+
:param _Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空)
|
29091
|
+
:type Status: int
|
29092
|
+
:param _DetectedClassifications: 识别到的目标类型。可能取值:
|
29093
|
+
|
29094
|
+
- `person`:人
|
29095
|
+
- `vehicle`:车辆
|
29096
|
+
- `dog`:狗
|
29097
|
+
- `cat`:猫
|
29098
|
+
- `fire`:火焰
|
29099
|
+
- `smoke`:烟雾
|
29100
|
+
- `package`:快递包裹
|
29101
|
+
- `license_plate`:车牌
|
29102
|
+
|
29103
|
+
:type DetectedClassifications: list of str
|
29104
|
+
:param _Summary: 视频摘要文本
|
29105
|
+
:type Summary: str
|
29106
|
+
"""
|
29107
|
+
self._Status = None
|
29108
|
+
self._DetectedClassifications = None
|
29109
|
+
self._Summary = None
|
29110
|
+
|
29111
|
+
@property
|
29112
|
+
def Status(self):
|
29113
|
+
"""任务状态(1:失败;2:成功但结果为空;3:成功且结果非空)
|
29114
|
+
:rtype: int
|
29115
|
+
"""
|
29116
|
+
return self._Status
|
29117
|
+
|
29118
|
+
@Status.setter
|
29119
|
+
def Status(self, Status):
|
29120
|
+
self._Status = Status
|
29121
|
+
|
29122
|
+
@property
|
29123
|
+
def DetectedClassifications(self):
|
29124
|
+
"""识别到的目标类型。可能取值:
|
29125
|
+
|
29126
|
+
- `person`:人
|
29127
|
+
- `vehicle`:车辆
|
29128
|
+
- `dog`:狗
|
29129
|
+
- `cat`:猫
|
29130
|
+
- `fire`:火焰
|
29131
|
+
- `smoke`:烟雾
|
29132
|
+
- `package`:快递包裹
|
29133
|
+
- `license_plate`:车牌
|
29134
|
+
|
29135
|
+
:rtype: list of str
|
29136
|
+
"""
|
29137
|
+
return self._DetectedClassifications
|
29138
|
+
|
29139
|
+
@DetectedClassifications.setter
|
29140
|
+
def DetectedClassifications(self, DetectedClassifications):
|
29141
|
+
self._DetectedClassifications = DetectedClassifications
|
29142
|
+
|
29143
|
+
@property
|
29144
|
+
def Summary(self):
|
29145
|
+
"""视频摘要文本
|
29146
|
+
:rtype: str
|
29147
|
+
"""
|
29148
|
+
return self._Summary
|
29149
|
+
|
29150
|
+
@Summary.setter
|
29151
|
+
def Summary(self, Summary):
|
29152
|
+
self._Summary = Summary
|
29153
|
+
|
29154
|
+
|
29155
|
+
def _deserialize(self, params):
|
29156
|
+
self._Status = params.get("Status")
|
29157
|
+
self._DetectedClassifications = params.get("DetectedClassifications")
|
29158
|
+
self._Summary = params.get("Summary")
|
29159
|
+
memeber_set = set(params.keys())
|
29160
|
+
for name, value in vars(self).items():
|
29161
|
+
property_name = name[1:]
|
29162
|
+
if property_name in memeber_set:
|
29163
|
+
memeber_set.remove(property_name)
|
29164
|
+
if len(memeber_set) > 0:
|
29165
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29166
|
+
|
29167
|
+
|
29168
|
+
|
28569
29169
|
class WXDeviceInfo(AbstractModel):
|
28570
29170
|
"""微信硬件设备信息
|
28571
29171
|
|