tencentcloud-sdk-python-iotexplorer 3.0.1179__tar.gz → 3.0.1183__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 (16) hide show
  1. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/setup.py +1 -1
  3. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud/iotexplorer/v20190423/models.py +79 -1
  5. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-iotexplorer-3.0.1183/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-iotexplorer-3.0.1179/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/README.rst +0 -0
  9. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud/iotexplorer/__init__.py +0 -0
  11. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
  12. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -0
  14. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-iotexplorer-3.0.1179 → tencentcloud-sdk-python-iotexplorer-3.0.1183}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.1179
3
+ Version: 3.0.1183
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
@@ -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.0.1179"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1183"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Iotexplorer SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1179'
17
+ __version__ = '3.0.1183'
@@ -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
 
@@ -9934,6 +9952,66 @@ class DescribeTopicRuleResponse(AbstractModel):
9934
9952
  self._RequestId = params.get("RequestId")
9935
9953
 
9936
9954
 
9955
+ class DeviceActiveResult(AbstractModel):
9956
+ """设备激活结果数据
9957
+
9958
+ """
9959
+
9960
+ def __init__(self):
9961
+ r"""
9962
+ :param _ModelId: 模版ID
9963
+ 注意:此字段可能返回 null,表示取不到有效值。
9964
+ :type ModelId: str
9965
+ :param _Sn: SN信息
9966
+ 注意:此字段可能返回 null,表示取不到有效值。
9967
+ :type Sn: str
9968
+ :param _ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
9969
+ 注意:此字段可能返回 null,表示取不到有效值。
9970
+ :type ErrCode: int
9971
+ """
9972
+ self._ModelId = None
9973
+ self._Sn = None
9974
+ self._ErrCode = None
9975
+
9976
+ @property
9977
+ def ModelId(self):
9978
+ return self._ModelId
9979
+
9980
+ @ModelId.setter
9981
+ def ModelId(self, ModelId):
9982
+ self._ModelId = ModelId
9983
+
9984
+ @property
9985
+ def Sn(self):
9986
+ return self._Sn
9987
+
9988
+ @Sn.setter
9989
+ def Sn(self, Sn):
9990
+ self._Sn = Sn
9991
+
9992
+ @property
9993
+ def ErrCode(self):
9994
+ return self._ErrCode
9995
+
9996
+ @ErrCode.setter
9997
+ def ErrCode(self, ErrCode):
9998
+ self._ErrCode = ErrCode
9999
+
10000
+
10001
+ def _deserialize(self, params):
10002
+ self._ModelId = params.get("ModelId")
10003
+ self._Sn = params.get("Sn")
10004
+ self._ErrCode = params.get("ErrCode")
10005
+ memeber_set = set(params.keys())
10006
+ for name, value in vars(self).items():
10007
+ property_name = name[1:]
10008
+ if property_name in memeber_set:
10009
+ memeber_set.remove(property_name)
10010
+ if len(memeber_set) > 0:
10011
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10012
+
10013
+
10014
+
9937
10015
  class DeviceData(AbstractModel):
9938
10016
  """DeviceData
9939
10017
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.1179
3
+ Version: 3.0.1183
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1183
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1179