tencentcloud-sdk-python-iotexplorer 3.0.1152__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.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/models.py +94 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → 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.1152/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → tencentcloud-sdk-python-iotexplorer-3.0.1154}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1152 → 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
|
|
|
@@ -18261,6 +18261,100 @@ class UnbindProductsResponse(AbstractModel):
|
|
|
18261
18261
|
self._RequestId = params.get("RequestId")
|
|
18262
18262
|
|
|
18263
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
|
+
|
|
18264
18358
|
class UpdateDevicesEnableStateRequest(AbstractModel):
|
|
18265
18359
|
"""UpdateDevicesEnableState请求参数结构体
|
|
18266
18360
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1154
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1152
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|