tencentcloud-sdk-python-iotexplorer 3.0.1169__tar.gz → 3.0.1175__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.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud/iotexplorer/v20190423/models.py +184 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1175/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1169/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1169 → tencentcloud-sdk-python-iotexplorer-3.0.1175}/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.1175"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1475,6 +1475,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1475
1475
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1476
1476
|
|
|
1477
1477
|
|
|
1478
|
+
def DescribeFirmware(self, request):
|
|
1479
|
+
"""查询固件信息
|
|
1480
|
+
|
|
1481
|
+
:param request: Request instance for DescribeFirmware.
|
|
1482
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareRequest`
|
|
1483
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareResponse`
|
|
1484
|
+
|
|
1485
|
+
"""
|
|
1486
|
+
try:
|
|
1487
|
+
params = request._serialize()
|
|
1488
|
+
headers = request.headers
|
|
1489
|
+
body = self.call("DescribeFirmware", params, headers=headers)
|
|
1490
|
+
response = json.loads(body)
|
|
1491
|
+
model = models.DescribeFirmwareResponse()
|
|
1492
|
+
model._deserialize(response["Response"])
|
|
1493
|
+
return model
|
|
1494
|
+
except Exception as e:
|
|
1495
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1496
|
+
raise
|
|
1497
|
+
else:
|
|
1498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1499
|
+
|
|
1500
|
+
|
|
1478
1501
|
def DescribeFirmwareTask(self, request):
|
|
1479
1502
|
"""查询固件升级任务列表
|
|
1480
1503
|
|
|
@@ -7812,6 +7812,190 @@ class DescribeFenceEventListResponse(AbstractModel):
|
|
|
7812
7812
|
self._RequestId = params.get("RequestId")
|
|
7813
7813
|
|
|
7814
7814
|
|
|
7815
|
+
class DescribeFirmwareRequest(AbstractModel):
|
|
7816
|
+
"""DescribeFirmware请求参数结构体
|
|
7817
|
+
|
|
7818
|
+
"""
|
|
7819
|
+
|
|
7820
|
+
def __init__(self):
|
|
7821
|
+
r"""
|
|
7822
|
+
:param _ProductID: 产品ID
|
|
7823
|
+
:type ProductID: str
|
|
7824
|
+
:param _FirmwareVersion: 固件版本号
|
|
7825
|
+
:type FirmwareVersion: str
|
|
7826
|
+
"""
|
|
7827
|
+
self._ProductID = None
|
|
7828
|
+
self._FirmwareVersion = None
|
|
7829
|
+
|
|
7830
|
+
@property
|
|
7831
|
+
def ProductID(self):
|
|
7832
|
+
return self._ProductID
|
|
7833
|
+
|
|
7834
|
+
@ProductID.setter
|
|
7835
|
+
def ProductID(self, ProductID):
|
|
7836
|
+
self._ProductID = ProductID
|
|
7837
|
+
|
|
7838
|
+
@property
|
|
7839
|
+
def FirmwareVersion(self):
|
|
7840
|
+
return self._FirmwareVersion
|
|
7841
|
+
|
|
7842
|
+
@FirmwareVersion.setter
|
|
7843
|
+
def FirmwareVersion(self, FirmwareVersion):
|
|
7844
|
+
self._FirmwareVersion = FirmwareVersion
|
|
7845
|
+
|
|
7846
|
+
|
|
7847
|
+
def _deserialize(self, params):
|
|
7848
|
+
self._ProductID = params.get("ProductID")
|
|
7849
|
+
self._FirmwareVersion = params.get("FirmwareVersion")
|
|
7850
|
+
memeber_set = set(params.keys())
|
|
7851
|
+
for name, value in vars(self).items():
|
|
7852
|
+
property_name = name[1:]
|
|
7853
|
+
if property_name in memeber_set:
|
|
7854
|
+
memeber_set.remove(property_name)
|
|
7855
|
+
if len(memeber_set) > 0:
|
|
7856
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7857
|
+
|
|
7858
|
+
|
|
7859
|
+
|
|
7860
|
+
class DescribeFirmwareResponse(AbstractModel):
|
|
7861
|
+
"""DescribeFirmware返回参数结构体
|
|
7862
|
+
|
|
7863
|
+
"""
|
|
7864
|
+
|
|
7865
|
+
def __init__(self):
|
|
7866
|
+
r"""
|
|
7867
|
+
:param _Version: 固件版本号
|
|
7868
|
+
:type Version: str
|
|
7869
|
+
:param _ProductId: 产品ID
|
|
7870
|
+
:type ProductId: str
|
|
7871
|
+
:param _Name: 固件名称
|
|
7872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7873
|
+
:type Name: str
|
|
7874
|
+
:param _Description: 固件描述
|
|
7875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7876
|
+
:type Description: str
|
|
7877
|
+
:param _Md5sum: 固件Md5值
|
|
7878
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7879
|
+
:type Md5sum: str
|
|
7880
|
+
:param _Createtime: 固件上传的秒级时间戳
|
|
7881
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7882
|
+
:type Createtime: int
|
|
7883
|
+
:param _ProductName: 产品名称
|
|
7884
|
+
:type ProductName: str
|
|
7885
|
+
:param _FwType: 固件升级模块
|
|
7886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7887
|
+
:type FwType: str
|
|
7888
|
+
:param _UserDefined: 固件用户自定义配置信息
|
|
7889
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7890
|
+
:type UserDefined: str
|
|
7891
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7892
|
+
:type RequestId: str
|
|
7893
|
+
"""
|
|
7894
|
+
self._Version = None
|
|
7895
|
+
self._ProductId = None
|
|
7896
|
+
self._Name = None
|
|
7897
|
+
self._Description = None
|
|
7898
|
+
self._Md5sum = None
|
|
7899
|
+
self._Createtime = None
|
|
7900
|
+
self._ProductName = None
|
|
7901
|
+
self._FwType = None
|
|
7902
|
+
self._UserDefined = None
|
|
7903
|
+
self._RequestId = None
|
|
7904
|
+
|
|
7905
|
+
@property
|
|
7906
|
+
def Version(self):
|
|
7907
|
+
return self._Version
|
|
7908
|
+
|
|
7909
|
+
@Version.setter
|
|
7910
|
+
def Version(self, Version):
|
|
7911
|
+
self._Version = Version
|
|
7912
|
+
|
|
7913
|
+
@property
|
|
7914
|
+
def ProductId(self):
|
|
7915
|
+
return self._ProductId
|
|
7916
|
+
|
|
7917
|
+
@ProductId.setter
|
|
7918
|
+
def ProductId(self, ProductId):
|
|
7919
|
+
self._ProductId = ProductId
|
|
7920
|
+
|
|
7921
|
+
@property
|
|
7922
|
+
def Name(self):
|
|
7923
|
+
return self._Name
|
|
7924
|
+
|
|
7925
|
+
@Name.setter
|
|
7926
|
+
def Name(self, Name):
|
|
7927
|
+
self._Name = Name
|
|
7928
|
+
|
|
7929
|
+
@property
|
|
7930
|
+
def Description(self):
|
|
7931
|
+
return self._Description
|
|
7932
|
+
|
|
7933
|
+
@Description.setter
|
|
7934
|
+
def Description(self, Description):
|
|
7935
|
+
self._Description = Description
|
|
7936
|
+
|
|
7937
|
+
@property
|
|
7938
|
+
def Md5sum(self):
|
|
7939
|
+
return self._Md5sum
|
|
7940
|
+
|
|
7941
|
+
@Md5sum.setter
|
|
7942
|
+
def Md5sum(self, Md5sum):
|
|
7943
|
+
self._Md5sum = Md5sum
|
|
7944
|
+
|
|
7945
|
+
@property
|
|
7946
|
+
def Createtime(self):
|
|
7947
|
+
return self._Createtime
|
|
7948
|
+
|
|
7949
|
+
@Createtime.setter
|
|
7950
|
+
def Createtime(self, Createtime):
|
|
7951
|
+
self._Createtime = Createtime
|
|
7952
|
+
|
|
7953
|
+
@property
|
|
7954
|
+
def ProductName(self):
|
|
7955
|
+
return self._ProductName
|
|
7956
|
+
|
|
7957
|
+
@ProductName.setter
|
|
7958
|
+
def ProductName(self, ProductName):
|
|
7959
|
+
self._ProductName = ProductName
|
|
7960
|
+
|
|
7961
|
+
@property
|
|
7962
|
+
def FwType(self):
|
|
7963
|
+
return self._FwType
|
|
7964
|
+
|
|
7965
|
+
@FwType.setter
|
|
7966
|
+
def FwType(self, FwType):
|
|
7967
|
+
self._FwType = FwType
|
|
7968
|
+
|
|
7969
|
+
@property
|
|
7970
|
+
def UserDefined(self):
|
|
7971
|
+
return self._UserDefined
|
|
7972
|
+
|
|
7973
|
+
@UserDefined.setter
|
|
7974
|
+
def UserDefined(self, UserDefined):
|
|
7975
|
+
self._UserDefined = UserDefined
|
|
7976
|
+
|
|
7977
|
+
@property
|
|
7978
|
+
def RequestId(self):
|
|
7979
|
+
return self._RequestId
|
|
7980
|
+
|
|
7981
|
+
@RequestId.setter
|
|
7982
|
+
def RequestId(self, RequestId):
|
|
7983
|
+
self._RequestId = RequestId
|
|
7984
|
+
|
|
7985
|
+
|
|
7986
|
+
def _deserialize(self, params):
|
|
7987
|
+
self._Version = params.get("Version")
|
|
7988
|
+
self._ProductId = params.get("ProductId")
|
|
7989
|
+
self._Name = params.get("Name")
|
|
7990
|
+
self._Description = params.get("Description")
|
|
7991
|
+
self._Md5sum = params.get("Md5sum")
|
|
7992
|
+
self._Createtime = params.get("Createtime")
|
|
7993
|
+
self._ProductName = params.get("ProductName")
|
|
7994
|
+
self._FwType = params.get("FwType")
|
|
7995
|
+
self._UserDefined = params.get("UserDefined")
|
|
7996
|
+
self._RequestId = params.get("RequestId")
|
|
7997
|
+
|
|
7998
|
+
|
|
7815
7999
|
class DescribeFirmwareTaskRequest(AbstractModel):
|
|
7816
8000
|
"""DescribeFirmwareTask请求参数结构体
|
|
7817
8001
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1175
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1169
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|