tencentcloud-sdk-python-iotexplorer 3.0.1459__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.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/models.py +165 -2
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → 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.1459/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → tencentcloud-sdk-python-iotexplorer-3.0.1465}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1459 → 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
|
|
|
@@ -8677,13 +8677,18 @@ class DescribeCloudStorageAIServiceRequest(AbstractModel):
|
|
|
8677
8677
|
:param _DeviceName: 设备名称
|
|
8678
8678
|
:type DeviceName: str
|
|
8679
8679
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
8680
|
-
- `RealtimeObjectDetect`:目标检测
|
|
8681
8680
|
- `Highlight`:视频浓缩
|
|
8682
8681
|
:type ServiceType: str
|
|
8682
|
+
:param _ChannelId: 通道 ID
|
|
8683
|
+
:type ChannelId: int
|
|
8684
|
+
:param _UserId: 用户 ID
|
|
8685
|
+
:type UserId: str
|
|
8683
8686
|
"""
|
|
8684
8687
|
self._ProductId = None
|
|
8685
8688
|
self._DeviceName = None
|
|
8686
8689
|
self._ServiceType = None
|
|
8690
|
+
self._ChannelId = None
|
|
8691
|
+
self._UserId = None
|
|
8687
8692
|
|
|
8688
8693
|
@property
|
|
8689
8694
|
def ProductId(self):
|
|
@@ -8710,7 +8715,6 @@ class DescribeCloudStorageAIServiceRequest(AbstractModel):
|
|
|
8710
8715
|
@property
|
|
8711
8716
|
def ServiceType(self):
|
|
8712
8717
|
r"""云存 AI 服务类型。可选值:
|
|
8713
|
-
- `RealtimeObjectDetect`:目标检测
|
|
8714
8718
|
- `Highlight`:视频浓缩
|
|
8715
8719
|
:rtype: str
|
|
8716
8720
|
"""
|
|
@@ -8720,11 +8724,35 @@ class DescribeCloudStorageAIServiceRequest(AbstractModel):
|
|
|
8720
8724
|
def ServiceType(self, ServiceType):
|
|
8721
8725
|
self._ServiceType = ServiceType
|
|
8722
8726
|
|
|
8727
|
+
@property
|
|
8728
|
+
def ChannelId(self):
|
|
8729
|
+
r"""通道 ID
|
|
8730
|
+
:rtype: int
|
|
8731
|
+
"""
|
|
8732
|
+
return self._ChannelId
|
|
8733
|
+
|
|
8734
|
+
@ChannelId.setter
|
|
8735
|
+
def ChannelId(self, ChannelId):
|
|
8736
|
+
self._ChannelId = ChannelId
|
|
8737
|
+
|
|
8738
|
+
@property
|
|
8739
|
+
def UserId(self):
|
|
8740
|
+
r"""用户 ID
|
|
8741
|
+
:rtype: str
|
|
8742
|
+
"""
|
|
8743
|
+
return self._UserId
|
|
8744
|
+
|
|
8745
|
+
@UserId.setter
|
|
8746
|
+
def UserId(self, UserId):
|
|
8747
|
+
self._UserId = UserId
|
|
8748
|
+
|
|
8723
8749
|
|
|
8724
8750
|
def _deserialize(self, params):
|
|
8725
8751
|
self._ProductId = params.get("ProductId")
|
|
8726
8752
|
self._DeviceName = params.get("DeviceName")
|
|
8727
8753
|
self._ServiceType = params.get("ServiceType")
|
|
8754
|
+
self._ChannelId = params.get("ChannelId")
|
|
8755
|
+
self._UserId = params.get("UserId")
|
|
8728
8756
|
memeber_set = set(params.keys())
|
|
8729
8757
|
for name, value in vars(self).items():
|
|
8730
8758
|
property_name = name[1:]
|
|
@@ -15792,6 +15820,105 @@ class DescribeStudioProductResponse(AbstractModel):
|
|
|
15792
15820
|
self._RequestId = params.get("RequestId")
|
|
15793
15821
|
|
|
15794
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
|
+
|
|
15795
15922
|
class DescribeTWeSeeConfigRequest(AbstractModel):
|
|
15796
15923
|
r"""DescribeTWeSeeConfig请求参数结构体
|
|
15797
15924
|
|
|
@@ -30987,6 +31114,42 @@ class SearchTopicRuleResponse(AbstractModel):
|
|
|
30987
31114
|
self._RequestId = params.get("RequestId")
|
|
30988
31115
|
|
|
30989
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
|
+
|
|
30990
31153
|
class TRTCParams(AbstractModel):
|
|
30991
31154
|
r"""TRTC 的参数 可以用来加入房间
|
|
30992
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.1459
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|