tencentcloud-sdk-python-iotexplorer 3.0.953__py2.py3-none-any.whl → 3.0.968__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 +289 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -969,6 +969,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
969
969
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
970
|
|
|
971
971
|
|
|
972
|
+
def DescribeInstance(self, request):
|
|
973
|
+
"""公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
|
|
974
|
+
|
|
975
|
+
:param request: Request instance for DescribeInstance.
|
|
976
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeInstanceRequest`
|
|
977
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeInstanceResponse`
|
|
978
|
+
|
|
979
|
+
"""
|
|
980
|
+
try:
|
|
981
|
+
params = request._serialize()
|
|
982
|
+
headers = request.headers
|
|
983
|
+
body = self.call("DescribeInstance", params, headers=headers)
|
|
984
|
+
response = json.loads(body)
|
|
985
|
+
model = models.DescribeInstanceResponse()
|
|
986
|
+
model._deserialize(response["Response"])
|
|
987
|
+
return model
|
|
988
|
+
except Exception as e:
|
|
989
|
+
if isinstance(e, TencentCloudSDKException):
|
|
990
|
+
raise
|
|
991
|
+
else:
|
|
992
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
993
|
+
|
|
994
|
+
|
|
972
995
|
def DescribeLoRaFrequency(self, request):
|
|
973
996
|
"""提供查询LoRa自定义频点详情的能力
|
|
974
997
|
|
|
@@ -5030,6 +5030,115 @@ class DescribeGatewaySubProductsResponse(AbstractModel):
|
|
|
5030
5030
|
self._RequestId = params.get("RequestId")
|
|
5031
5031
|
|
|
5032
5032
|
|
|
5033
|
+
class DescribeInstanceRequest(AbstractModel):
|
|
5034
|
+
"""DescribeInstance请求参数结构体
|
|
5035
|
+
|
|
5036
|
+
"""
|
|
5037
|
+
|
|
5038
|
+
def __init__(self):
|
|
5039
|
+
r"""
|
|
5040
|
+
:param _InstanceId: 实例ID
|
|
5041
|
+
:type InstanceId: str
|
|
5042
|
+
:param _Include: 附加查询返回包含字段值,不传返回0,有效值 ProductNum、ProjectNum、UsedDeviceNum、TotalDevice、ActivateDevice
|
|
5043
|
+
:type Include: list of str
|
|
5044
|
+
:param _ProjectId: 项目ID
|
|
5045
|
+
:type ProjectId: str
|
|
5046
|
+
:param _ProductId: 产品ID,-1 代表全部产品
|
|
5047
|
+
:type ProductId: str
|
|
5048
|
+
"""
|
|
5049
|
+
self._InstanceId = None
|
|
5050
|
+
self._Include = None
|
|
5051
|
+
self._ProjectId = None
|
|
5052
|
+
self._ProductId = None
|
|
5053
|
+
|
|
5054
|
+
@property
|
|
5055
|
+
def InstanceId(self):
|
|
5056
|
+
return self._InstanceId
|
|
5057
|
+
|
|
5058
|
+
@InstanceId.setter
|
|
5059
|
+
def InstanceId(self, InstanceId):
|
|
5060
|
+
self._InstanceId = InstanceId
|
|
5061
|
+
|
|
5062
|
+
@property
|
|
5063
|
+
def Include(self):
|
|
5064
|
+
return self._Include
|
|
5065
|
+
|
|
5066
|
+
@Include.setter
|
|
5067
|
+
def Include(self, Include):
|
|
5068
|
+
self._Include = Include
|
|
5069
|
+
|
|
5070
|
+
@property
|
|
5071
|
+
def ProjectId(self):
|
|
5072
|
+
return self._ProjectId
|
|
5073
|
+
|
|
5074
|
+
@ProjectId.setter
|
|
5075
|
+
def ProjectId(self, ProjectId):
|
|
5076
|
+
self._ProjectId = ProjectId
|
|
5077
|
+
|
|
5078
|
+
@property
|
|
5079
|
+
def ProductId(self):
|
|
5080
|
+
return self._ProductId
|
|
5081
|
+
|
|
5082
|
+
@ProductId.setter
|
|
5083
|
+
def ProductId(self, ProductId):
|
|
5084
|
+
self._ProductId = ProductId
|
|
5085
|
+
|
|
5086
|
+
|
|
5087
|
+
def _deserialize(self, params):
|
|
5088
|
+
self._InstanceId = params.get("InstanceId")
|
|
5089
|
+
self._Include = params.get("Include")
|
|
5090
|
+
self._ProjectId = params.get("ProjectId")
|
|
5091
|
+
self._ProductId = params.get("ProductId")
|
|
5092
|
+
memeber_set = set(params.keys())
|
|
5093
|
+
for name, value in vars(self).items():
|
|
5094
|
+
property_name = name[1:]
|
|
5095
|
+
if property_name in memeber_set:
|
|
5096
|
+
memeber_set.remove(property_name)
|
|
5097
|
+
if len(memeber_set) > 0:
|
|
5098
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5099
|
+
|
|
5100
|
+
|
|
5101
|
+
|
|
5102
|
+
class DescribeInstanceResponse(AbstractModel):
|
|
5103
|
+
"""DescribeInstance返回参数结构体
|
|
5104
|
+
|
|
5105
|
+
"""
|
|
5106
|
+
|
|
5107
|
+
def __init__(self):
|
|
5108
|
+
r"""
|
|
5109
|
+
:param _Data: 实例信息
|
|
5110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5111
|
+
:type Data: :class:`tencentcloud.iotexplorer.v20190423.models.InstanceDetail`
|
|
5112
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5113
|
+
:type RequestId: str
|
|
5114
|
+
"""
|
|
5115
|
+
self._Data = None
|
|
5116
|
+
self._RequestId = None
|
|
5117
|
+
|
|
5118
|
+
@property
|
|
5119
|
+
def Data(self):
|
|
5120
|
+
return self._Data
|
|
5121
|
+
|
|
5122
|
+
@Data.setter
|
|
5123
|
+
def Data(self, Data):
|
|
5124
|
+
self._Data = Data
|
|
5125
|
+
|
|
5126
|
+
@property
|
|
5127
|
+
def RequestId(self):
|
|
5128
|
+
return self._RequestId
|
|
5129
|
+
|
|
5130
|
+
@RequestId.setter
|
|
5131
|
+
def RequestId(self, RequestId):
|
|
5132
|
+
self._RequestId = RequestId
|
|
5133
|
+
|
|
5134
|
+
|
|
5135
|
+
def _deserialize(self, params):
|
|
5136
|
+
if params.get("Data") is not None:
|
|
5137
|
+
self._Data = InstanceDetail()
|
|
5138
|
+
self._Data._deserialize(params.get("Data"))
|
|
5139
|
+
self._RequestId = params.get("RequestId")
|
|
5140
|
+
|
|
5141
|
+
|
|
5033
5142
|
class DescribeLoRaFrequencyRequest(AbstractModel):
|
|
5034
5143
|
"""DescribeLoRaFrequency请求参数结构体
|
|
5035
5144
|
|
|
@@ -8678,6 +8787,186 @@ class GetTopicRuleListResponse(AbstractModel):
|
|
|
8678
8787
|
self._RequestId = params.get("RequestId")
|
|
8679
8788
|
|
|
8680
8789
|
|
|
8790
|
+
class InstanceDetail(AbstractModel):
|
|
8791
|
+
"""实例信息
|
|
8792
|
+
公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
|
|
8793
|
+
|
|
8794
|
+
"""
|
|
8795
|
+
|
|
8796
|
+
def __init__(self):
|
|
8797
|
+
r"""
|
|
8798
|
+
:param _InstanceId: 实例ID
|
|
8799
|
+
:type InstanceId: str
|
|
8800
|
+
:param _InstanceType: 实例类型(0 公共实例 1 标准企业实例 2专享企业实例)
|
|
8801
|
+
:type InstanceType: int
|
|
8802
|
+
:param _Region: 地域字母缩写
|
|
8803
|
+
:type Region: str
|
|
8804
|
+
:param _ZoneId: 区域全拼
|
|
8805
|
+
:type ZoneId: str
|
|
8806
|
+
:param _TotalDeviceNum: 支持设备总数
|
|
8807
|
+
:type TotalDeviceNum: int
|
|
8808
|
+
:param _UsedDeviceNum: 以注册设备数
|
|
8809
|
+
:type UsedDeviceNum: int
|
|
8810
|
+
:param _ProjectNum: 项目数
|
|
8811
|
+
:type ProjectNum: int
|
|
8812
|
+
:param _ProductNum: 产品数
|
|
8813
|
+
:type ProductNum: int
|
|
8814
|
+
:param _CreateTime: 创建时间
|
|
8815
|
+
:type CreateTime: str
|
|
8816
|
+
:param _UpdateTime: 更新时间
|
|
8817
|
+
:type UpdateTime: str
|
|
8818
|
+
:param _ExpireTime: 过期时间,公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
|
|
8819
|
+
:type ExpireTime: str
|
|
8820
|
+
:param _TotalDevice: 总设备数
|
|
8821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8822
|
+
:type TotalDevice: int
|
|
8823
|
+
:param _ActivateDevice: 激活设备数
|
|
8824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8825
|
+
:type ActivateDevice: int
|
|
8826
|
+
"""
|
|
8827
|
+
self._InstanceId = None
|
|
8828
|
+
self._InstanceType = None
|
|
8829
|
+
self._Region = None
|
|
8830
|
+
self._ZoneId = None
|
|
8831
|
+
self._TotalDeviceNum = None
|
|
8832
|
+
self._UsedDeviceNum = None
|
|
8833
|
+
self._ProjectNum = None
|
|
8834
|
+
self._ProductNum = None
|
|
8835
|
+
self._CreateTime = None
|
|
8836
|
+
self._UpdateTime = None
|
|
8837
|
+
self._ExpireTime = None
|
|
8838
|
+
self._TotalDevice = None
|
|
8839
|
+
self._ActivateDevice = None
|
|
8840
|
+
|
|
8841
|
+
@property
|
|
8842
|
+
def InstanceId(self):
|
|
8843
|
+
return self._InstanceId
|
|
8844
|
+
|
|
8845
|
+
@InstanceId.setter
|
|
8846
|
+
def InstanceId(self, InstanceId):
|
|
8847
|
+
self._InstanceId = InstanceId
|
|
8848
|
+
|
|
8849
|
+
@property
|
|
8850
|
+
def InstanceType(self):
|
|
8851
|
+
return self._InstanceType
|
|
8852
|
+
|
|
8853
|
+
@InstanceType.setter
|
|
8854
|
+
def InstanceType(self, InstanceType):
|
|
8855
|
+
self._InstanceType = InstanceType
|
|
8856
|
+
|
|
8857
|
+
@property
|
|
8858
|
+
def Region(self):
|
|
8859
|
+
return self._Region
|
|
8860
|
+
|
|
8861
|
+
@Region.setter
|
|
8862
|
+
def Region(self, Region):
|
|
8863
|
+
self._Region = Region
|
|
8864
|
+
|
|
8865
|
+
@property
|
|
8866
|
+
def ZoneId(self):
|
|
8867
|
+
return self._ZoneId
|
|
8868
|
+
|
|
8869
|
+
@ZoneId.setter
|
|
8870
|
+
def ZoneId(self, ZoneId):
|
|
8871
|
+
self._ZoneId = ZoneId
|
|
8872
|
+
|
|
8873
|
+
@property
|
|
8874
|
+
def TotalDeviceNum(self):
|
|
8875
|
+
return self._TotalDeviceNum
|
|
8876
|
+
|
|
8877
|
+
@TotalDeviceNum.setter
|
|
8878
|
+
def TotalDeviceNum(self, TotalDeviceNum):
|
|
8879
|
+
self._TotalDeviceNum = TotalDeviceNum
|
|
8880
|
+
|
|
8881
|
+
@property
|
|
8882
|
+
def UsedDeviceNum(self):
|
|
8883
|
+
return self._UsedDeviceNum
|
|
8884
|
+
|
|
8885
|
+
@UsedDeviceNum.setter
|
|
8886
|
+
def UsedDeviceNum(self, UsedDeviceNum):
|
|
8887
|
+
self._UsedDeviceNum = UsedDeviceNum
|
|
8888
|
+
|
|
8889
|
+
@property
|
|
8890
|
+
def ProjectNum(self):
|
|
8891
|
+
return self._ProjectNum
|
|
8892
|
+
|
|
8893
|
+
@ProjectNum.setter
|
|
8894
|
+
def ProjectNum(self, ProjectNum):
|
|
8895
|
+
self._ProjectNum = ProjectNum
|
|
8896
|
+
|
|
8897
|
+
@property
|
|
8898
|
+
def ProductNum(self):
|
|
8899
|
+
return self._ProductNum
|
|
8900
|
+
|
|
8901
|
+
@ProductNum.setter
|
|
8902
|
+
def ProductNum(self, ProductNum):
|
|
8903
|
+
self._ProductNum = ProductNum
|
|
8904
|
+
|
|
8905
|
+
@property
|
|
8906
|
+
def CreateTime(self):
|
|
8907
|
+
return self._CreateTime
|
|
8908
|
+
|
|
8909
|
+
@CreateTime.setter
|
|
8910
|
+
def CreateTime(self, CreateTime):
|
|
8911
|
+
self._CreateTime = CreateTime
|
|
8912
|
+
|
|
8913
|
+
@property
|
|
8914
|
+
def UpdateTime(self):
|
|
8915
|
+
return self._UpdateTime
|
|
8916
|
+
|
|
8917
|
+
@UpdateTime.setter
|
|
8918
|
+
def UpdateTime(self, UpdateTime):
|
|
8919
|
+
self._UpdateTime = UpdateTime
|
|
8920
|
+
|
|
8921
|
+
@property
|
|
8922
|
+
def ExpireTime(self):
|
|
8923
|
+
return self._ExpireTime
|
|
8924
|
+
|
|
8925
|
+
@ExpireTime.setter
|
|
8926
|
+
def ExpireTime(self, ExpireTime):
|
|
8927
|
+
self._ExpireTime = ExpireTime
|
|
8928
|
+
|
|
8929
|
+
@property
|
|
8930
|
+
def TotalDevice(self):
|
|
8931
|
+
return self._TotalDevice
|
|
8932
|
+
|
|
8933
|
+
@TotalDevice.setter
|
|
8934
|
+
def TotalDevice(self, TotalDevice):
|
|
8935
|
+
self._TotalDevice = TotalDevice
|
|
8936
|
+
|
|
8937
|
+
@property
|
|
8938
|
+
def ActivateDevice(self):
|
|
8939
|
+
return self._ActivateDevice
|
|
8940
|
+
|
|
8941
|
+
@ActivateDevice.setter
|
|
8942
|
+
def ActivateDevice(self, ActivateDevice):
|
|
8943
|
+
self._ActivateDevice = ActivateDevice
|
|
8944
|
+
|
|
8945
|
+
|
|
8946
|
+
def _deserialize(self, params):
|
|
8947
|
+
self._InstanceId = params.get("InstanceId")
|
|
8948
|
+
self._InstanceType = params.get("InstanceType")
|
|
8949
|
+
self._Region = params.get("Region")
|
|
8950
|
+
self._ZoneId = params.get("ZoneId")
|
|
8951
|
+
self._TotalDeviceNum = params.get("TotalDeviceNum")
|
|
8952
|
+
self._UsedDeviceNum = params.get("UsedDeviceNum")
|
|
8953
|
+
self._ProjectNum = params.get("ProjectNum")
|
|
8954
|
+
self._ProductNum = params.get("ProductNum")
|
|
8955
|
+
self._CreateTime = params.get("CreateTime")
|
|
8956
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
8957
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
8958
|
+
self._TotalDevice = params.get("TotalDevice")
|
|
8959
|
+
self._ActivateDevice = params.get("ActivateDevice")
|
|
8960
|
+
memeber_set = set(params.keys())
|
|
8961
|
+
for name, value in vars(self).items():
|
|
8962
|
+
property_name = name[1:]
|
|
8963
|
+
if property_name in memeber_set:
|
|
8964
|
+
memeber_set.remove(property_name)
|
|
8965
|
+
if len(memeber_set) > 0:
|
|
8966
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8967
|
+
|
|
8968
|
+
|
|
8969
|
+
|
|
8681
8970
|
class ListEventHistoryRequest(AbstractModel):
|
|
8682
8971
|
"""ListEventHistory请求参数结构体
|
|
8683
8972
|
|
|
@@ -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.968
|
|
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.968)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=wNx7mmswjxnLG6VBUkgALpsLSJzRMKP6h26keZj8StU,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=awKAaD_vZC4fVumGbEjEqenZuPwoxqoAZS4XxdVGSzw,20510
|
|
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.968.dist-info/METADATA,sha256=TLSOV762_b6IjrzW3kShEdy1aNgw6xGZR-PqTlrm2bA,1530
|
|
8
|
+
tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_iotexplorer-3.0.968.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=Bv-qpcU67HKGowTaGXY6OOZAo4VQJyWR9A_cIKGJ7Qo,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=awKAaD_vZC4fVumGbEjEqenZuPwoxqoAZS4XxdVGSzw,20510
|
|
5
|
-
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=J5nzHEu1Aetyw0d_BNwpXkB13oBjOJ10qmm_3G1qkEI,83195
|
|
6
|
-
tencentcloud/iotexplorer/v20190423/models.py,sha256=1bmkM4IhImunnYXThLhk2_Jg2UCxXrurovBXrfKASeo,360219
|
|
7
|
-
tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info/METADATA,sha256=R7Ae3WV5P1qkB9NnJgC-oMTOPLlys3VPdC4rnG_Llc8,1530
|
|
8
|
-
tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_iotexplorer-3.0.953.dist-info/RECORD,,
|
|
File without changes
|