tencentcloud-sdk-python-iotexplorer 3.0.1460__tar.gz → 3.0.1465__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.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/models.py +135 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1465/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1460/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1460 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/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.1465,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2330,6 +2330,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2330
2330
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2331
2331
|
|
|
2332
2332
|
|
|
2333
|
+
def DescribeSubscribedTopicPolicy(self, request):
|
|
2334
|
+
r"""本接口(DescribeSubscribedTopicPolicy)用于获取设备已订阅Topic列表
|
|
2335
|
+
|
|
2336
|
+
:param request: Request instance for DescribeSubscribedTopicPolicy.
|
|
2337
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeSubscribedTopicPolicyRequest`
|
|
2338
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeSubscribedTopicPolicyResponse`
|
|
2339
|
+
|
|
2340
|
+
"""
|
|
2341
|
+
try:
|
|
2342
|
+
params = request._serialize()
|
|
2343
|
+
headers = request.headers
|
|
2344
|
+
body = self.call("DescribeSubscribedTopicPolicy", params, headers=headers)
|
|
2345
|
+
response = json.loads(body)
|
|
2346
|
+
model = models.DescribeSubscribedTopicPolicyResponse()
|
|
2347
|
+
model._deserialize(response["Response"])
|
|
2348
|
+
return model
|
|
2349
|
+
except Exception as e:
|
|
2350
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2351
|
+
raise
|
|
2352
|
+
else:
|
|
2353
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2354
|
+
|
|
2355
|
+
|
|
2333
2356
|
def DescribeTWeSeeConfig(self, request):
|
|
2334
2357
|
r"""拉取 TWeSee 配置
|
|
2335
2358
|
|
|
@@ -15820,6 +15820,105 @@ class DescribeStudioProductResponse(AbstractModel):
|
|
|
15820
15820
|
self._RequestId = params.get("RequestId")
|
|
15821
15821
|
|
|
15822
15822
|
|
|
15823
|
+
class DescribeSubscribedTopicPolicyRequest(AbstractModel):
|
|
15824
|
+
r"""DescribeSubscribedTopicPolicy请求参数结构体
|
|
15825
|
+
|
|
15826
|
+
"""
|
|
15827
|
+
|
|
15828
|
+
def __init__(self):
|
|
15829
|
+
r"""
|
|
15830
|
+
:param _ProductId: 产品ID
|
|
15831
|
+
:type ProductId: str
|
|
15832
|
+
:param _DeviceName: 设备名称
|
|
15833
|
+
:type DeviceName: str
|
|
15834
|
+
"""
|
|
15835
|
+
self._ProductId = None
|
|
15836
|
+
self._DeviceName = None
|
|
15837
|
+
|
|
15838
|
+
@property
|
|
15839
|
+
def ProductId(self):
|
|
15840
|
+
r"""产品ID
|
|
15841
|
+
:rtype: str
|
|
15842
|
+
"""
|
|
15843
|
+
return self._ProductId
|
|
15844
|
+
|
|
15845
|
+
@ProductId.setter
|
|
15846
|
+
def ProductId(self, ProductId):
|
|
15847
|
+
self._ProductId = ProductId
|
|
15848
|
+
|
|
15849
|
+
@property
|
|
15850
|
+
def DeviceName(self):
|
|
15851
|
+
r"""设备名称
|
|
15852
|
+
:rtype: str
|
|
15853
|
+
"""
|
|
15854
|
+
return self._DeviceName
|
|
15855
|
+
|
|
15856
|
+
@DeviceName.setter
|
|
15857
|
+
def DeviceName(self, DeviceName):
|
|
15858
|
+
self._DeviceName = DeviceName
|
|
15859
|
+
|
|
15860
|
+
|
|
15861
|
+
def _deserialize(self, params):
|
|
15862
|
+
self._ProductId = params.get("ProductId")
|
|
15863
|
+
self._DeviceName = params.get("DeviceName")
|
|
15864
|
+
memeber_set = set(params.keys())
|
|
15865
|
+
for name, value in vars(self).items():
|
|
15866
|
+
property_name = name[1:]
|
|
15867
|
+
if property_name in memeber_set:
|
|
15868
|
+
memeber_set.remove(property_name)
|
|
15869
|
+
if len(memeber_set) > 0:
|
|
15870
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15871
|
+
|
|
15872
|
+
|
|
15873
|
+
|
|
15874
|
+
class DescribeSubscribedTopicPolicyResponse(AbstractModel):
|
|
15875
|
+
r"""DescribeSubscribedTopicPolicy返回参数结构体
|
|
15876
|
+
|
|
15877
|
+
"""
|
|
15878
|
+
|
|
15879
|
+
def __init__(self):
|
|
15880
|
+
r"""
|
|
15881
|
+
:param _Topics: 已订阅Topic信息
|
|
15882
|
+
:type Topics: list of SubscribedTopicItem
|
|
15883
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15884
|
+
:type RequestId: str
|
|
15885
|
+
"""
|
|
15886
|
+
self._Topics = None
|
|
15887
|
+
self._RequestId = None
|
|
15888
|
+
|
|
15889
|
+
@property
|
|
15890
|
+
def Topics(self):
|
|
15891
|
+
r"""已订阅Topic信息
|
|
15892
|
+
:rtype: list of SubscribedTopicItem
|
|
15893
|
+
"""
|
|
15894
|
+
return self._Topics
|
|
15895
|
+
|
|
15896
|
+
@Topics.setter
|
|
15897
|
+
def Topics(self, Topics):
|
|
15898
|
+
self._Topics = Topics
|
|
15899
|
+
|
|
15900
|
+
@property
|
|
15901
|
+
def RequestId(self):
|
|
15902
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15903
|
+
:rtype: str
|
|
15904
|
+
"""
|
|
15905
|
+
return self._RequestId
|
|
15906
|
+
|
|
15907
|
+
@RequestId.setter
|
|
15908
|
+
def RequestId(self, RequestId):
|
|
15909
|
+
self._RequestId = RequestId
|
|
15910
|
+
|
|
15911
|
+
|
|
15912
|
+
def _deserialize(self, params):
|
|
15913
|
+
if params.get("Topics") is not None:
|
|
15914
|
+
self._Topics = []
|
|
15915
|
+
for item in params.get("Topics"):
|
|
15916
|
+
obj = SubscribedTopicItem()
|
|
15917
|
+
obj._deserialize(item)
|
|
15918
|
+
self._Topics.append(obj)
|
|
15919
|
+
self._RequestId = params.get("RequestId")
|
|
15920
|
+
|
|
15921
|
+
|
|
15823
15922
|
class DescribeTWeSeeConfigRequest(AbstractModel):
|
|
15824
15923
|
r"""DescribeTWeSeeConfig请求参数结构体
|
|
15825
15924
|
|
|
@@ -31015,6 +31114,42 @@ class SearchTopicRuleResponse(AbstractModel):
|
|
|
31015
31114
|
self._RequestId = params.get("RequestId")
|
|
31016
31115
|
|
|
31017
31116
|
|
|
31117
|
+
class SubscribedTopicItem(AbstractModel):
|
|
31118
|
+
r"""已订阅Topic信息
|
|
31119
|
+
|
|
31120
|
+
"""
|
|
31121
|
+
|
|
31122
|
+
def __init__(self):
|
|
31123
|
+
r"""
|
|
31124
|
+
:param _TopicName: Topic名称
|
|
31125
|
+
:type TopicName: str
|
|
31126
|
+
"""
|
|
31127
|
+
self._TopicName = None
|
|
31128
|
+
|
|
31129
|
+
@property
|
|
31130
|
+
def TopicName(self):
|
|
31131
|
+
r"""Topic名称
|
|
31132
|
+
:rtype: str
|
|
31133
|
+
"""
|
|
31134
|
+
return self._TopicName
|
|
31135
|
+
|
|
31136
|
+
@TopicName.setter
|
|
31137
|
+
def TopicName(self, TopicName):
|
|
31138
|
+
self._TopicName = TopicName
|
|
31139
|
+
|
|
31140
|
+
|
|
31141
|
+
def _deserialize(self, params):
|
|
31142
|
+
self._TopicName = params.get("TopicName")
|
|
31143
|
+
memeber_set = set(params.keys())
|
|
31144
|
+
for name, value in vars(self).items():
|
|
31145
|
+
property_name = name[1:]
|
|
31146
|
+
if property_name in memeber_set:
|
|
31147
|
+
memeber_set.remove(property_name)
|
|
31148
|
+
if len(memeber_set) > 0:
|
|
31149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
31150
|
+
|
|
31151
|
+
|
|
31152
|
+
|
|
31018
31153
|
class TRTCParams(AbstractModel):
|
|
31019
31154
|
r"""TRTC 的参数 可以用来加入房间
|
|
31020
31155
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1465
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1460
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|