tencentcloud-sdk-python-iotexplorer 3.0.1150__tar.gz → 3.0.1154__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.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/models.py +144 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1154/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1150/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1150 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/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.1154"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2924,6 +2924,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2924
2924
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2925
2925
|
|
|
2926
2926
|
|
|
2927
|
+
def UpdateDeviceTWeCallAuthorizeStatus(self, request):
|
|
2928
|
+
"""更新用户对设备的TweCall授权状态
|
|
2929
|
+
|
|
2930
|
+
:param request: Request instance for UpdateDeviceTWeCallAuthorizeStatus.
|
|
2931
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusRequest`
|
|
2932
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusResponse`
|
|
2933
|
+
|
|
2934
|
+
"""
|
|
2935
|
+
try:
|
|
2936
|
+
params = request._serialize()
|
|
2937
|
+
headers = request.headers
|
|
2938
|
+
body = self.call("UpdateDeviceTWeCallAuthorizeStatus", params, headers=headers)
|
|
2939
|
+
response = json.loads(body)
|
|
2940
|
+
model = models.UpdateDeviceTWeCallAuthorizeStatusResponse()
|
|
2941
|
+
model._deserialize(response["Response"])
|
|
2942
|
+
return model
|
|
2943
|
+
except Exception as e:
|
|
2944
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2945
|
+
raise
|
|
2946
|
+
else:
|
|
2947
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2948
|
+
|
|
2949
|
+
|
|
2927
2950
|
def UpdateDevicesEnableState(self, request):
|
|
2928
2951
|
"""批量禁用启用设备
|
|
2929
2952
|
|
|
@@ -2644,6 +2644,10 @@ class CreateStudioProductRequest(AbstractModel):
|
|
|
2644
2644
|
:type ProductDesc: str
|
|
2645
2645
|
:param _ProjectId: 产品的项目ID
|
|
2646
2646
|
:type ProjectId: str
|
|
2647
|
+
:param _Rate: 平均传输速率
|
|
2648
|
+
:type Rate: str
|
|
2649
|
+
:param _Period: 期限
|
|
2650
|
+
:type Period: str
|
|
2647
2651
|
"""
|
|
2648
2652
|
self._ProductName = None
|
|
2649
2653
|
self._CategoryId = None
|
|
@@ -2653,6 +2657,8 @@ class CreateStudioProductRequest(AbstractModel):
|
|
|
2653
2657
|
self._DataProtocol = None
|
|
2654
2658
|
self._ProductDesc = None
|
|
2655
2659
|
self._ProjectId = None
|
|
2660
|
+
self._Rate = None
|
|
2661
|
+
self._Period = None
|
|
2656
2662
|
|
|
2657
2663
|
@property
|
|
2658
2664
|
def ProductName(self):
|
|
@@ -2718,6 +2724,22 @@ class CreateStudioProductRequest(AbstractModel):
|
|
|
2718
2724
|
def ProjectId(self, ProjectId):
|
|
2719
2725
|
self._ProjectId = ProjectId
|
|
2720
2726
|
|
|
2727
|
+
@property
|
|
2728
|
+
def Rate(self):
|
|
2729
|
+
return self._Rate
|
|
2730
|
+
|
|
2731
|
+
@Rate.setter
|
|
2732
|
+
def Rate(self, Rate):
|
|
2733
|
+
self._Rate = Rate
|
|
2734
|
+
|
|
2735
|
+
@property
|
|
2736
|
+
def Period(self):
|
|
2737
|
+
return self._Period
|
|
2738
|
+
|
|
2739
|
+
@Period.setter
|
|
2740
|
+
def Period(self, Period):
|
|
2741
|
+
self._Period = Period
|
|
2742
|
+
|
|
2721
2743
|
|
|
2722
2744
|
def _deserialize(self, params):
|
|
2723
2745
|
self._ProductName = params.get("ProductName")
|
|
@@ -2728,6 +2750,8 @@ class CreateStudioProductRequest(AbstractModel):
|
|
|
2728
2750
|
self._DataProtocol = params.get("DataProtocol")
|
|
2729
2751
|
self._ProductDesc = params.get("ProductDesc")
|
|
2730
2752
|
self._ProjectId = params.get("ProjectId")
|
|
2753
|
+
self._Rate = params.get("Rate")
|
|
2754
|
+
self._Period = params.get("Period")
|
|
2731
2755
|
memeber_set = set(params.keys())
|
|
2732
2756
|
for name, value in vars(self).items():
|
|
2733
2757
|
property_name = name[1:]
|
|
@@ -15885,6 +15909,12 @@ wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、els
|
|
|
15885
15909
|
:param _DeviceCount: 设备数量
|
|
15886
15910
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
15887
15911
|
:type DeviceCount: int
|
|
15912
|
+
:param _Rate: 平均传输速率
|
|
15913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15914
|
+
:type Rate: str
|
|
15915
|
+
:param _Period: 有效期
|
|
15916
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15917
|
+
:type Period: str
|
|
15888
15918
|
"""
|
|
15889
15919
|
self._ProductId = None
|
|
15890
15920
|
self._ProductName = None
|
|
@@ -15905,6 +15935,8 @@ wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、els
|
|
|
15905
15935
|
self._CreatorNickName = None
|
|
15906
15936
|
self._BindStrategy = None
|
|
15907
15937
|
self._DeviceCount = None
|
|
15938
|
+
self._Rate = None
|
|
15939
|
+
self._Period = None
|
|
15908
15940
|
|
|
15909
15941
|
@property
|
|
15910
15942
|
def ProductId(self):
|
|
@@ -16058,6 +16090,22 @@ wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、els
|
|
|
16058
16090
|
def DeviceCount(self, DeviceCount):
|
|
16059
16091
|
self._DeviceCount = DeviceCount
|
|
16060
16092
|
|
|
16093
|
+
@property
|
|
16094
|
+
def Rate(self):
|
|
16095
|
+
return self._Rate
|
|
16096
|
+
|
|
16097
|
+
@Rate.setter
|
|
16098
|
+
def Rate(self, Rate):
|
|
16099
|
+
self._Rate = Rate
|
|
16100
|
+
|
|
16101
|
+
@property
|
|
16102
|
+
def Period(self):
|
|
16103
|
+
return self._Period
|
|
16104
|
+
|
|
16105
|
+
@Period.setter
|
|
16106
|
+
def Period(self, Period):
|
|
16107
|
+
self._Period = Period
|
|
16108
|
+
|
|
16061
16109
|
|
|
16062
16110
|
def _deserialize(self, params):
|
|
16063
16111
|
self._ProductId = params.get("ProductId")
|
|
@@ -16079,6 +16127,8 @@ wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、els
|
|
|
16079
16127
|
self._CreatorNickName = params.get("CreatorNickName")
|
|
16080
16128
|
self._BindStrategy = params.get("BindStrategy")
|
|
16081
16129
|
self._DeviceCount = params.get("DeviceCount")
|
|
16130
|
+
self._Rate = params.get("Rate")
|
|
16131
|
+
self._Period = params.get("Period")
|
|
16082
16132
|
memeber_set = set(params.keys())
|
|
16083
16133
|
for name, value in vars(self).items():
|
|
16084
16134
|
property_name = name[1:]
|
|
@@ -18211,6 +18261,100 @@ class UnbindProductsResponse(AbstractModel):
|
|
|
18211
18261
|
self._RequestId = params.get("RequestId")
|
|
18212
18262
|
|
|
18213
18263
|
|
|
18264
|
+
class UpdateDeviceTWeCallAuthorizeStatusRequest(AbstractModel):
|
|
18265
|
+
"""UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
|
|
18266
|
+
|
|
18267
|
+
"""
|
|
18268
|
+
|
|
18269
|
+
def __init__(self):
|
|
18270
|
+
r"""
|
|
18271
|
+
:param _Status: TweCall授权状态:0未授权,1已授权
|
|
18272
|
+
:type Status: int
|
|
18273
|
+
:param _ProductId: 产品ID
|
|
18274
|
+
:type ProductId: str
|
|
18275
|
+
:param _DeviceName: 设备名
|
|
18276
|
+
:type DeviceName: str
|
|
18277
|
+
:param _WechatOpenId: 微信用户的openId
|
|
18278
|
+
:type WechatOpenId: str
|
|
18279
|
+
"""
|
|
18280
|
+
self._Status = None
|
|
18281
|
+
self._ProductId = None
|
|
18282
|
+
self._DeviceName = None
|
|
18283
|
+
self._WechatOpenId = None
|
|
18284
|
+
|
|
18285
|
+
@property
|
|
18286
|
+
def Status(self):
|
|
18287
|
+
return self._Status
|
|
18288
|
+
|
|
18289
|
+
@Status.setter
|
|
18290
|
+
def Status(self, Status):
|
|
18291
|
+
self._Status = Status
|
|
18292
|
+
|
|
18293
|
+
@property
|
|
18294
|
+
def ProductId(self):
|
|
18295
|
+
return self._ProductId
|
|
18296
|
+
|
|
18297
|
+
@ProductId.setter
|
|
18298
|
+
def ProductId(self, ProductId):
|
|
18299
|
+
self._ProductId = ProductId
|
|
18300
|
+
|
|
18301
|
+
@property
|
|
18302
|
+
def DeviceName(self):
|
|
18303
|
+
return self._DeviceName
|
|
18304
|
+
|
|
18305
|
+
@DeviceName.setter
|
|
18306
|
+
def DeviceName(self, DeviceName):
|
|
18307
|
+
self._DeviceName = DeviceName
|
|
18308
|
+
|
|
18309
|
+
@property
|
|
18310
|
+
def WechatOpenId(self):
|
|
18311
|
+
return self._WechatOpenId
|
|
18312
|
+
|
|
18313
|
+
@WechatOpenId.setter
|
|
18314
|
+
def WechatOpenId(self, WechatOpenId):
|
|
18315
|
+
self._WechatOpenId = WechatOpenId
|
|
18316
|
+
|
|
18317
|
+
|
|
18318
|
+
def _deserialize(self, params):
|
|
18319
|
+
self._Status = params.get("Status")
|
|
18320
|
+
self._ProductId = params.get("ProductId")
|
|
18321
|
+
self._DeviceName = params.get("DeviceName")
|
|
18322
|
+
self._WechatOpenId = params.get("WechatOpenId")
|
|
18323
|
+
memeber_set = set(params.keys())
|
|
18324
|
+
for name, value in vars(self).items():
|
|
18325
|
+
property_name = name[1:]
|
|
18326
|
+
if property_name in memeber_set:
|
|
18327
|
+
memeber_set.remove(property_name)
|
|
18328
|
+
if len(memeber_set) > 0:
|
|
18329
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18330
|
+
|
|
18331
|
+
|
|
18332
|
+
|
|
18333
|
+
class UpdateDeviceTWeCallAuthorizeStatusResponse(AbstractModel):
|
|
18334
|
+
"""UpdateDeviceTWeCallAuthorizeStatus返回参数结构体
|
|
18335
|
+
|
|
18336
|
+
"""
|
|
18337
|
+
|
|
18338
|
+
def __init__(self):
|
|
18339
|
+
r"""
|
|
18340
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18341
|
+
:type RequestId: str
|
|
18342
|
+
"""
|
|
18343
|
+
self._RequestId = None
|
|
18344
|
+
|
|
18345
|
+
@property
|
|
18346
|
+
def RequestId(self):
|
|
18347
|
+
return self._RequestId
|
|
18348
|
+
|
|
18349
|
+
@RequestId.setter
|
|
18350
|
+
def RequestId(self, RequestId):
|
|
18351
|
+
self._RequestId = RequestId
|
|
18352
|
+
|
|
18353
|
+
|
|
18354
|
+
def _deserialize(self, params):
|
|
18355
|
+
self._RequestId = params.get("RequestId")
|
|
18356
|
+
|
|
18357
|
+
|
|
18214
18358
|
class UpdateDevicesEnableStateRequest(AbstractModel):
|
|
18215
18359
|
"""UpdateDevicesEnableState请求参数结构体
|
|
18216
18360
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1154
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1150
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|