tencentcloud-sdk-python-iotexplorer 3.1.197__tar.gz → 3.1.218__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/setup.py +1 -1
  3. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  6. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
  7. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/iotexplorer/v20190423/models.py +471 -36
  8. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_iotexplorer-3.1.218/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_iotexplorer-3.1.197/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/README.rst +0 -0
  12. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/iotexplorer/__init__.py +0 -0
  14. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
  15. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_iotexplorer-3.1.197 → tencentcloud_sdk_python_iotexplorer-3.1.218}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.1.197
3
+ Version: 3.1.218
4
4
  Summary: Tencent Cloud Iotexplorer SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.197
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.218
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-iotexplorer',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.197,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.218,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Iotexplorer SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.197'
17
+ __version__ = '3.1.218'
@@ -380,6 +380,9 @@ INVALIDPARAMETERVALUE_PUSHENVIRONMENTINVALID = 'InvalidParameterValue.PushEnviro
380
380
  # 转发的topic格式错误。
381
381
  INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = 'InvalidParameterValue.RepublishTopicFormatError'
382
382
 
383
+ # 规则名冲突:该名称已存在于其他实例下,errmsg 会附上冲突规则所在的实例 ID(旧规则为 ins-unknown)
384
+ INVALIDPARAMETERVALUE_RULENAMECONFLICT = 'InvalidParameterValue.RuleNameConflict'
385
+
383
386
  # 规则数量超过限制。
384
387
  INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = 'InvalidParameterValue.RuleNumberBeyondLimit'
385
388
 
@@ -2341,6 +2341,29 @@ class IotexplorerClient(AbstractClient):
2341
2341
  raise TencentCloudSDKException(type(e).__name__, str(e))
2342
2342
 
2343
2343
 
2344
+ def DescribeDeviceCloudStoragePackages(self, request):
2345
+ r"""查询设备云存套餐
2346
+
2347
+ :param request: Request instance for DescribeDeviceCloudStoragePackages.
2348
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceCloudStoragePackagesRequest`
2349
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceCloudStoragePackagesResponse`
2350
+
2351
+ """
2352
+ try:
2353
+ params = request._serialize()
2354
+ headers = request.headers
2355
+ body = self.call("DescribeDeviceCloudStoragePackages", params, headers=headers)
2356
+ response = json.loads(body)
2357
+ model = models.DescribeDeviceCloudStoragePackagesResponse()
2358
+ model._deserialize(response["Response"])
2359
+ return model
2360
+ except Exception as e:
2361
+ if isinstance(e, TencentCloudSDKException):
2362
+ raise
2363
+ else:
2364
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2365
+
2366
+
2344
2367
  def DescribeDeviceData(self, request):
2345
2368
  r"""根据设备产品ID、设备名称,获取设备上报的属性数据。
2346
2369
 
@@ -1845,6 +1845,24 @@ class IotexplorerClient(AbstractClient):
1845
1845
 
1846
1846
  return await self.call_and_deserialize(**kwargs)
1847
1847
 
1848
+ async def DescribeDeviceCloudStoragePackages(
1849
+ self,
1850
+ request: models.DescribeDeviceCloudStoragePackagesRequest,
1851
+ opts: Dict = None,
1852
+ ) -> models.DescribeDeviceCloudStoragePackagesResponse:
1853
+ """
1854
+ 查询设备云存套餐
1855
+ """
1856
+
1857
+ kwargs = {}
1858
+ kwargs["action"] = "DescribeDeviceCloudStoragePackages"
1859
+ kwargs["params"] = request._serialize()
1860
+ kwargs["resp_cls"] = models.DescribeDeviceCloudStoragePackagesResponse
1861
+ kwargs["headers"] = request.headers
1862
+ kwargs["opts"] = opts or {}
1863
+
1864
+ return await self.call_and_deserialize(**kwargs)
1865
+
1848
1866
  async def DescribeDeviceData(
1849
1867
  self,
1850
1868
  request: models.DescribeDeviceDataRequest,
@@ -10370,17 +10370,20 @@ class CreateTopicRuleRequest(AbstractModel):
10370
10370
 
10371
10371
  def __init__(self):
10372
10372
  r"""
10373
- :param _RuleName: 规则名称
10373
+ :param _RuleName: <p>规则名称</p>
10374
10374
  :type RuleName: str
10375
- :param _TopicRulePayload: 规则内容
10375
+ :param _TopicRulePayload: <p>规则内容</p>
10376
10376
  :type TopicRulePayload: :class:`tencentcloud.iotexplorer.v20190423.models.TopicRulePayload`
10377
+ :param _InstanceId: <p>实例id</p>
10378
+ :type InstanceId: str
10377
10379
  """
10378
10380
  self._RuleName = None
10379
10381
  self._TopicRulePayload = None
10382
+ self._InstanceId = None
10380
10383
 
10381
10384
  @property
10382
10385
  def RuleName(self):
10383
- r"""规则名称
10386
+ r"""<p>规则名称</p>
10384
10387
  :rtype: str
10385
10388
  """
10386
10389
  return self._RuleName
@@ -10391,7 +10394,7 @@ class CreateTopicRuleRequest(AbstractModel):
10391
10394
 
10392
10395
  @property
10393
10396
  def TopicRulePayload(self):
10394
- r"""规则内容
10397
+ r"""<p>规则内容</p>
10395
10398
  :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.TopicRulePayload`
10396
10399
  """
10397
10400
  return self._TopicRulePayload
@@ -10400,12 +10403,24 @@ class CreateTopicRuleRequest(AbstractModel):
10400
10403
  def TopicRulePayload(self, TopicRulePayload):
10401
10404
  self._TopicRulePayload = TopicRulePayload
10402
10405
 
10406
+ @property
10407
+ def InstanceId(self):
10408
+ r"""<p>实例id</p>
10409
+ :rtype: str
10410
+ """
10411
+ return self._InstanceId
10412
+
10413
+ @InstanceId.setter
10414
+ def InstanceId(self, InstanceId):
10415
+ self._InstanceId = InstanceId
10416
+
10403
10417
 
10404
10418
  def _deserialize(self, params):
10405
10419
  self._RuleName = params.get("RuleName")
10406
10420
  if params.get("TopicRulePayload") is not None:
10407
10421
  self._TopicRulePayload = TopicRulePayload()
10408
10422
  self._TopicRulePayload._deserialize(params.get("TopicRulePayload"))
10423
+ self._InstanceId = params.get("InstanceId")
10409
10424
  memeber_set = set(params.keys())
10410
10425
  for name, value in vars(self).items():
10411
10426
  property_name = name[1:]
@@ -16493,6 +16508,150 @@ class DescribeDeviceBindGatewayResponse(AbstractModel):
16493
16508
  self._RequestId = params.get("RequestId")
16494
16509
 
16495
16510
 
16511
+ class DescribeDeviceCloudStoragePackagesRequest(AbstractModel):
16512
+ r"""DescribeDeviceCloudStoragePackages请求参数结构体
16513
+
16514
+ """
16515
+
16516
+ def __init__(self):
16517
+ r"""
16518
+ :param _ProductId: <p>产品id</p>
16519
+ :type ProductId: str
16520
+ :param _DeviceName: <p>设备名</p>
16521
+ :type DeviceName: str
16522
+ :param _ChannelId: <p>通道id</p>
16523
+ :type ChannelId: int
16524
+ :param _MediaType: <p>云存类别</p><p>枚举值:</p><ul><li>video: 视频云存</li><li>image: 图片云存</li></ul>
16525
+ :type MediaType: str
16526
+ """
16527
+ self._ProductId = None
16528
+ self._DeviceName = None
16529
+ self._ChannelId = None
16530
+ self._MediaType = None
16531
+
16532
+ @property
16533
+ def ProductId(self):
16534
+ r"""<p>产品id</p>
16535
+ :rtype: str
16536
+ """
16537
+ return self._ProductId
16538
+
16539
+ @ProductId.setter
16540
+ def ProductId(self, ProductId):
16541
+ self._ProductId = ProductId
16542
+
16543
+ @property
16544
+ def DeviceName(self):
16545
+ r"""<p>设备名</p>
16546
+ :rtype: str
16547
+ """
16548
+ return self._DeviceName
16549
+
16550
+ @DeviceName.setter
16551
+ def DeviceName(self, DeviceName):
16552
+ self._DeviceName = DeviceName
16553
+
16554
+ @property
16555
+ def ChannelId(self):
16556
+ r"""<p>通道id</p>
16557
+ :rtype: int
16558
+ """
16559
+ return self._ChannelId
16560
+
16561
+ @ChannelId.setter
16562
+ def ChannelId(self, ChannelId):
16563
+ self._ChannelId = ChannelId
16564
+
16565
+ @property
16566
+ def MediaType(self):
16567
+ r"""<p>云存类别</p><p>枚举值:</p><ul><li>video: 视频云存</li><li>image: 图片云存</li></ul>
16568
+ :rtype: str
16569
+ """
16570
+ return self._MediaType
16571
+
16572
+ @MediaType.setter
16573
+ def MediaType(self, MediaType):
16574
+ self._MediaType = MediaType
16575
+
16576
+
16577
+ def _deserialize(self, params):
16578
+ self._ProductId = params.get("ProductId")
16579
+ self._DeviceName = params.get("DeviceName")
16580
+ self._ChannelId = params.get("ChannelId")
16581
+ self._MediaType = params.get("MediaType")
16582
+ memeber_set = set(params.keys())
16583
+ for name, value in vars(self).items():
16584
+ property_name = name[1:]
16585
+ if property_name in memeber_set:
16586
+ memeber_set.remove(property_name)
16587
+ if len(memeber_set) > 0:
16588
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16589
+
16590
+
16591
+
16592
+ class DescribeDeviceCloudStoragePackagesResponse(AbstractModel):
16593
+ r"""DescribeDeviceCloudStoragePackages返回参数结构体
16594
+
16595
+ """
16596
+
16597
+ def __init__(self):
16598
+ r"""
16599
+ :param _Packages: <p>套餐包相关数据</p>
16600
+ :type Packages: list of NewCloudStoragePackage
16601
+ :param _TotalCount: <p>套餐总数</p>
16602
+ :type TotalCount: int
16603
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16604
+ :type RequestId: str
16605
+ """
16606
+ self._Packages = None
16607
+ self._TotalCount = None
16608
+ self._RequestId = None
16609
+
16610
+ @property
16611
+ def Packages(self):
16612
+ r"""<p>套餐包相关数据</p>
16613
+ :rtype: list of NewCloudStoragePackage
16614
+ """
16615
+ return self._Packages
16616
+
16617
+ @Packages.setter
16618
+ def Packages(self, Packages):
16619
+ self._Packages = Packages
16620
+
16621
+ @property
16622
+ def TotalCount(self):
16623
+ r"""<p>套餐总数</p>
16624
+ :rtype: int
16625
+ """
16626
+ return self._TotalCount
16627
+
16628
+ @TotalCount.setter
16629
+ def TotalCount(self, TotalCount):
16630
+ self._TotalCount = TotalCount
16631
+
16632
+ @property
16633
+ def RequestId(self):
16634
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16635
+ :rtype: str
16636
+ """
16637
+ return self._RequestId
16638
+
16639
+ @RequestId.setter
16640
+ def RequestId(self, RequestId):
16641
+ self._RequestId = RequestId
16642
+
16643
+
16644
+ def _deserialize(self, params):
16645
+ if params.get("Packages") is not None:
16646
+ self._Packages = []
16647
+ for item in params.get("Packages"):
16648
+ obj = NewCloudStoragePackage()
16649
+ obj._deserialize(item)
16650
+ self._Packages.append(obj)
16651
+ self._TotalCount = params.get("TotalCount")
16652
+ self._RequestId = params.get("RequestId")
16653
+
16654
+
16496
16655
  class DescribeDeviceDataHistoryRequest(AbstractModel):
16497
16656
  r"""DescribeDeviceDataHistory请求参数结构体
16498
16657
 
@@ -29111,17 +29270,20 @@ class GetTopicRuleListRequest(AbstractModel):
29111
29270
 
29112
29271
  def __init__(self):
29113
29272
  r"""
29114
- :param _PageNum: 请求的页数
29273
+ :param _PageNum: <p>请求的页数</p>
29115
29274
  :type PageNum: int
29116
- :param _PageSize: 分页的大小
29275
+ :param _PageSize: <p>分页的大小</p>
29117
29276
  :type PageSize: int
29277
+ :param _InstanceId: <p>实例id</p>
29278
+ :type InstanceId: str
29118
29279
  """
29119
29280
  self._PageNum = None
29120
29281
  self._PageSize = None
29282
+ self._InstanceId = None
29121
29283
 
29122
29284
  @property
29123
29285
  def PageNum(self):
29124
- r"""请求的页数
29286
+ r"""<p>请求的页数</p>
29125
29287
  :rtype: int
29126
29288
  """
29127
29289
  return self._PageNum
@@ -29132,7 +29294,7 @@ class GetTopicRuleListRequest(AbstractModel):
29132
29294
 
29133
29295
  @property
29134
29296
  def PageSize(self):
29135
- r"""分页的大小
29297
+ r"""<p>分页的大小</p>
29136
29298
  :rtype: int
29137
29299
  """
29138
29300
  return self._PageSize
@@ -29141,10 +29303,22 @@ class GetTopicRuleListRequest(AbstractModel):
29141
29303
  def PageSize(self, PageSize):
29142
29304
  self._PageSize = PageSize
29143
29305
 
29306
+ @property
29307
+ def InstanceId(self):
29308
+ r"""<p>实例id</p>
29309
+ :rtype: str
29310
+ """
29311
+ return self._InstanceId
29312
+
29313
+ @InstanceId.setter
29314
+ def InstanceId(self, InstanceId):
29315
+ self._InstanceId = InstanceId
29316
+
29144
29317
 
29145
29318
  def _deserialize(self, params):
29146
29319
  self._PageNum = params.get("PageNum")
29147
29320
  self._PageSize = params.get("PageSize")
29321
+ self._InstanceId = params.get("InstanceId")
29148
29322
  memeber_set = set(params.keys())
29149
29323
  for name, value in vars(self).items():
29150
29324
  property_name = name[1:]
@@ -29162,9 +29336,9 @@ class GetTopicRuleListResponse(AbstractModel):
29162
29336
 
29163
29337
  def __init__(self):
29164
29338
  r"""
29165
- :param _TotalCnt: 规则总数量
29339
+ :param _TotalCnt: <p>规则总数量</p>
29166
29340
  :type TotalCnt: int
29167
- :param _Rules: 规则列表
29341
+ :param _Rules: <p>规则列表</p>
29168
29342
  :type Rules: list of TopicRuleInfo
29169
29343
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29170
29344
  :type RequestId: str
@@ -29175,7 +29349,7 @@ class GetTopicRuleListResponse(AbstractModel):
29175
29349
 
29176
29350
  @property
29177
29351
  def TotalCnt(self):
29178
- r"""规则总数量
29352
+ r"""<p>规则总数量</p>
29179
29353
  :rtype: int
29180
29354
  """
29181
29355
  return self._TotalCnt
@@ -29186,7 +29360,7 @@ class GetTopicRuleListResponse(AbstractModel):
29186
29360
 
29187
29361
  @property
29188
29362
  def Rules(self):
29189
- r"""规则列表
29363
+ r"""<p>规则列表</p>
29190
29364
  :rtype: list of TopicRuleInfo
29191
29365
  """
29192
29366
  return self._Rules
@@ -38398,6 +38572,222 @@ class ModifyTopicRuleResponse(AbstractModel):
38398
38572
  self._RequestId = params.get("RequestId")
38399
38573
 
38400
38574
 
38575
+ class NewCloudStoragePackage(AbstractModel):
38576
+ r"""新云存套餐相关参数
38577
+
38578
+ """
38579
+
38580
+ def __init__(self):
38581
+ r"""
38582
+ :param _ResourceId: <p>资源id</p>
38583
+ :type ResourceId: str
38584
+ :param _MediaType: <p>媒体类型</p><p>枚举值:</p><ul><li>image: 图片套餐</li><li>video: 视频套餐</li></ul>
38585
+ :type MediaType: str
38586
+ :param _RetentionDays: <p>存储天数</p><p>枚举值:</p><ul><li>3: 存储3天</li><li>7: 存储7天</li><li>15: 存储15天</li><li>30: 存储30天</li></ul>
38587
+ :type RetentionDays: int
38588
+ :param _RecordingMode: <p>录制模式</p><p>枚举值:</p><ul><li>low_power: 2小时/日</li><li>event: 8小时/日</li><li>full_time: 24小时/日</li></ul>
38589
+ :type RecordingMode: str
38590
+ :param _Bitrate: <p>码率</p><p>枚举值:</p><ul><li>0.5m: 0.5Mbps</li><li>1m: 1Mbps</li><li>1.5m: 1.5Mbps</li><li>2m: 2Mbps</li></ul>
38591
+ :type Bitrate: str
38592
+ :param _StartTime: <p>开始时间</p>
38593
+ :type StartTime: int
38594
+ :param _ExpireTime: <p>过期时间</p>
38595
+ :type ExpireTime: int
38596
+ :param _Status: <p>套餐状态</p><p>枚举值:</p><ul><li>active: 生效中</li><li>queued: 排队中</li></ul>
38597
+ :type Status: str
38598
+ :param _ReportEnabled: <p>启停状态</p><p>枚举值:</p><ul><li>0: 停用</li><li>1: 启用</li></ul>
38599
+ :type ReportEnabled: int
38600
+ :param _OrderId: <p>订单id</p>
38601
+ :type OrderId: str
38602
+ :param _BigDealId: <p>大订单号</p>
38603
+ :type BigDealId: str
38604
+ :param _ValidityPeriod: <p>卡有效期类型</p><p>枚举值:</p><ul><li>monthly_card: 月卡</li><li>annual_card: 年卡</li></ul>
38605
+ :type ValidityPeriod: str
38606
+ :param _ImageCapacity: <p>图片档位</p><p>枚举值:</p><ul><li>300: 300张/日</li><li>1000: 1000张/日</li></ul>
38607
+ :type ImageCapacity: str
38608
+ """
38609
+ self._ResourceId = None
38610
+ self._MediaType = None
38611
+ self._RetentionDays = None
38612
+ self._RecordingMode = None
38613
+ self._Bitrate = None
38614
+ self._StartTime = None
38615
+ self._ExpireTime = None
38616
+ self._Status = None
38617
+ self._ReportEnabled = None
38618
+ self._OrderId = None
38619
+ self._BigDealId = None
38620
+ self._ValidityPeriod = None
38621
+ self._ImageCapacity = None
38622
+
38623
+ @property
38624
+ def ResourceId(self):
38625
+ r"""<p>资源id</p>
38626
+ :rtype: str
38627
+ """
38628
+ return self._ResourceId
38629
+
38630
+ @ResourceId.setter
38631
+ def ResourceId(self, ResourceId):
38632
+ self._ResourceId = ResourceId
38633
+
38634
+ @property
38635
+ def MediaType(self):
38636
+ r"""<p>媒体类型</p><p>枚举值:</p><ul><li>image: 图片套餐</li><li>video: 视频套餐</li></ul>
38637
+ :rtype: str
38638
+ """
38639
+ return self._MediaType
38640
+
38641
+ @MediaType.setter
38642
+ def MediaType(self, MediaType):
38643
+ self._MediaType = MediaType
38644
+
38645
+ @property
38646
+ def RetentionDays(self):
38647
+ r"""<p>存储天数</p><p>枚举值:</p><ul><li>3: 存储3天</li><li>7: 存储7天</li><li>15: 存储15天</li><li>30: 存储30天</li></ul>
38648
+ :rtype: int
38649
+ """
38650
+ return self._RetentionDays
38651
+
38652
+ @RetentionDays.setter
38653
+ def RetentionDays(self, RetentionDays):
38654
+ self._RetentionDays = RetentionDays
38655
+
38656
+ @property
38657
+ def RecordingMode(self):
38658
+ r"""<p>录制模式</p><p>枚举值:</p><ul><li>low_power: 2小时/日</li><li>event: 8小时/日</li><li>full_time: 24小时/日</li></ul>
38659
+ :rtype: str
38660
+ """
38661
+ return self._RecordingMode
38662
+
38663
+ @RecordingMode.setter
38664
+ def RecordingMode(self, RecordingMode):
38665
+ self._RecordingMode = RecordingMode
38666
+
38667
+ @property
38668
+ def Bitrate(self):
38669
+ r"""<p>码率</p><p>枚举值:</p><ul><li>0.5m: 0.5Mbps</li><li>1m: 1Mbps</li><li>1.5m: 1.5Mbps</li><li>2m: 2Mbps</li></ul>
38670
+ :rtype: str
38671
+ """
38672
+ return self._Bitrate
38673
+
38674
+ @Bitrate.setter
38675
+ def Bitrate(self, Bitrate):
38676
+ self._Bitrate = Bitrate
38677
+
38678
+ @property
38679
+ def StartTime(self):
38680
+ r"""<p>开始时间</p>
38681
+ :rtype: int
38682
+ """
38683
+ return self._StartTime
38684
+
38685
+ @StartTime.setter
38686
+ def StartTime(self, StartTime):
38687
+ self._StartTime = StartTime
38688
+
38689
+ @property
38690
+ def ExpireTime(self):
38691
+ r"""<p>过期时间</p>
38692
+ :rtype: int
38693
+ """
38694
+ return self._ExpireTime
38695
+
38696
+ @ExpireTime.setter
38697
+ def ExpireTime(self, ExpireTime):
38698
+ self._ExpireTime = ExpireTime
38699
+
38700
+ @property
38701
+ def Status(self):
38702
+ r"""<p>套餐状态</p><p>枚举值:</p><ul><li>active: 生效中</li><li>queued: 排队中</li></ul>
38703
+ :rtype: str
38704
+ """
38705
+ return self._Status
38706
+
38707
+ @Status.setter
38708
+ def Status(self, Status):
38709
+ self._Status = Status
38710
+
38711
+ @property
38712
+ def ReportEnabled(self):
38713
+ r"""<p>启停状态</p><p>枚举值:</p><ul><li>0: 停用</li><li>1: 启用</li></ul>
38714
+ :rtype: int
38715
+ """
38716
+ return self._ReportEnabled
38717
+
38718
+ @ReportEnabled.setter
38719
+ def ReportEnabled(self, ReportEnabled):
38720
+ self._ReportEnabled = ReportEnabled
38721
+
38722
+ @property
38723
+ def OrderId(self):
38724
+ r"""<p>订单id</p>
38725
+ :rtype: str
38726
+ """
38727
+ return self._OrderId
38728
+
38729
+ @OrderId.setter
38730
+ def OrderId(self, OrderId):
38731
+ self._OrderId = OrderId
38732
+
38733
+ @property
38734
+ def BigDealId(self):
38735
+ r"""<p>大订单号</p>
38736
+ :rtype: str
38737
+ """
38738
+ return self._BigDealId
38739
+
38740
+ @BigDealId.setter
38741
+ def BigDealId(self, BigDealId):
38742
+ self._BigDealId = BigDealId
38743
+
38744
+ @property
38745
+ def ValidityPeriod(self):
38746
+ r"""<p>卡有效期类型</p><p>枚举值:</p><ul><li>monthly_card: 月卡</li><li>annual_card: 年卡</li></ul>
38747
+ :rtype: str
38748
+ """
38749
+ return self._ValidityPeriod
38750
+
38751
+ @ValidityPeriod.setter
38752
+ def ValidityPeriod(self, ValidityPeriod):
38753
+ self._ValidityPeriod = ValidityPeriod
38754
+
38755
+ @property
38756
+ def ImageCapacity(self):
38757
+ r"""<p>图片档位</p><p>枚举值:</p><ul><li>300: 300张/日</li><li>1000: 1000张/日</li></ul>
38758
+ :rtype: str
38759
+ """
38760
+ return self._ImageCapacity
38761
+
38762
+ @ImageCapacity.setter
38763
+ def ImageCapacity(self, ImageCapacity):
38764
+ self._ImageCapacity = ImageCapacity
38765
+
38766
+
38767
+ def _deserialize(self, params):
38768
+ self._ResourceId = params.get("ResourceId")
38769
+ self._MediaType = params.get("MediaType")
38770
+ self._RetentionDays = params.get("RetentionDays")
38771
+ self._RecordingMode = params.get("RecordingMode")
38772
+ self._Bitrate = params.get("Bitrate")
38773
+ self._StartTime = params.get("StartTime")
38774
+ self._ExpireTime = params.get("ExpireTime")
38775
+ self._Status = params.get("Status")
38776
+ self._ReportEnabled = params.get("ReportEnabled")
38777
+ self._OrderId = params.get("OrderId")
38778
+ self._BigDealId = params.get("BigDealId")
38779
+ self._ValidityPeriod = params.get("ValidityPeriod")
38780
+ self._ImageCapacity = params.get("ImageCapacity")
38781
+ memeber_set = set(params.keys())
38782
+ for name, value in vars(self).items():
38783
+ property_name = name[1:]
38784
+ if property_name in memeber_set:
38785
+ memeber_set.remove(property_name)
38786
+ if len(memeber_set) > 0:
38787
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
38788
+
38789
+
38790
+
38401
38791
  class OperateTWeSeeDirectUploadObjectRequest(AbstractModel):
38402
38792
  r"""OperateTWeSeeDirectUploadObject请求参数结构体
38403
38793
 
@@ -43163,14 +43553,17 @@ class SearchTopicRuleRequest(AbstractModel):
43163
43553
 
43164
43554
  def __init__(self):
43165
43555
  r"""
43166
- :param _RuleName: 规则名
43556
+ :param _RuleName: <p>规则名</p>
43167
43557
  :type RuleName: str
43558
+ :param _InstanceId: <p>实例id</p>
43559
+ :type InstanceId: str
43168
43560
  """
43169
43561
  self._RuleName = None
43562
+ self._InstanceId = None
43170
43563
 
43171
43564
  @property
43172
43565
  def RuleName(self):
43173
- r"""规则名
43566
+ r"""<p>规则名</p>
43174
43567
  :rtype: str
43175
43568
  """
43176
43569
  return self._RuleName
@@ -43179,9 +43572,21 @@ class SearchTopicRuleRequest(AbstractModel):
43179
43572
  def RuleName(self, RuleName):
43180
43573
  self._RuleName = RuleName
43181
43574
 
43575
+ @property
43576
+ def InstanceId(self):
43577
+ r"""<p>实例id</p>
43578
+ :rtype: str
43579
+ """
43580
+ return self._InstanceId
43581
+
43582
+ @InstanceId.setter
43583
+ def InstanceId(self, InstanceId):
43584
+ self._InstanceId = InstanceId
43585
+
43182
43586
 
43183
43587
  def _deserialize(self, params):
43184
43588
  self._RuleName = params.get("RuleName")
43589
+ self._InstanceId = params.get("InstanceId")
43185
43590
  memeber_set = set(params.keys())
43186
43591
  for name, value in vars(self).items():
43187
43592
  property_name = name[1:]
@@ -43199,9 +43604,9 @@ class SearchTopicRuleResponse(AbstractModel):
43199
43604
 
43200
43605
  def __init__(self):
43201
43606
  r"""
43202
- :param _TotalCnt: 搜索到的规则总数
43607
+ :param _TotalCnt: <p>搜索到的规则总数</p>
43203
43608
  :type TotalCnt: int
43204
- :param _Rules: 规则信息列表
43609
+ :param _Rules: <p>规则信息列表</p>
43205
43610
  :type Rules: list of TopicRuleInfo
43206
43611
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
43207
43612
  :type RequestId: str
@@ -43212,7 +43617,7 @@ class SearchTopicRuleResponse(AbstractModel):
43212
43617
 
43213
43618
  @property
43214
43619
  def TotalCnt(self):
43215
- r"""搜索到的规则总数
43620
+ r"""<p>搜索到的规则总数</p>
43216
43621
  :rtype: int
43217
43622
  """
43218
43623
  return self._TotalCnt
@@ -43223,7 +43628,7 @@ class SearchTopicRuleResponse(AbstractModel):
43223
43628
 
43224
43629
  @property
43225
43630
  def Rules(self):
43226
- r"""规则信息列表
43631
+ r"""<p>规则信息列表</p>
43227
43632
  :rtype: list of TopicRuleInfo
43228
43633
  """
43229
43634
  return self._Rules
@@ -49185,26 +49590,29 @@ class TopicRule(AbstractModel):
49185
49590
 
49186
49591
  def __init__(self):
49187
49592
  r"""
49188
- :param _RuleName: 规则名称。
49593
+ :param _RuleName: <p>规则名称。</p>
49189
49594
  :type RuleName: str
49190
- :param _Sql: 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
49595
+ :param _Sql: <p>规则的SQL语句,如: SELECT * FROM &#39;pid/dname/event&#39;,然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==</p>
49191
49596
  :type Sql: str
49192
- :param _Description: 规则描述。
49597
+ :param _Description: <p>规则描述。</p>
49193
49598
  :type Description: str
49194
- :param _Actions: 行为的JSON字符串。
49599
+ :param _Actions: <p>行为的JSON字符串。</p>
49195
49600
  :type Actions: str
49196
- :param _RuleDisabled: 是否禁用规则
49601
+ :param _RuleDisabled: <p>是否禁用规则</p>
49197
49602
  :type RuleDisabled: bool
49603
+ :param _InstanceId: <p>实例id</p>
49604
+ :type InstanceId: str
49198
49605
  """
49199
49606
  self._RuleName = None
49200
49607
  self._Sql = None
49201
49608
  self._Description = None
49202
49609
  self._Actions = None
49203
49610
  self._RuleDisabled = None
49611
+ self._InstanceId = None
49204
49612
 
49205
49613
  @property
49206
49614
  def RuleName(self):
49207
- r"""规则名称。
49615
+ r"""<p>规则名称。</p>
49208
49616
  :rtype: str
49209
49617
  """
49210
49618
  return self._RuleName
@@ -49215,7 +49623,7 @@ class TopicRule(AbstractModel):
49215
49623
 
49216
49624
  @property
49217
49625
  def Sql(self):
49218
- r"""规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
49626
+ r"""<p>规则的SQL语句,如: SELECT * FROM &#39;pid/dname/event&#39;,然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==</p>
49219
49627
  :rtype: str
49220
49628
  """
49221
49629
  return self._Sql
@@ -49226,7 +49634,7 @@ class TopicRule(AbstractModel):
49226
49634
 
49227
49635
  @property
49228
49636
  def Description(self):
49229
- r"""规则描述。
49637
+ r"""<p>规则描述。</p>
49230
49638
  :rtype: str
49231
49639
  """
49232
49640
  return self._Description
@@ -49237,7 +49645,7 @@ class TopicRule(AbstractModel):
49237
49645
 
49238
49646
  @property
49239
49647
  def Actions(self):
49240
- r"""行为的JSON字符串。
49648
+ r"""<p>行为的JSON字符串。</p>
49241
49649
  :rtype: str
49242
49650
  """
49243
49651
  return self._Actions
@@ -49248,7 +49656,7 @@ class TopicRule(AbstractModel):
49248
49656
 
49249
49657
  @property
49250
49658
  def RuleDisabled(self):
49251
- r"""是否禁用规则
49659
+ r"""<p>是否禁用规则</p>
49252
49660
  :rtype: bool
49253
49661
  """
49254
49662
  return self._RuleDisabled
@@ -49257,6 +49665,17 @@ class TopicRule(AbstractModel):
49257
49665
  def RuleDisabled(self, RuleDisabled):
49258
49666
  self._RuleDisabled = RuleDisabled
49259
49667
 
49668
+ @property
49669
+ def InstanceId(self):
49670
+ r"""<p>实例id</p>
49671
+ :rtype: str
49672
+ """
49673
+ return self._InstanceId
49674
+
49675
+ @InstanceId.setter
49676
+ def InstanceId(self, InstanceId):
49677
+ self._InstanceId = InstanceId
49678
+
49260
49679
 
49261
49680
  def _deserialize(self, params):
49262
49681
  self._RuleName = params.get("RuleName")
@@ -49264,6 +49683,7 @@ class TopicRule(AbstractModel):
49264
49683
  self._Description = params.get("Description")
49265
49684
  self._Actions = params.get("Actions")
49266
49685
  self._RuleDisabled = params.get("RuleDisabled")
49686
+ self._InstanceId = params.get("InstanceId")
49267
49687
  memeber_set = set(params.keys())
49268
49688
  for name, value in vars(self).items():
49269
49689
  property_name = name[1:]
@@ -49281,23 +49701,26 @@ class TopicRuleInfo(AbstractModel):
49281
49701
 
49282
49702
  def __init__(self):
49283
49703
  r"""
49284
- :param _RuleName: 规则名称
49704
+ :param _RuleName: <p>规则名称</p>
49285
49705
  :type RuleName: str
49286
- :param _Description: 规则描述
49706
+ :param _Description: <p>规则描述</p>
49287
49707
  :type Description: str
49288
- :param _CreatedAt: 创建时间
49708
+ :param _CreatedAt: <p>创建时间</p>
49289
49709
  :type CreatedAt: int
49290
- :param _RuleDisabled: 规则是否禁用
49710
+ :param _RuleDisabled: <p>规则是否禁用</p>
49291
49711
  :type RuleDisabled: bool
49712
+ :param _InstanceId: <p>实例id</p>
49713
+ :type InstanceId: str
49292
49714
  """
49293
49715
  self._RuleName = None
49294
49716
  self._Description = None
49295
49717
  self._CreatedAt = None
49296
49718
  self._RuleDisabled = None
49719
+ self._InstanceId = None
49297
49720
 
49298
49721
  @property
49299
49722
  def RuleName(self):
49300
- r"""规则名称
49723
+ r"""<p>规则名称</p>
49301
49724
  :rtype: str
49302
49725
  """
49303
49726
  return self._RuleName
@@ -49308,7 +49731,7 @@ class TopicRuleInfo(AbstractModel):
49308
49731
 
49309
49732
  @property
49310
49733
  def Description(self):
49311
- r"""规则描述
49734
+ r"""<p>规则描述</p>
49312
49735
  :rtype: str
49313
49736
  """
49314
49737
  return self._Description
@@ -49319,7 +49742,7 @@ class TopicRuleInfo(AbstractModel):
49319
49742
 
49320
49743
  @property
49321
49744
  def CreatedAt(self):
49322
- r"""创建时间
49745
+ r"""<p>创建时间</p>
49323
49746
  :rtype: int
49324
49747
  """
49325
49748
  return self._CreatedAt
@@ -49330,7 +49753,7 @@ class TopicRuleInfo(AbstractModel):
49330
49753
 
49331
49754
  @property
49332
49755
  def RuleDisabled(self):
49333
- r"""规则是否禁用
49756
+ r"""<p>规则是否禁用</p>
49334
49757
  :rtype: bool
49335
49758
  """
49336
49759
  return self._RuleDisabled
@@ -49339,12 +49762,24 @@ class TopicRuleInfo(AbstractModel):
49339
49762
  def RuleDisabled(self, RuleDisabled):
49340
49763
  self._RuleDisabled = RuleDisabled
49341
49764
 
49765
+ @property
49766
+ def InstanceId(self):
49767
+ r"""<p>实例id</p>
49768
+ :rtype: str
49769
+ """
49770
+ return self._InstanceId
49771
+
49772
+ @InstanceId.setter
49773
+ def InstanceId(self, InstanceId):
49774
+ self._InstanceId = InstanceId
49775
+
49342
49776
 
49343
49777
  def _deserialize(self, params):
49344
49778
  self._RuleName = params.get("RuleName")
49345
49779
  self._Description = params.get("Description")
49346
49780
  self._CreatedAt = params.get("CreatedAt")
49347
49781
  self._RuleDisabled = params.get("RuleDisabled")
49782
+ self._InstanceId = params.get("InstanceId")
49348
49783
  memeber_set = set(params.keys())
49349
49784
  for name, value in vars(self).items():
49350
49785
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.1.197
3
+ Version: 3.1.218
4
4
  Summary: Tencent Cloud Iotexplorer SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.197
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.218
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.218
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.197