tencentcloud-sdk-python-iotexplorer 3.0.993__py2.py3-none-any.whl → 3.0.1001__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/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +166 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1360,6 +1360,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1360
1360
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1361
1361
|
|
|
1362
1362
|
|
|
1363
|
+
def GetDeviceSumStatistics(self, request):
|
|
1364
|
+
"""拉取设备统计汇总数据
|
|
1365
|
+
|
|
1366
|
+
:param request: Request instance for GetDeviceSumStatistics.
|
|
1367
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetDeviceSumStatisticsRequest`
|
|
1368
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetDeviceSumStatisticsResponse`
|
|
1369
|
+
|
|
1370
|
+
"""
|
|
1371
|
+
try:
|
|
1372
|
+
params = request._serialize()
|
|
1373
|
+
headers = request.headers
|
|
1374
|
+
body = self.call("GetDeviceSumStatistics", params, headers=headers)
|
|
1375
|
+
response = json.loads(body)
|
|
1376
|
+
model = models.GetDeviceSumStatisticsResponse()
|
|
1377
|
+
model._deserialize(response["Response"])
|
|
1378
|
+
return model
|
|
1379
|
+
except Exception as e:
|
|
1380
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1381
|
+
raise
|
|
1382
|
+
else:
|
|
1383
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1384
|
+
|
|
1385
|
+
|
|
1363
1386
|
def GetFamilyDeviceUserList(self, request):
|
|
1364
1387
|
"""用于获取设备绑定的用户列表
|
|
1365
1388
|
|
|
@@ -7969,6 +7969,172 @@ class GetDeviceLocationHistoryResponse(AbstractModel):
|
|
|
7969
7969
|
self._RequestId = params.get("RequestId")
|
|
7970
7970
|
|
|
7971
7971
|
|
|
7972
|
+
class GetDeviceSumStatisticsRequest(AbstractModel):
|
|
7973
|
+
"""GetDeviceSumStatistics请求参数结构体
|
|
7974
|
+
|
|
7975
|
+
"""
|
|
7976
|
+
|
|
7977
|
+
def __init__(self):
|
|
7978
|
+
r"""
|
|
7979
|
+
:param _ProjectId: 项目id
|
|
7980
|
+
:type ProjectId: str
|
|
7981
|
+
:param _ProductIds: 产品id列表,长度为0则拉取项目内全部产品
|
|
7982
|
+
:type ProductIds: list of str
|
|
7983
|
+
"""
|
|
7984
|
+
self._ProjectId = None
|
|
7985
|
+
self._ProductIds = None
|
|
7986
|
+
|
|
7987
|
+
@property
|
|
7988
|
+
def ProjectId(self):
|
|
7989
|
+
return self._ProjectId
|
|
7990
|
+
|
|
7991
|
+
@ProjectId.setter
|
|
7992
|
+
def ProjectId(self, ProjectId):
|
|
7993
|
+
self._ProjectId = ProjectId
|
|
7994
|
+
|
|
7995
|
+
@property
|
|
7996
|
+
def ProductIds(self):
|
|
7997
|
+
return self._ProductIds
|
|
7998
|
+
|
|
7999
|
+
@ProductIds.setter
|
|
8000
|
+
def ProductIds(self, ProductIds):
|
|
8001
|
+
self._ProductIds = ProductIds
|
|
8002
|
+
|
|
8003
|
+
|
|
8004
|
+
def _deserialize(self, params):
|
|
8005
|
+
self._ProjectId = params.get("ProjectId")
|
|
8006
|
+
self._ProductIds = params.get("ProductIds")
|
|
8007
|
+
memeber_set = set(params.keys())
|
|
8008
|
+
for name, value in vars(self).items():
|
|
8009
|
+
property_name = name[1:]
|
|
8010
|
+
if property_name in memeber_set:
|
|
8011
|
+
memeber_set.remove(property_name)
|
|
8012
|
+
if len(memeber_set) > 0:
|
|
8013
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8014
|
+
|
|
8015
|
+
|
|
8016
|
+
|
|
8017
|
+
class GetDeviceSumStatisticsResponse(AbstractModel):
|
|
8018
|
+
"""GetDeviceSumStatistics返回参数结构体
|
|
8019
|
+
|
|
8020
|
+
"""
|
|
8021
|
+
|
|
8022
|
+
def __init__(self):
|
|
8023
|
+
r"""
|
|
8024
|
+
:param _ActivationCount: 激活设备总数
|
|
8025
|
+
:type ActivationCount: int
|
|
8026
|
+
:param _OnlineCount: 在线设备总数
|
|
8027
|
+
:type OnlineCount: int
|
|
8028
|
+
:param _ActivationBeforeDay: 前一天激活设备数
|
|
8029
|
+
:type ActivationBeforeDay: int
|
|
8030
|
+
:param _ActiveBeforeDay: 前一天活跃设备数
|
|
8031
|
+
:type ActiveBeforeDay: int
|
|
8032
|
+
:param _ActivationWeekDayCount: 前一周激活设备数
|
|
8033
|
+
:type ActivationWeekDayCount: int
|
|
8034
|
+
:param _ActiveWeekDayCount: 前一周活跃设备数
|
|
8035
|
+
:type ActiveWeekDayCount: int
|
|
8036
|
+
:param _ActivationBeforeWeekDayCount: 上一周激活设备数
|
|
8037
|
+
:type ActivationBeforeWeekDayCount: int
|
|
8038
|
+
:param _ActiveBeforeWeekDayCount: 上一周活跃设备数
|
|
8039
|
+
:type ActiveBeforeWeekDayCount: int
|
|
8040
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8041
|
+
:type RequestId: str
|
|
8042
|
+
"""
|
|
8043
|
+
self._ActivationCount = None
|
|
8044
|
+
self._OnlineCount = None
|
|
8045
|
+
self._ActivationBeforeDay = None
|
|
8046
|
+
self._ActiveBeforeDay = None
|
|
8047
|
+
self._ActivationWeekDayCount = None
|
|
8048
|
+
self._ActiveWeekDayCount = None
|
|
8049
|
+
self._ActivationBeforeWeekDayCount = None
|
|
8050
|
+
self._ActiveBeforeWeekDayCount = None
|
|
8051
|
+
self._RequestId = None
|
|
8052
|
+
|
|
8053
|
+
@property
|
|
8054
|
+
def ActivationCount(self):
|
|
8055
|
+
return self._ActivationCount
|
|
8056
|
+
|
|
8057
|
+
@ActivationCount.setter
|
|
8058
|
+
def ActivationCount(self, ActivationCount):
|
|
8059
|
+
self._ActivationCount = ActivationCount
|
|
8060
|
+
|
|
8061
|
+
@property
|
|
8062
|
+
def OnlineCount(self):
|
|
8063
|
+
return self._OnlineCount
|
|
8064
|
+
|
|
8065
|
+
@OnlineCount.setter
|
|
8066
|
+
def OnlineCount(self, OnlineCount):
|
|
8067
|
+
self._OnlineCount = OnlineCount
|
|
8068
|
+
|
|
8069
|
+
@property
|
|
8070
|
+
def ActivationBeforeDay(self):
|
|
8071
|
+
return self._ActivationBeforeDay
|
|
8072
|
+
|
|
8073
|
+
@ActivationBeforeDay.setter
|
|
8074
|
+
def ActivationBeforeDay(self, ActivationBeforeDay):
|
|
8075
|
+
self._ActivationBeforeDay = ActivationBeforeDay
|
|
8076
|
+
|
|
8077
|
+
@property
|
|
8078
|
+
def ActiveBeforeDay(self):
|
|
8079
|
+
return self._ActiveBeforeDay
|
|
8080
|
+
|
|
8081
|
+
@ActiveBeforeDay.setter
|
|
8082
|
+
def ActiveBeforeDay(self, ActiveBeforeDay):
|
|
8083
|
+
self._ActiveBeforeDay = ActiveBeforeDay
|
|
8084
|
+
|
|
8085
|
+
@property
|
|
8086
|
+
def ActivationWeekDayCount(self):
|
|
8087
|
+
return self._ActivationWeekDayCount
|
|
8088
|
+
|
|
8089
|
+
@ActivationWeekDayCount.setter
|
|
8090
|
+
def ActivationWeekDayCount(self, ActivationWeekDayCount):
|
|
8091
|
+
self._ActivationWeekDayCount = ActivationWeekDayCount
|
|
8092
|
+
|
|
8093
|
+
@property
|
|
8094
|
+
def ActiveWeekDayCount(self):
|
|
8095
|
+
return self._ActiveWeekDayCount
|
|
8096
|
+
|
|
8097
|
+
@ActiveWeekDayCount.setter
|
|
8098
|
+
def ActiveWeekDayCount(self, ActiveWeekDayCount):
|
|
8099
|
+
self._ActiveWeekDayCount = ActiveWeekDayCount
|
|
8100
|
+
|
|
8101
|
+
@property
|
|
8102
|
+
def ActivationBeforeWeekDayCount(self):
|
|
8103
|
+
return self._ActivationBeforeWeekDayCount
|
|
8104
|
+
|
|
8105
|
+
@ActivationBeforeWeekDayCount.setter
|
|
8106
|
+
def ActivationBeforeWeekDayCount(self, ActivationBeforeWeekDayCount):
|
|
8107
|
+
self._ActivationBeforeWeekDayCount = ActivationBeforeWeekDayCount
|
|
8108
|
+
|
|
8109
|
+
@property
|
|
8110
|
+
def ActiveBeforeWeekDayCount(self):
|
|
8111
|
+
return self._ActiveBeforeWeekDayCount
|
|
8112
|
+
|
|
8113
|
+
@ActiveBeforeWeekDayCount.setter
|
|
8114
|
+
def ActiveBeforeWeekDayCount(self, ActiveBeforeWeekDayCount):
|
|
8115
|
+
self._ActiveBeforeWeekDayCount = ActiveBeforeWeekDayCount
|
|
8116
|
+
|
|
8117
|
+
@property
|
|
8118
|
+
def RequestId(self):
|
|
8119
|
+
return self._RequestId
|
|
8120
|
+
|
|
8121
|
+
@RequestId.setter
|
|
8122
|
+
def RequestId(self, RequestId):
|
|
8123
|
+
self._RequestId = RequestId
|
|
8124
|
+
|
|
8125
|
+
|
|
8126
|
+
def _deserialize(self, params):
|
|
8127
|
+
self._ActivationCount = params.get("ActivationCount")
|
|
8128
|
+
self._OnlineCount = params.get("OnlineCount")
|
|
8129
|
+
self._ActivationBeforeDay = params.get("ActivationBeforeDay")
|
|
8130
|
+
self._ActiveBeforeDay = params.get("ActiveBeforeDay")
|
|
8131
|
+
self._ActivationWeekDayCount = params.get("ActivationWeekDayCount")
|
|
8132
|
+
self._ActiveWeekDayCount = params.get("ActiveWeekDayCount")
|
|
8133
|
+
self._ActivationBeforeWeekDayCount = params.get("ActivationBeforeWeekDayCount")
|
|
8134
|
+
self._ActiveBeforeWeekDayCount = params.get("ActiveBeforeWeekDayCount")
|
|
8135
|
+
self._RequestId = params.get("RequestId")
|
|
8136
|
+
|
|
8137
|
+
|
|
7972
8138
|
class GetFamilyDeviceUserListRequest(AbstractModel):
|
|
7973
8139
|
"""GetFamilyDeviceUserList请求参数结构体
|
|
7974
8140
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1001
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1001)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=CMdBYovUt1Uiw-dXbkbJdZtMdrRMWa_2y1x2cb80lAY,631
|
|
2
|
+
tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=rclKC7LPoOkW3-ws9fA6tY23YKbQSO4H_RkRXcAwVao,20522
|
|
5
|
+
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=PACOBvjW-hLpf7WOIwq7JhvWyLZspIJQVW2sz8gl0xQ,85058
|
|
6
|
+
tencentcloud/iotexplorer/v20190423/models.py,sha256=BQcKoR8_mHEpzvcauIQbjZyKkeGMb-7dYzuCJFVGQks,373823
|
|
7
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info/METADATA,sha256=4oxpZxdXlmPO3Siry-JrMAgo_ZOZsO8pblTQhnRGo3Y,1532
|
|
8
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1001.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=XL_xfRYLsHmnE6JXQSrm0oYp-XKWL8Q1PvYaVOWvulk,630
|
|
2
|
-
tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=rclKC7LPoOkW3-ws9fA6tY23YKbQSO4H_RkRXcAwVao,20522
|
|
5
|
-
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=bZSIxyS-AD_HQcVfg1Y53QcP5_7LMu4AFsBW8_-1EFw,84131
|
|
6
|
-
tencentcloud/iotexplorer/v20190423/models.py,sha256=1XMcD3TE4kn677Q5qpnsVXEa7_Ypff1vMgiu6SrFGDw,368411
|
|
7
|
-
tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info/METADATA,sha256=31pG7sULpcKcGDiGtXYkkJ7mPgYSiF8cYi_QBg1Uj0k,1530
|
|
8
|
-
tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_iotexplorer-3.0.993.dist-info/RECORD,,
|
|
File without changes
|