tencentcloud-sdk-python-iotexplorer 3.0.1134__tar.gz → 3.0.1136__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.
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud/iotexplorer/v20190423/models.py +145 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1136/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1134/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1134 → tencentcloud-sdk-python-iotexplorer-3.0.1136}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1136"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1222,6 +1222,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1222
1222
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
1223
|
|
|
1224
1224
|
|
|
1225
|
+
def DescribeDeviceFirmwares(self, request):
|
|
1226
|
+
"""获取设备当前固件信息
|
|
1227
|
+
|
|
1228
|
+
:param request: Request instance for DescribeDeviceFirmwares.
|
|
1229
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceFirmwaresRequest`
|
|
1230
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceFirmwaresResponse`
|
|
1231
|
+
|
|
1232
|
+
"""
|
|
1233
|
+
try:
|
|
1234
|
+
params = request._serialize()
|
|
1235
|
+
headers = request.headers
|
|
1236
|
+
body = self.call("DescribeDeviceFirmwares", params, headers=headers)
|
|
1237
|
+
response = json.loads(body)
|
|
1238
|
+
model = models.DescribeDeviceFirmwaresResponse()
|
|
1239
|
+
model._deserialize(response["Response"])
|
|
1240
|
+
return model
|
|
1241
|
+
except Exception as e:
|
|
1242
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1243
|
+
raise
|
|
1244
|
+
else:
|
|
1245
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1246
|
+
|
|
1247
|
+
|
|
1225
1248
|
def DescribeDeviceLocationSolve(self, request):
|
|
1226
1249
|
"""获取实时位置解析
|
|
1227
1250
|
|
|
@@ -6371,6 +6371,94 @@ class DescribeDeviceFirmWareResponse(AbstractModel):
|
|
|
6371
6371
|
self._RequestId = params.get("RequestId")
|
|
6372
6372
|
|
|
6373
6373
|
|
|
6374
|
+
class DescribeDeviceFirmwaresRequest(AbstractModel):
|
|
6375
|
+
"""DescribeDeviceFirmwares请求参数结构体
|
|
6376
|
+
|
|
6377
|
+
"""
|
|
6378
|
+
|
|
6379
|
+
def __init__(self):
|
|
6380
|
+
r"""
|
|
6381
|
+
:param _ProductId: 产品ID
|
|
6382
|
+
:type ProductId: str
|
|
6383
|
+
:param _DeviceName: 设备名
|
|
6384
|
+
:type DeviceName: str
|
|
6385
|
+
"""
|
|
6386
|
+
self._ProductId = None
|
|
6387
|
+
self._DeviceName = None
|
|
6388
|
+
|
|
6389
|
+
@property
|
|
6390
|
+
def ProductId(self):
|
|
6391
|
+
return self._ProductId
|
|
6392
|
+
|
|
6393
|
+
@ProductId.setter
|
|
6394
|
+
def ProductId(self, ProductId):
|
|
6395
|
+
self._ProductId = ProductId
|
|
6396
|
+
|
|
6397
|
+
@property
|
|
6398
|
+
def DeviceName(self):
|
|
6399
|
+
return self._DeviceName
|
|
6400
|
+
|
|
6401
|
+
@DeviceName.setter
|
|
6402
|
+
def DeviceName(self, DeviceName):
|
|
6403
|
+
self._DeviceName = DeviceName
|
|
6404
|
+
|
|
6405
|
+
|
|
6406
|
+
def _deserialize(self, params):
|
|
6407
|
+
self._ProductId = params.get("ProductId")
|
|
6408
|
+
self._DeviceName = params.get("DeviceName")
|
|
6409
|
+
memeber_set = set(params.keys())
|
|
6410
|
+
for name, value in vars(self).items():
|
|
6411
|
+
property_name = name[1:]
|
|
6412
|
+
if property_name in memeber_set:
|
|
6413
|
+
memeber_set.remove(property_name)
|
|
6414
|
+
if len(memeber_set) > 0:
|
|
6415
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6416
|
+
|
|
6417
|
+
|
|
6418
|
+
|
|
6419
|
+
class DescribeDeviceFirmwaresResponse(AbstractModel):
|
|
6420
|
+
"""DescribeDeviceFirmwares返回参数结构体
|
|
6421
|
+
|
|
6422
|
+
"""
|
|
6423
|
+
|
|
6424
|
+
def __init__(self):
|
|
6425
|
+
r"""
|
|
6426
|
+
:param _Firmwares: 固件信息列表
|
|
6427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6428
|
+
:type Firmwares: list of DeviceFirmwareInfo
|
|
6429
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6430
|
+
:type RequestId: str
|
|
6431
|
+
"""
|
|
6432
|
+
self._Firmwares = None
|
|
6433
|
+
self._RequestId = None
|
|
6434
|
+
|
|
6435
|
+
@property
|
|
6436
|
+
def Firmwares(self):
|
|
6437
|
+
return self._Firmwares
|
|
6438
|
+
|
|
6439
|
+
@Firmwares.setter
|
|
6440
|
+
def Firmwares(self, Firmwares):
|
|
6441
|
+
self._Firmwares = Firmwares
|
|
6442
|
+
|
|
6443
|
+
@property
|
|
6444
|
+
def RequestId(self):
|
|
6445
|
+
return self._RequestId
|
|
6446
|
+
|
|
6447
|
+
@RequestId.setter
|
|
6448
|
+
def RequestId(self, RequestId):
|
|
6449
|
+
self._RequestId = RequestId
|
|
6450
|
+
|
|
6451
|
+
|
|
6452
|
+
def _deserialize(self, params):
|
|
6453
|
+
if params.get("Firmwares") is not None:
|
|
6454
|
+
self._Firmwares = []
|
|
6455
|
+
for item in params.get("Firmwares"):
|
|
6456
|
+
obj = DeviceFirmwareInfo()
|
|
6457
|
+
obj._deserialize(item)
|
|
6458
|
+
self._Firmwares.append(obj)
|
|
6459
|
+
self._RequestId = params.get("RequestId")
|
|
6460
|
+
|
|
6461
|
+
|
|
6374
6462
|
class DescribeDeviceLocationSolveRequest(AbstractModel):
|
|
6375
6463
|
"""DescribeDeviceLocationSolve请求参数结构体
|
|
6376
6464
|
|
|
@@ -8982,6 +9070,63 @@ class DeviceDataHistoryItem(AbstractModel):
|
|
|
8982
9070
|
|
|
8983
9071
|
|
|
8984
9072
|
|
|
9073
|
+
class DeviceFirmwareInfo(AbstractModel):
|
|
9074
|
+
"""设备固件信息
|
|
9075
|
+
|
|
9076
|
+
"""
|
|
9077
|
+
|
|
9078
|
+
def __init__(self):
|
|
9079
|
+
r"""
|
|
9080
|
+
:param _FwType: 固件类型
|
|
9081
|
+
:type FwType: str
|
|
9082
|
+
:param _Version: 固件版本
|
|
9083
|
+
:type Version: str
|
|
9084
|
+
:param _UpdateTime: 最后更新时间
|
|
9085
|
+
:type UpdateTime: int
|
|
9086
|
+
"""
|
|
9087
|
+
self._FwType = None
|
|
9088
|
+
self._Version = None
|
|
9089
|
+
self._UpdateTime = None
|
|
9090
|
+
|
|
9091
|
+
@property
|
|
9092
|
+
def FwType(self):
|
|
9093
|
+
return self._FwType
|
|
9094
|
+
|
|
9095
|
+
@FwType.setter
|
|
9096
|
+
def FwType(self, FwType):
|
|
9097
|
+
self._FwType = FwType
|
|
9098
|
+
|
|
9099
|
+
@property
|
|
9100
|
+
def Version(self):
|
|
9101
|
+
return self._Version
|
|
9102
|
+
|
|
9103
|
+
@Version.setter
|
|
9104
|
+
def Version(self, Version):
|
|
9105
|
+
self._Version = Version
|
|
9106
|
+
|
|
9107
|
+
@property
|
|
9108
|
+
def UpdateTime(self):
|
|
9109
|
+
return self._UpdateTime
|
|
9110
|
+
|
|
9111
|
+
@UpdateTime.setter
|
|
9112
|
+
def UpdateTime(self, UpdateTime):
|
|
9113
|
+
self._UpdateTime = UpdateTime
|
|
9114
|
+
|
|
9115
|
+
|
|
9116
|
+
def _deserialize(self, params):
|
|
9117
|
+
self._FwType = params.get("FwType")
|
|
9118
|
+
self._Version = params.get("Version")
|
|
9119
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
9120
|
+
memeber_set = set(params.keys())
|
|
9121
|
+
for name, value in vars(self).items():
|
|
9122
|
+
property_name = name[1:]
|
|
9123
|
+
if property_name in memeber_set:
|
|
9124
|
+
memeber_set.remove(property_name)
|
|
9125
|
+
if len(memeber_set) > 0:
|
|
9126
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9127
|
+
|
|
9128
|
+
|
|
9129
|
+
|
|
8985
9130
|
class DeviceInfo(AbstractModel):
|
|
8986
9131
|
"""设备详细信息
|
|
8987
9132
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1136
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1134
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|