tencentcloud-sdk-python-iotexplorer 3.0.1176__py2.py3-none-any.whl → 3.0.1186__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1176'
17
+ __version__ = '3.0.1186'
@@ -25,7 +25,7 @@ class ActivateTWeCallLicenseRequest(AbstractModel):
25
25
 
26
26
  def __init__(self):
27
27
  r"""
28
- :param _PkgType: TWecall类型: 1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景
28
+ :param _PkgType: TWecall类型: 0-测试激活码; 1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景
29
29
  :type PkgType: int
30
30
  :param _MiniProgramAppId: appId
31
31
  :type MiniProgramAppId: str
@@ -87,11 +87,23 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
87
87
 
88
88
  def __init__(self):
89
89
  r"""
90
+ :param _DeviceList: 设备激活返回数据
91
+ 注意:此字段可能返回 null,表示取不到有效值。
92
+ :type DeviceList: list of DeviceActiveResult
90
93
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
91
94
  :type RequestId: str
92
95
  """
96
+ self._DeviceList = None
93
97
  self._RequestId = None
94
98
 
99
+ @property
100
+ def DeviceList(self):
101
+ return self._DeviceList
102
+
103
+ @DeviceList.setter
104
+ def DeviceList(self, DeviceList):
105
+ self._DeviceList = DeviceList
106
+
95
107
  @property
96
108
  def RequestId(self):
97
109
  return self._RequestId
@@ -102,6 +114,12 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
102
114
 
103
115
 
104
116
  def _deserialize(self, params):
117
+ if params.get("DeviceList") is not None:
118
+ self._DeviceList = []
119
+ for item in params.get("DeviceList"):
120
+ obj = DeviceActiveResult()
121
+ obj._deserialize(item)
122
+ self._DeviceList.append(obj)
105
123
  self._RequestId = params.get("RequestId")
106
124
 
107
125
 
@@ -1521,11 +1539,19 @@ class CloudStorageEvent(AbstractModel):
1521
1539
  :type Thumbnail: str
1522
1540
  :param _EventId: 事件ID
1523
1541
  :type EventId: str
1542
+ :param _UploadStatus: 事件录像上传状态,Finished: 全部上传成功 Partial: 部分上传成功 Failed: 上传失败
1543
+ 注意:此字段可能返回 null,表示取不到有效值。
1544
+ :type UploadStatus: str
1545
+ :param _Data: 事件自定义数据
1546
+ 注意:此字段可能返回 null,表示取不到有效值。
1547
+ :type Data: str
1524
1548
  """
1525
1549
  self._StartTime = None
1526
1550
  self._EndTime = None
1527
1551
  self._Thumbnail = None
1528
1552
  self._EventId = None
1553
+ self._UploadStatus = None
1554
+ self._Data = None
1529
1555
 
1530
1556
  @property
1531
1557
  def StartTime(self):
@@ -1559,12 +1585,30 @@ class CloudStorageEvent(AbstractModel):
1559
1585
  def EventId(self, EventId):
1560
1586
  self._EventId = EventId
1561
1587
 
1588
+ @property
1589
+ def UploadStatus(self):
1590
+ return self._UploadStatus
1591
+
1592
+ @UploadStatus.setter
1593
+ def UploadStatus(self, UploadStatus):
1594
+ self._UploadStatus = UploadStatus
1595
+
1596
+ @property
1597
+ def Data(self):
1598
+ return self._Data
1599
+
1600
+ @Data.setter
1601
+ def Data(self, Data):
1602
+ self._Data = Data
1603
+
1562
1604
 
1563
1605
  def _deserialize(self, params):
1564
1606
  self._StartTime = params.get("StartTime")
1565
1607
  self._EndTime = params.get("EndTime")
1566
1608
  self._Thumbnail = params.get("Thumbnail")
1567
1609
  self._EventId = params.get("EventId")
1610
+ self._UploadStatus = params.get("UploadStatus")
1611
+ self._Data = params.get("Data")
1568
1612
  memeber_set = set(params.keys())
1569
1613
  for name, value in vars(self).items():
1570
1614
  property_name = name[1:]
@@ -8362,19 +8406,7 @@ class DescribeFirmwareUpdateStatusResponse(AbstractModel):
8362
8406
  :param _DstVersion: 升级任务目标版本。
8363
8407
  注意:此字段可能返回 null,表示取不到有效值。
8364
8408
  :type DstVersion: str
8365
- :param _Status: 升级状态:
8366
-
8367
- - 0:设备离线。
8368
- - 1:待处理。
8369
- - 2:消息下发成功。
8370
- - 3:下载中。
8371
- - 4:烧录中。
8372
- - 5:失败。
8373
- - 6:升级完成。
8374
- - 7:正在处理中。
8375
- - 8:等待用户确认。
8376
- - 20:下载完成。
8377
-
8409
+ :param _Status: 升级状态:- 0:设备离线。- 1:待处理。- 2:消息下发成功。- 3:下载中。- 4:烧录中。- 5:失败。- 6:升级完成。- 7:正在处理中。- 8:等待用户确认。- 10:升级超时。- 20:下载完成。
8378
8410
  :type Status: int
8379
8411
  :param _Percent: 进度
8380
8412
  注意:此字段可能返回 null,表示取不到有效值。
@@ -9921,6 +9953,66 @@ class DescribeTopicRuleResponse(AbstractModel):
9921
9953
  self._RequestId = params.get("RequestId")
9922
9954
 
9923
9955
 
9956
+ class DeviceActiveResult(AbstractModel):
9957
+ """设备激活结果数据
9958
+
9959
+ """
9960
+
9961
+ def __init__(self):
9962
+ r"""
9963
+ :param _ModelId: 模版ID
9964
+ 注意:此字段可能返回 null,表示取不到有效值。
9965
+ :type ModelId: str
9966
+ :param _Sn: SN信息
9967
+ 注意:此字段可能返回 null,表示取不到有效值。
9968
+ :type Sn: str
9969
+ :param _ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
9970
+ 注意:此字段可能返回 null,表示取不到有效值。
9971
+ :type ErrCode: int
9972
+ """
9973
+ self._ModelId = None
9974
+ self._Sn = None
9975
+ self._ErrCode = None
9976
+
9977
+ @property
9978
+ def ModelId(self):
9979
+ return self._ModelId
9980
+
9981
+ @ModelId.setter
9982
+ def ModelId(self, ModelId):
9983
+ self._ModelId = ModelId
9984
+
9985
+ @property
9986
+ def Sn(self):
9987
+ return self._Sn
9988
+
9989
+ @Sn.setter
9990
+ def Sn(self, Sn):
9991
+ self._Sn = Sn
9992
+
9993
+ @property
9994
+ def ErrCode(self):
9995
+ return self._ErrCode
9996
+
9997
+ @ErrCode.setter
9998
+ def ErrCode(self, ErrCode):
9999
+ self._ErrCode = ErrCode
10000
+
10001
+
10002
+ def _deserialize(self, params):
10003
+ self._ModelId = params.get("ModelId")
10004
+ self._Sn = params.get("Sn")
10005
+ self._ErrCode = params.get("ErrCode")
10006
+ memeber_set = set(params.keys())
10007
+ for name, value in vars(self).items():
10008
+ property_name = name[1:]
10009
+ if property_name in memeber_set:
10010
+ memeber_set.remove(property_name)
10011
+ if len(memeber_set) > 0:
10012
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10013
+
10014
+
10015
+
9924
10016
  class DeviceData(AbstractModel):
9925
10017
  """DeviceData
9926
10018
 
@@ -13542,11 +13634,15 @@ class GetTWeCallPkgListResponse(AbstractModel):
13542
13634
  :type TWeCallPkgList: list of TWeCallPkgInfo
13543
13635
  :param _Total: 总数
13544
13636
  :type Total: int
13637
+ :param _TWeCallCategoryPkgList: 分类统计
13638
+ 注意:此字段可能返回 null,表示取不到有效值。
13639
+ :type TWeCallCategoryPkgList: list of TWeCallCategoryPkgInfo
13545
13640
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13546
13641
  :type RequestId: str
13547
13642
  """
13548
13643
  self._TWeCallPkgList = None
13549
13644
  self._Total = None
13645
+ self._TWeCallCategoryPkgList = None
13550
13646
  self._RequestId = None
13551
13647
 
13552
13648
  @property
@@ -13565,6 +13661,14 @@ class GetTWeCallPkgListResponse(AbstractModel):
13565
13661
  def Total(self, Total):
13566
13662
  self._Total = Total
13567
13663
 
13664
+ @property
13665
+ def TWeCallCategoryPkgList(self):
13666
+ return self._TWeCallCategoryPkgList
13667
+
13668
+ @TWeCallCategoryPkgList.setter
13669
+ def TWeCallCategoryPkgList(self, TWeCallCategoryPkgList):
13670
+ self._TWeCallCategoryPkgList = TWeCallCategoryPkgList
13671
+
13568
13672
  @property
13569
13673
  def RequestId(self):
13570
13674
  return self._RequestId
@@ -13582,6 +13686,12 @@ class GetTWeCallPkgListResponse(AbstractModel):
13582
13686
  obj._deserialize(item)
13583
13687
  self._TWeCallPkgList.append(obj)
13584
13688
  self._Total = params.get("Total")
13689
+ if params.get("TWeCallCategoryPkgList") is not None:
13690
+ self._TWeCallCategoryPkgList = []
13691
+ for item in params.get("TWeCallCategoryPkgList"):
13692
+ obj = TWeCallCategoryPkgInfo()
13693
+ obj._deserialize(item)
13694
+ self._TWeCallCategoryPkgList.append(obj)
13585
13695
  self._RequestId = params.get("RequestId")
13586
13696
 
13587
13697
 
@@ -18983,6 +19093,66 @@ class TWeCallActiveInfo(AbstractModel):
18983
19093
 
18984
19094
 
18985
19095
 
19096
+ class TWeCallCategoryPkgInfo(AbstractModel):
19097
+ """TWeCall分类统计数据
19098
+
19099
+ """
19100
+
19101
+ def __init__(self):
19102
+ r"""
19103
+ :param _PkgType: 类型
19104
+ 注意:此字段可能返回 null,表示取不到有效值。
19105
+ :type PkgType: int
19106
+ :param _All: 总数
19107
+ 注意:此字段可能返回 null,表示取不到有效值。
19108
+ :type All: int
19109
+ :param _Used: 已使用数
19110
+ 注意:此字段可能返回 null,表示取不到有效值。
19111
+ :type Used: int
19112
+ """
19113
+ self._PkgType = None
19114
+ self._All = None
19115
+ self._Used = None
19116
+
19117
+ @property
19118
+ def PkgType(self):
19119
+ return self._PkgType
19120
+
19121
+ @PkgType.setter
19122
+ def PkgType(self, PkgType):
19123
+ self._PkgType = PkgType
19124
+
19125
+ @property
19126
+ def All(self):
19127
+ return self._All
19128
+
19129
+ @All.setter
19130
+ def All(self, All):
19131
+ self._All = All
19132
+
19133
+ @property
19134
+ def Used(self):
19135
+ return self._Used
19136
+
19137
+ @Used.setter
19138
+ def Used(self, Used):
19139
+ self._Used = Used
19140
+
19141
+
19142
+ def _deserialize(self, params):
19143
+ self._PkgType = params.get("PkgType")
19144
+ self._All = params.get("All")
19145
+ self._Used = params.get("Used")
19146
+ memeber_set = set(params.keys())
19147
+ for name, value in vars(self).items():
19148
+ property_name = name[1:]
19149
+ if property_name in memeber_set:
19150
+ memeber_set.remove(property_name)
19151
+ if len(memeber_set) > 0:
19152
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19153
+
19154
+
19155
+
18986
19156
  class TWeCallInfo(AbstractModel):
18987
19157
  """TWeCall信息
18988
19158
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.1176
3
+ Version: 3.0.1186
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 (==3.0.1176)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1186)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,10 +1,10 @@
1
- tencentcloud/__init__.py,sha256=mLj8AziJoFk4xxu9HBBUtOryK5l3UqWBStE1BGic0Ro,631
1
+ tencentcloud/__init__.py,sha256=376pYZlgfbpnL4N8UC6bnSC9K3EGVu48b4pWichpLVM,631
2
2
  tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=a92LkftX5uQA5dyLThxNqf1hpTATsUdryOn6PhiajP0,22185
5
5
  tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=LukJm0ELJ14zmHvdTjI_NwqdV9FzHbP41WhrztitO8o,132046
6
- tencentcloud/iotexplorer/v20190423/models.py,sha256=tl3UHkAZ84bpxVFYkTyu09HdO3m_k4xahQDodM2fVZM,570253
7
- tencentcloud_sdk_python_iotexplorer-3.0.1176.dist-info/METADATA,sha256=6Dwo_c9b0pHdjg59VvsE-EbRs7XvHtJuc_mNIQ_zG7A,1532
8
- tencentcloud_sdk_python_iotexplorer-3.0.1176.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_iotexplorer-3.0.1176.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_iotexplorer-3.0.1176.dist-info/RECORD,,
6
+ tencentcloud/iotexplorer/v20190423/models.py,sha256=3Fe2cW4ha11AHTU-6XVcBuInlnbWsG_22SRNxyFGIko,575799
7
+ tencentcloud_sdk_python_iotexplorer-3.0.1186.dist-info/METADATA,sha256=zlugHJc1MBe6BEvxuDiOuZzJ8nvCHf55ST6obhBQg6o,1532
8
+ tencentcloud_sdk_python_iotexplorer-3.0.1186.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_iotexplorer-3.0.1186.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_iotexplorer-3.0.1186.dist-info/RECORD,,