tencentcloud-sdk-python-iotexplorer 3.0.996__tar.gz → 3.0.1011__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.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/setup.py +1 -1
  3. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  5. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud/iotexplorer/v20190423/models.py +166 -0
  6. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-iotexplorer-3.0.1011/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-iotexplorer-3.0.996/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/README.rst +0 -0
  10. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud/iotexplorer/__init__.py +0 -0
  12. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
  13. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-iotexplorer-3.0.996 → tencentcloud-sdk-python-iotexplorer-3.0.1011}/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.996
3
+ Version: 3.0.1011
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.996"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1011"],
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.996'
17
+ __version__ = '3.0.1011'
@@ -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: 1.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.996
3
+ Version: 3.0.1011
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.1011
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.996