antchain-bot 1.11.34__py3-none-any.whl → 1.11.41__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.
- {antchain_bot-1.11.34.dist-info → antchain_bot-1.11.41.dist-info}/METADATA +1 -1
- antchain_bot-1.11.41.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +306 -250
- antchain_sdk_bot/models.py +138 -66
- antchain_bot-1.11.34.dist-info/RECORD +0 -8
- {antchain_bot-1.11.34.dist-info → antchain_bot-1.11.41.dist-info}/LICENSE +0 -0
- {antchain_bot-1.11.34.dist-info → antchain_bot-1.11.41.dist-info}/WHEEL +0 -0
- {antchain_bot-1.11.34.dist-info → antchain_bot-1.11.41.dist-info}/top_level.txt +0 -0
antchain_sdk_bot/client.py
CHANGED
|
@@ -135,7 +135,7 @@ class Client:
|
|
|
135
135
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
136
136
|
'access_key': self._access_key_id,
|
|
137
137
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
138
|
-
'sdk_version': '1.11.
|
|
138
|
+
'sdk_version': '1.11.41',
|
|
139
139
|
'_prod_code': 'BOT',
|
|
140
140
|
'_prod_channel': 'undefined'
|
|
141
141
|
}
|
|
@@ -239,7 +239,7 @@ class Client:
|
|
|
239
239
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
240
240
|
'access_key': self._access_key_id,
|
|
241
241
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
242
|
-
'sdk_version': '1.11.
|
|
242
|
+
'sdk_version': '1.11.41',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -6525,36 +6525,36 @@ class Client:
|
|
|
6525
6525
|
await self.do_request_async('1.0', 'blockchain.bot.digitalkey.deviceinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6526
6526
|
)
|
|
6527
6527
|
|
|
6528
|
-
def
|
|
6528
|
+
def create_iotlink_appmanager(
|
|
6529
6529
|
self,
|
|
6530
|
-
request: bot_models.
|
|
6531
|
-
) -> bot_models.
|
|
6530
|
+
request: bot_models.CreateIotlinkAppmanagerRequest,
|
|
6531
|
+
) -> bot_models.CreateIotlinkAppmanagerResponse:
|
|
6532
6532
|
"""
|
|
6533
6533
|
Description: iotbasic-新增应用
|
|
6534
6534
|
Summary: iotbasic-新增应用
|
|
6535
6535
|
"""
|
|
6536
6536
|
runtime = util_models.RuntimeOptions()
|
|
6537
6537
|
headers = {}
|
|
6538
|
-
return self.
|
|
6538
|
+
return self.create_iotlink_appmanager_ex(request, headers, runtime)
|
|
6539
6539
|
|
|
6540
|
-
async def
|
|
6540
|
+
async def create_iotlink_appmanager_async(
|
|
6541
6541
|
self,
|
|
6542
|
-
request: bot_models.
|
|
6543
|
-
) -> bot_models.
|
|
6542
|
+
request: bot_models.CreateIotlinkAppmanagerRequest,
|
|
6543
|
+
) -> bot_models.CreateIotlinkAppmanagerResponse:
|
|
6544
6544
|
"""
|
|
6545
6545
|
Description: iotbasic-新增应用
|
|
6546
6546
|
Summary: iotbasic-新增应用
|
|
6547
6547
|
"""
|
|
6548
6548
|
runtime = util_models.RuntimeOptions()
|
|
6549
6549
|
headers = {}
|
|
6550
|
-
return await self.
|
|
6550
|
+
return await self.create_iotlink_appmanager_ex_async(request, headers, runtime)
|
|
6551
6551
|
|
|
6552
|
-
def
|
|
6552
|
+
def create_iotlink_appmanager_ex(
|
|
6553
6553
|
self,
|
|
6554
|
-
request: bot_models.
|
|
6554
|
+
request: bot_models.CreateIotlinkAppmanagerRequest,
|
|
6555
6555
|
headers: Dict[str, str],
|
|
6556
6556
|
runtime: util_models.RuntimeOptions,
|
|
6557
|
-
) -> bot_models.
|
|
6557
|
+
) -> bot_models.CreateIotlinkAppmanagerResponse:
|
|
6558
6558
|
"""
|
|
6559
6559
|
Description: iotbasic-新增应用
|
|
6560
6560
|
Summary: iotbasic-新增应用
|
|
@@ -6562,32 +6562,32 @@ class Client:
|
|
|
6562
6562
|
if not UtilClient.is_unset(request.file_object):
|
|
6563
6563
|
upload_req = bot_models.CreateAntcloudGatewayxFileUploadRequest(
|
|
6564
6564
|
auth_token=request.auth_token,
|
|
6565
|
-
api_code='blockchain.bot.
|
|
6565
|
+
api_code='blockchain.bot.iotlink.appmanager.create',
|
|
6566
6566
|
file_name=request.file_object_name
|
|
6567
6567
|
)
|
|
6568
6568
|
upload_resp = self.create_antcloud_gatewayx_file_upload_ex(upload_req, headers, runtime)
|
|
6569
6569
|
if not AntchainUtils.is_success(upload_resp.result_code, 'ok'):
|
|
6570
|
-
|
|
6570
|
+
create_iotlink_appmanager_response = bot_models.CreateIotlinkAppmanagerResponse(
|
|
6571
6571
|
req_msg_id=upload_resp.req_msg_id,
|
|
6572
6572
|
result_code=upload_resp.result_code,
|
|
6573
6573
|
result_msg=upload_resp.result_msg
|
|
6574
6574
|
)
|
|
6575
|
-
return
|
|
6575
|
+
return create_iotlink_appmanager_response
|
|
6576
6576
|
upload_headers = AntchainUtils.parse_upload_headers(upload_resp.upload_headers)
|
|
6577
6577
|
AntchainUtils.put_object(request.file_object, upload_headers, upload_resp.upload_url)
|
|
6578
6578
|
request.file_id = upload_resp.file_id
|
|
6579
6579
|
UtilClient.validate_model(request)
|
|
6580
6580
|
return TeaCore.from_map(
|
|
6581
|
-
bot_models.
|
|
6582
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6581
|
+
bot_models.CreateIotlinkAppmanagerResponse(),
|
|
6582
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appmanager.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6583
6583
|
)
|
|
6584
6584
|
|
|
6585
|
-
async def
|
|
6585
|
+
async def create_iotlink_appmanager_ex_async(
|
|
6586
6586
|
self,
|
|
6587
|
-
request: bot_models.
|
|
6587
|
+
request: bot_models.CreateIotlinkAppmanagerRequest,
|
|
6588
6588
|
headers: Dict[str, str],
|
|
6589
6589
|
runtime: util_models.RuntimeOptions,
|
|
6590
|
-
) -> bot_models.
|
|
6590
|
+
) -> bot_models.CreateIotlinkAppmanagerResponse:
|
|
6591
6591
|
"""
|
|
6592
6592
|
Description: iotbasic-新增应用
|
|
6593
6593
|
Summary: iotbasic-新增应用
|
|
@@ -6595,696 +6595,752 @@ class Client:
|
|
|
6595
6595
|
if not UtilClient.is_unset(request.file_object):
|
|
6596
6596
|
upload_req = bot_models.CreateAntcloudGatewayxFileUploadRequest(
|
|
6597
6597
|
auth_token=request.auth_token,
|
|
6598
|
-
api_code='blockchain.bot.
|
|
6598
|
+
api_code='blockchain.bot.iotlink.appmanager.create',
|
|
6599
6599
|
file_name=request.file_object_name
|
|
6600
6600
|
)
|
|
6601
6601
|
upload_resp = await self.create_antcloud_gatewayx_file_upload_ex_async(upload_req, headers, runtime)
|
|
6602
6602
|
if not AntchainUtils.is_success(upload_resp.result_code, 'ok'):
|
|
6603
|
-
|
|
6603
|
+
create_iotlink_appmanager_response = bot_models.CreateIotlinkAppmanagerResponse(
|
|
6604
6604
|
req_msg_id=upload_resp.req_msg_id,
|
|
6605
6605
|
result_code=upload_resp.result_code,
|
|
6606
6606
|
result_msg=upload_resp.result_msg
|
|
6607
6607
|
)
|
|
6608
|
-
return
|
|
6608
|
+
return create_iotlink_appmanager_response
|
|
6609
6609
|
upload_headers = AntchainUtils.parse_upload_headers(upload_resp.upload_headers)
|
|
6610
6610
|
await AntchainUtils.put_object_async(request.file_object, upload_headers, upload_resp.upload_url)
|
|
6611
6611
|
request.file_id = upload_resp.file_id
|
|
6612
6612
|
UtilClient.validate_model(request)
|
|
6613
6613
|
return TeaCore.from_map(
|
|
6614
|
-
bot_models.
|
|
6615
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6614
|
+
bot_models.CreateIotlinkAppmanagerResponse(),
|
|
6615
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appmanager.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6616
6616
|
)
|
|
6617
6617
|
|
|
6618
|
-
def
|
|
6618
|
+
def list_iotlink_otamodule(
|
|
6619
6619
|
self,
|
|
6620
|
-
request: bot_models.
|
|
6621
|
-
) -> bot_models.
|
|
6620
|
+
request: bot_models.ListIotlinkOtamoduleRequest,
|
|
6621
|
+
) -> bot_models.ListIotlinkOtamoduleResponse:
|
|
6622
6622
|
"""
|
|
6623
|
-
Description: iotbasic
|
|
6624
|
-
Summary: iotbasic
|
|
6623
|
+
Description: iotbasic-获取应用模块列表
|
|
6624
|
+
Summary: iotbasic-获取应用模块列表
|
|
6625
6625
|
"""
|
|
6626
6626
|
runtime = util_models.RuntimeOptions()
|
|
6627
6627
|
headers = {}
|
|
6628
|
-
return self.
|
|
6628
|
+
return self.list_iotlink_otamodule_ex(request, headers, runtime)
|
|
6629
6629
|
|
|
6630
|
-
async def
|
|
6630
|
+
async def list_iotlink_otamodule_async(
|
|
6631
6631
|
self,
|
|
6632
|
-
request: bot_models.
|
|
6633
|
-
) -> bot_models.
|
|
6632
|
+
request: bot_models.ListIotlinkOtamoduleRequest,
|
|
6633
|
+
) -> bot_models.ListIotlinkOtamoduleResponse:
|
|
6634
6634
|
"""
|
|
6635
|
-
Description: iotbasic
|
|
6636
|
-
Summary: iotbasic
|
|
6635
|
+
Description: iotbasic-获取应用模块列表
|
|
6636
|
+
Summary: iotbasic-获取应用模块列表
|
|
6637
6637
|
"""
|
|
6638
6638
|
runtime = util_models.RuntimeOptions()
|
|
6639
6639
|
headers = {}
|
|
6640
|
-
return await self.
|
|
6640
|
+
return await self.list_iotlink_otamodule_ex_async(request, headers, runtime)
|
|
6641
6641
|
|
|
6642
|
-
def
|
|
6642
|
+
def list_iotlink_otamodule_ex(
|
|
6643
6643
|
self,
|
|
6644
|
-
request: bot_models.
|
|
6644
|
+
request: bot_models.ListIotlinkOtamoduleRequest,
|
|
6645
6645
|
headers: Dict[str, str],
|
|
6646
6646
|
runtime: util_models.RuntimeOptions,
|
|
6647
|
-
) -> bot_models.
|
|
6647
|
+
) -> bot_models.ListIotlinkOtamoduleResponse:
|
|
6648
6648
|
"""
|
|
6649
|
-
Description: iotbasic
|
|
6650
|
-
Summary: iotbasic
|
|
6649
|
+
Description: iotbasic-获取应用模块列表
|
|
6650
|
+
Summary: iotbasic-获取应用模块列表
|
|
6651
6651
|
"""
|
|
6652
6652
|
UtilClient.validate_model(request)
|
|
6653
6653
|
return TeaCore.from_map(
|
|
6654
|
-
bot_models.
|
|
6655
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6654
|
+
bot_models.ListIotlinkOtamoduleResponse(),
|
|
6655
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.otamodule.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6656
6656
|
)
|
|
6657
6657
|
|
|
6658
|
-
async def
|
|
6658
|
+
async def list_iotlink_otamodule_ex_async(
|
|
6659
6659
|
self,
|
|
6660
|
-
request: bot_models.
|
|
6660
|
+
request: bot_models.ListIotlinkOtamoduleRequest,
|
|
6661
6661
|
headers: Dict[str, str],
|
|
6662
6662
|
runtime: util_models.RuntimeOptions,
|
|
6663
|
-
) -> bot_models.
|
|
6663
|
+
) -> bot_models.ListIotlinkOtamoduleResponse:
|
|
6664
6664
|
"""
|
|
6665
|
-
Description: iotbasic
|
|
6666
|
-
Summary: iotbasic
|
|
6665
|
+
Description: iotbasic-获取应用模块列表
|
|
6666
|
+
Summary: iotbasic-获取应用模块列表
|
|
6667
6667
|
"""
|
|
6668
6668
|
UtilClient.validate_model(request)
|
|
6669
6669
|
return TeaCore.from_map(
|
|
6670
|
-
bot_models.
|
|
6671
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6670
|
+
bot_models.ListIotlinkOtamoduleResponse(),
|
|
6671
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.otamodule.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6672
6672
|
)
|
|
6673
6673
|
|
|
6674
|
-
def
|
|
6674
|
+
def pagequery_iotlink_appmanager(
|
|
6675
6675
|
self,
|
|
6676
|
-
request: bot_models.
|
|
6677
|
-
) -> bot_models.
|
|
6676
|
+
request: bot_models.PagequeryIotlinkAppmanagerRequest,
|
|
6677
|
+
) -> bot_models.PagequeryIotlinkAppmanagerResponse:
|
|
6678
6678
|
"""
|
|
6679
6679
|
Description: iotbasic-分页查询应用列表
|
|
6680
6680
|
Summary: iotbasic-分页查询应用列表
|
|
6681
6681
|
"""
|
|
6682
6682
|
runtime = util_models.RuntimeOptions()
|
|
6683
6683
|
headers = {}
|
|
6684
|
-
return self.
|
|
6684
|
+
return self.pagequery_iotlink_appmanager_ex(request, headers, runtime)
|
|
6685
6685
|
|
|
6686
|
-
async def
|
|
6686
|
+
async def pagequery_iotlink_appmanager_async(
|
|
6687
6687
|
self,
|
|
6688
|
-
request: bot_models.
|
|
6689
|
-
) -> bot_models.
|
|
6688
|
+
request: bot_models.PagequeryIotlinkAppmanagerRequest,
|
|
6689
|
+
) -> bot_models.PagequeryIotlinkAppmanagerResponse:
|
|
6690
6690
|
"""
|
|
6691
6691
|
Description: iotbasic-分页查询应用列表
|
|
6692
6692
|
Summary: iotbasic-分页查询应用列表
|
|
6693
6693
|
"""
|
|
6694
6694
|
runtime = util_models.RuntimeOptions()
|
|
6695
6695
|
headers = {}
|
|
6696
|
-
return await self.
|
|
6696
|
+
return await self.pagequery_iotlink_appmanager_ex_async(request, headers, runtime)
|
|
6697
6697
|
|
|
6698
|
-
def
|
|
6698
|
+
def pagequery_iotlink_appmanager_ex(
|
|
6699
6699
|
self,
|
|
6700
|
-
request: bot_models.
|
|
6700
|
+
request: bot_models.PagequeryIotlinkAppmanagerRequest,
|
|
6701
6701
|
headers: Dict[str, str],
|
|
6702
6702
|
runtime: util_models.RuntimeOptions,
|
|
6703
|
-
) -> bot_models.
|
|
6703
|
+
) -> bot_models.PagequeryIotlinkAppmanagerResponse:
|
|
6704
6704
|
"""
|
|
6705
6705
|
Description: iotbasic-分页查询应用列表
|
|
6706
6706
|
Summary: iotbasic-分页查询应用列表
|
|
6707
6707
|
"""
|
|
6708
6708
|
UtilClient.validate_model(request)
|
|
6709
6709
|
return TeaCore.from_map(
|
|
6710
|
-
bot_models.
|
|
6711
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6710
|
+
bot_models.PagequeryIotlinkAppmanagerResponse(),
|
|
6711
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appmanager.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6712
6712
|
)
|
|
6713
6713
|
|
|
6714
|
-
async def
|
|
6714
|
+
async def pagequery_iotlink_appmanager_ex_async(
|
|
6715
6715
|
self,
|
|
6716
|
-
request: bot_models.
|
|
6716
|
+
request: bot_models.PagequeryIotlinkAppmanagerRequest,
|
|
6717
6717
|
headers: Dict[str, str],
|
|
6718
6718
|
runtime: util_models.RuntimeOptions,
|
|
6719
|
-
) -> bot_models.
|
|
6719
|
+
) -> bot_models.PagequeryIotlinkAppmanagerResponse:
|
|
6720
6720
|
"""
|
|
6721
6721
|
Description: iotbasic-分页查询应用列表
|
|
6722
6722
|
Summary: iotbasic-分页查询应用列表
|
|
6723
6723
|
"""
|
|
6724
6724
|
UtilClient.validate_model(request)
|
|
6725
6725
|
return TeaCore.from_map(
|
|
6726
|
-
bot_models.
|
|
6727
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6726
|
+
bot_models.PagequeryIotlinkAppmanagerResponse(),
|
|
6727
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appmanager.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6728
6728
|
)
|
|
6729
6729
|
|
|
6730
|
-
def
|
|
6730
|
+
def get_iotlink_appmanagerfileurl(
|
|
6731
6731
|
self,
|
|
6732
|
-
request: bot_models.
|
|
6733
|
-
) -> bot_models.
|
|
6732
|
+
request: bot_models.GetIotlinkAppmanagerfileurlRequest,
|
|
6733
|
+
) -> bot_models.GetIotlinkAppmanagerfileurlResponse:
|
|
6734
6734
|
"""
|
|
6735
6735
|
Description: iotbasic-获取应用下载地址
|
|
6736
6736
|
Summary: iotbasic-获取应用下载地址
|
|
6737
6737
|
"""
|
|
6738
6738
|
runtime = util_models.RuntimeOptions()
|
|
6739
6739
|
headers = {}
|
|
6740
|
-
return self.
|
|
6740
|
+
return self.get_iotlink_appmanagerfileurl_ex(request, headers, runtime)
|
|
6741
6741
|
|
|
6742
|
-
async def
|
|
6742
|
+
async def get_iotlink_appmanagerfileurl_async(
|
|
6743
6743
|
self,
|
|
6744
|
-
request: bot_models.
|
|
6745
|
-
) -> bot_models.
|
|
6744
|
+
request: bot_models.GetIotlinkAppmanagerfileurlRequest,
|
|
6745
|
+
) -> bot_models.GetIotlinkAppmanagerfileurlResponse:
|
|
6746
6746
|
"""
|
|
6747
6747
|
Description: iotbasic-获取应用下载地址
|
|
6748
6748
|
Summary: iotbasic-获取应用下载地址
|
|
6749
6749
|
"""
|
|
6750
6750
|
runtime = util_models.RuntimeOptions()
|
|
6751
6751
|
headers = {}
|
|
6752
|
-
return await self.
|
|
6752
|
+
return await self.get_iotlink_appmanagerfileurl_ex_async(request, headers, runtime)
|
|
6753
6753
|
|
|
6754
|
-
def
|
|
6754
|
+
def get_iotlink_appmanagerfileurl_ex(
|
|
6755
6755
|
self,
|
|
6756
|
-
request: bot_models.
|
|
6756
|
+
request: bot_models.GetIotlinkAppmanagerfileurlRequest,
|
|
6757
6757
|
headers: Dict[str, str],
|
|
6758
6758
|
runtime: util_models.RuntimeOptions,
|
|
6759
|
-
) -> bot_models.
|
|
6759
|
+
) -> bot_models.GetIotlinkAppmanagerfileurlResponse:
|
|
6760
6760
|
"""
|
|
6761
6761
|
Description: iotbasic-获取应用下载地址
|
|
6762
6762
|
Summary: iotbasic-获取应用下载地址
|
|
6763
6763
|
"""
|
|
6764
6764
|
UtilClient.validate_model(request)
|
|
6765
6765
|
return TeaCore.from_map(
|
|
6766
|
-
bot_models.
|
|
6767
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6766
|
+
bot_models.GetIotlinkAppmanagerfileurlResponse(),
|
|
6767
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appmanagerfileurl.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6768
6768
|
)
|
|
6769
6769
|
|
|
6770
|
-
async def
|
|
6770
|
+
async def get_iotlink_appmanagerfileurl_ex_async(
|
|
6771
6771
|
self,
|
|
6772
|
-
request: bot_models.
|
|
6772
|
+
request: bot_models.GetIotlinkAppmanagerfileurlRequest,
|
|
6773
6773
|
headers: Dict[str, str],
|
|
6774
6774
|
runtime: util_models.RuntimeOptions,
|
|
6775
|
-
) -> bot_models.
|
|
6775
|
+
) -> bot_models.GetIotlinkAppmanagerfileurlResponse:
|
|
6776
6776
|
"""
|
|
6777
6777
|
Description: iotbasic-获取应用下载地址
|
|
6778
6778
|
Summary: iotbasic-获取应用下载地址
|
|
6779
6779
|
"""
|
|
6780
6780
|
UtilClient.validate_model(request)
|
|
6781
6781
|
return TeaCore.from_map(
|
|
6782
|
-
bot_models.
|
|
6783
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6782
|
+
bot_models.GetIotlinkAppmanagerfileurlResponse(),
|
|
6783
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appmanagerfileurl.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6784
6784
|
)
|
|
6785
6785
|
|
|
6786
|
-
def
|
|
6786
|
+
def pagequery_iotlink_appreleaseorder(
|
|
6787
6787
|
self,
|
|
6788
|
-
request: bot_models.
|
|
6789
|
-
) -> bot_models.
|
|
6788
|
+
request: bot_models.PagequeryIotlinkAppreleaseorderRequest,
|
|
6789
|
+
) -> bot_models.PagequeryIotlinkAppreleaseorderResponse:
|
|
6790
6790
|
"""
|
|
6791
6791
|
Description: iotbasic-分页查询发布批次列表
|
|
6792
6792
|
Summary: iotbasic-分页查询发布批次列表
|
|
6793
6793
|
"""
|
|
6794
6794
|
runtime = util_models.RuntimeOptions()
|
|
6795
6795
|
headers = {}
|
|
6796
|
-
return self.
|
|
6796
|
+
return self.pagequery_iotlink_appreleaseorder_ex(request, headers, runtime)
|
|
6797
6797
|
|
|
6798
|
-
async def
|
|
6798
|
+
async def pagequery_iotlink_appreleaseorder_async(
|
|
6799
6799
|
self,
|
|
6800
|
-
request: bot_models.
|
|
6801
|
-
) -> bot_models.
|
|
6800
|
+
request: bot_models.PagequeryIotlinkAppreleaseorderRequest,
|
|
6801
|
+
) -> bot_models.PagequeryIotlinkAppreleaseorderResponse:
|
|
6802
6802
|
"""
|
|
6803
6803
|
Description: iotbasic-分页查询发布批次列表
|
|
6804
6804
|
Summary: iotbasic-分页查询发布批次列表
|
|
6805
6805
|
"""
|
|
6806
6806
|
runtime = util_models.RuntimeOptions()
|
|
6807
6807
|
headers = {}
|
|
6808
|
-
return await self.
|
|
6808
|
+
return await self.pagequery_iotlink_appreleaseorder_ex_async(request, headers, runtime)
|
|
6809
6809
|
|
|
6810
|
-
def
|
|
6810
|
+
def pagequery_iotlink_appreleaseorder_ex(
|
|
6811
6811
|
self,
|
|
6812
|
-
request: bot_models.
|
|
6812
|
+
request: bot_models.PagequeryIotlinkAppreleaseorderRequest,
|
|
6813
6813
|
headers: Dict[str, str],
|
|
6814
6814
|
runtime: util_models.RuntimeOptions,
|
|
6815
|
-
) -> bot_models.
|
|
6815
|
+
) -> bot_models.PagequeryIotlinkAppreleaseorderResponse:
|
|
6816
6816
|
"""
|
|
6817
6817
|
Description: iotbasic-分页查询发布批次列表
|
|
6818
6818
|
Summary: iotbasic-分页查询发布批次列表
|
|
6819
6819
|
"""
|
|
6820
6820
|
UtilClient.validate_model(request)
|
|
6821
6821
|
return TeaCore.from_map(
|
|
6822
|
-
bot_models.
|
|
6823
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6822
|
+
bot_models.PagequeryIotlinkAppreleaseorderResponse(),
|
|
6823
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appreleaseorder.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6824
6824
|
)
|
|
6825
6825
|
|
|
6826
|
-
async def
|
|
6826
|
+
async def pagequery_iotlink_appreleaseorder_ex_async(
|
|
6827
6827
|
self,
|
|
6828
|
-
request: bot_models.
|
|
6828
|
+
request: bot_models.PagequeryIotlinkAppreleaseorderRequest,
|
|
6829
6829
|
headers: Dict[str, str],
|
|
6830
6830
|
runtime: util_models.RuntimeOptions,
|
|
6831
|
-
) -> bot_models.
|
|
6831
|
+
) -> bot_models.PagequeryIotlinkAppreleaseorderResponse:
|
|
6832
6832
|
"""
|
|
6833
6833
|
Description: iotbasic-分页查询发布批次列表
|
|
6834
6834
|
Summary: iotbasic-分页查询发布批次列表
|
|
6835
6835
|
"""
|
|
6836
6836
|
UtilClient.validate_model(request)
|
|
6837
6837
|
return TeaCore.from_map(
|
|
6838
|
-
bot_models.
|
|
6839
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6838
|
+
bot_models.PagequeryIotlinkAppreleaseorderResponse(),
|
|
6839
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appreleaseorder.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6840
6840
|
)
|
|
6841
6841
|
|
|
6842
|
-
def
|
|
6842
|
+
def pagequery_iotlink_appreleasedevice(
|
|
6843
6843
|
self,
|
|
6844
|
-
request: bot_models.
|
|
6845
|
-
) -> bot_models.
|
|
6844
|
+
request: bot_models.PagequeryIotlinkAppreleasedeviceRequest,
|
|
6845
|
+
) -> bot_models.PagequeryIotlinkAppreleasedeviceResponse:
|
|
6846
6846
|
"""
|
|
6847
6847
|
Description: iotbasic-分页查询设备升级列表
|
|
6848
6848
|
Summary: iotbasic-分页查询设备升级列表
|
|
6849
6849
|
"""
|
|
6850
6850
|
runtime = util_models.RuntimeOptions()
|
|
6851
6851
|
headers = {}
|
|
6852
|
-
return self.
|
|
6852
|
+
return self.pagequery_iotlink_appreleasedevice_ex(request, headers, runtime)
|
|
6853
6853
|
|
|
6854
|
-
async def
|
|
6854
|
+
async def pagequery_iotlink_appreleasedevice_async(
|
|
6855
6855
|
self,
|
|
6856
|
-
request: bot_models.
|
|
6857
|
-
) -> bot_models.
|
|
6856
|
+
request: bot_models.PagequeryIotlinkAppreleasedeviceRequest,
|
|
6857
|
+
) -> bot_models.PagequeryIotlinkAppreleasedeviceResponse:
|
|
6858
6858
|
"""
|
|
6859
6859
|
Description: iotbasic-分页查询设备升级列表
|
|
6860
6860
|
Summary: iotbasic-分页查询设备升级列表
|
|
6861
6861
|
"""
|
|
6862
6862
|
runtime = util_models.RuntimeOptions()
|
|
6863
6863
|
headers = {}
|
|
6864
|
-
return await self.
|
|
6864
|
+
return await self.pagequery_iotlink_appreleasedevice_ex_async(request, headers, runtime)
|
|
6865
6865
|
|
|
6866
|
-
def
|
|
6866
|
+
def pagequery_iotlink_appreleasedevice_ex(
|
|
6867
6867
|
self,
|
|
6868
|
-
request: bot_models.
|
|
6868
|
+
request: bot_models.PagequeryIotlinkAppreleasedeviceRequest,
|
|
6869
6869
|
headers: Dict[str, str],
|
|
6870
6870
|
runtime: util_models.RuntimeOptions,
|
|
6871
|
-
) -> bot_models.
|
|
6871
|
+
) -> bot_models.PagequeryIotlinkAppreleasedeviceResponse:
|
|
6872
6872
|
"""
|
|
6873
6873
|
Description: iotbasic-分页查询设备升级列表
|
|
6874
6874
|
Summary: iotbasic-分页查询设备升级列表
|
|
6875
6875
|
"""
|
|
6876
6876
|
UtilClient.validate_model(request)
|
|
6877
6877
|
return TeaCore.from_map(
|
|
6878
|
-
bot_models.
|
|
6879
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6878
|
+
bot_models.PagequeryIotlinkAppreleasedeviceResponse(),
|
|
6879
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appreleasedevice.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6880
6880
|
)
|
|
6881
6881
|
|
|
6882
|
-
async def
|
|
6882
|
+
async def pagequery_iotlink_appreleasedevice_ex_async(
|
|
6883
6883
|
self,
|
|
6884
|
-
request: bot_models.
|
|
6884
|
+
request: bot_models.PagequeryIotlinkAppreleasedeviceRequest,
|
|
6885
6885
|
headers: Dict[str, str],
|
|
6886
6886
|
runtime: util_models.RuntimeOptions,
|
|
6887
|
-
) -> bot_models.
|
|
6887
|
+
) -> bot_models.PagequeryIotlinkAppreleasedeviceResponse:
|
|
6888
6888
|
"""
|
|
6889
6889
|
Description: iotbasic-分页查询设备升级列表
|
|
6890
6890
|
Summary: iotbasic-分页查询设备升级列表
|
|
6891
6891
|
"""
|
|
6892
6892
|
UtilClient.validate_model(request)
|
|
6893
6893
|
return TeaCore.from_map(
|
|
6894
|
-
bot_models.
|
|
6895
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6894
|
+
bot_models.PagequeryIotlinkAppreleasedeviceResponse(),
|
|
6895
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appreleasedevice.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6896
6896
|
)
|
|
6897
6897
|
|
|
6898
|
-
def
|
|
6898
|
+
def publish_iotlink_appreleaseorder(
|
|
6899
6899
|
self,
|
|
6900
|
-
request: bot_models.
|
|
6901
|
-
) -> bot_models.
|
|
6900
|
+
request: bot_models.PublishIotlinkAppreleaseorderRequest,
|
|
6901
|
+
) -> bot_models.PublishIotlinkAppreleaseorderResponse:
|
|
6902
6902
|
"""
|
|
6903
6903
|
Description: iotbasic-发布工单
|
|
6904
6904
|
Summary: iotbasic-发布工单
|
|
6905
6905
|
"""
|
|
6906
6906
|
runtime = util_models.RuntimeOptions()
|
|
6907
6907
|
headers = {}
|
|
6908
|
-
return self.
|
|
6908
|
+
return self.publish_iotlink_appreleaseorder_ex(request, headers, runtime)
|
|
6909
6909
|
|
|
6910
|
-
async def
|
|
6910
|
+
async def publish_iotlink_appreleaseorder_async(
|
|
6911
6911
|
self,
|
|
6912
|
-
request: bot_models.
|
|
6913
|
-
) -> bot_models.
|
|
6912
|
+
request: bot_models.PublishIotlinkAppreleaseorderRequest,
|
|
6913
|
+
) -> bot_models.PublishIotlinkAppreleaseorderResponse:
|
|
6914
6914
|
"""
|
|
6915
6915
|
Description: iotbasic-发布工单
|
|
6916
6916
|
Summary: iotbasic-发布工单
|
|
6917
6917
|
"""
|
|
6918
6918
|
runtime = util_models.RuntimeOptions()
|
|
6919
6919
|
headers = {}
|
|
6920
|
-
return await self.
|
|
6920
|
+
return await self.publish_iotlink_appreleaseorder_ex_async(request, headers, runtime)
|
|
6921
6921
|
|
|
6922
|
-
def
|
|
6922
|
+
def publish_iotlink_appreleaseorder_ex(
|
|
6923
6923
|
self,
|
|
6924
|
-
request: bot_models.
|
|
6924
|
+
request: bot_models.PublishIotlinkAppreleaseorderRequest,
|
|
6925
6925
|
headers: Dict[str, str],
|
|
6926
6926
|
runtime: util_models.RuntimeOptions,
|
|
6927
|
-
) -> bot_models.
|
|
6927
|
+
) -> bot_models.PublishIotlinkAppreleaseorderResponse:
|
|
6928
6928
|
"""
|
|
6929
6929
|
Description: iotbasic-发布工单
|
|
6930
6930
|
Summary: iotbasic-发布工单
|
|
6931
6931
|
"""
|
|
6932
6932
|
UtilClient.validate_model(request)
|
|
6933
6933
|
return TeaCore.from_map(
|
|
6934
|
-
bot_models.
|
|
6935
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6934
|
+
bot_models.PublishIotlinkAppreleaseorderResponse(),
|
|
6935
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appreleaseorder.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6936
6936
|
)
|
|
6937
6937
|
|
|
6938
|
-
async def
|
|
6938
|
+
async def publish_iotlink_appreleaseorder_ex_async(
|
|
6939
6939
|
self,
|
|
6940
|
-
request: bot_models.
|
|
6940
|
+
request: bot_models.PublishIotlinkAppreleaseorderRequest,
|
|
6941
6941
|
headers: Dict[str, str],
|
|
6942
6942
|
runtime: util_models.RuntimeOptions,
|
|
6943
|
-
) -> bot_models.
|
|
6943
|
+
) -> bot_models.PublishIotlinkAppreleaseorderResponse:
|
|
6944
6944
|
"""
|
|
6945
6945
|
Description: iotbasic-发布工单
|
|
6946
6946
|
Summary: iotbasic-发布工单
|
|
6947
6947
|
"""
|
|
6948
6948
|
UtilClient.validate_model(request)
|
|
6949
6949
|
return TeaCore.from_map(
|
|
6950
|
-
bot_models.
|
|
6951
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
6950
|
+
bot_models.PublishIotlinkAppreleaseorderResponse(),
|
|
6951
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appreleaseorder.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6952
6952
|
)
|
|
6953
6953
|
|
|
6954
|
-
def
|
|
6954
|
+
def cancel_iotlink_appreleaseorder(
|
|
6955
6955
|
self,
|
|
6956
|
-
request: bot_models.
|
|
6957
|
-
) -> bot_models.
|
|
6956
|
+
request: bot_models.CancelIotlinkAppreleaseorderRequest,
|
|
6957
|
+
) -> bot_models.CancelIotlinkAppreleaseorderResponse:
|
|
6958
6958
|
"""
|
|
6959
6959
|
Description: iotbasic-取消工单发布
|
|
6960
6960
|
Summary: iotbasic-取消工单发布
|
|
6961
6961
|
"""
|
|
6962
6962
|
runtime = util_models.RuntimeOptions()
|
|
6963
6963
|
headers = {}
|
|
6964
|
-
return self.
|
|
6964
|
+
return self.cancel_iotlink_appreleaseorder_ex(request, headers, runtime)
|
|
6965
6965
|
|
|
6966
|
-
async def
|
|
6966
|
+
async def cancel_iotlink_appreleaseorder_async(
|
|
6967
6967
|
self,
|
|
6968
|
-
request: bot_models.
|
|
6969
|
-
) -> bot_models.
|
|
6968
|
+
request: bot_models.CancelIotlinkAppreleaseorderRequest,
|
|
6969
|
+
) -> bot_models.CancelIotlinkAppreleaseorderResponse:
|
|
6970
6970
|
"""
|
|
6971
6971
|
Description: iotbasic-取消工单发布
|
|
6972
6972
|
Summary: iotbasic-取消工单发布
|
|
6973
6973
|
"""
|
|
6974
6974
|
runtime = util_models.RuntimeOptions()
|
|
6975
6975
|
headers = {}
|
|
6976
|
-
return await self.
|
|
6976
|
+
return await self.cancel_iotlink_appreleaseorder_ex_async(request, headers, runtime)
|
|
6977
6977
|
|
|
6978
|
-
def
|
|
6978
|
+
def cancel_iotlink_appreleaseorder_ex(
|
|
6979
6979
|
self,
|
|
6980
|
-
request: bot_models.
|
|
6980
|
+
request: bot_models.CancelIotlinkAppreleaseorderRequest,
|
|
6981
6981
|
headers: Dict[str, str],
|
|
6982
6982
|
runtime: util_models.RuntimeOptions,
|
|
6983
|
-
) -> bot_models.
|
|
6983
|
+
) -> bot_models.CancelIotlinkAppreleaseorderResponse:
|
|
6984
6984
|
"""
|
|
6985
6985
|
Description: iotbasic-取消工单发布
|
|
6986
6986
|
Summary: iotbasic-取消工单发布
|
|
6987
6987
|
"""
|
|
6988
6988
|
UtilClient.validate_model(request)
|
|
6989
6989
|
return TeaCore.from_map(
|
|
6990
|
-
bot_models.
|
|
6991
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
6990
|
+
bot_models.CancelIotlinkAppreleaseorderResponse(),
|
|
6991
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appreleaseorder.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6992
6992
|
)
|
|
6993
6993
|
|
|
6994
|
-
async def
|
|
6994
|
+
async def cancel_iotlink_appreleaseorder_ex_async(
|
|
6995
6995
|
self,
|
|
6996
|
-
request: bot_models.
|
|
6996
|
+
request: bot_models.CancelIotlinkAppreleaseorderRequest,
|
|
6997
6997
|
headers: Dict[str, str],
|
|
6998
6998
|
runtime: util_models.RuntimeOptions,
|
|
6999
|
-
) -> bot_models.
|
|
6999
|
+
) -> bot_models.CancelIotlinkAppreleaseorderResponse:
|
|
7000
7000
|
"""
|
|
7001
7001
|
Description: iotbasic-取消工单发布
|
|
7002
7002
|
Summary: iotbasic-取消工单发布
|
|
7003
7003
|
"""
|
|
7004
7004
|
UtilClient.validate_model(request)
|
|
7005
7005
|
return TeaCore.from_map(
|
|
7006
|
-
bot_models.
|
|
7007
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
7006
|
+
bot_models.CancelIotlinkAppreleaseorderResponse(),
|
|
7007
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appreleaseorder.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7008
7008
|
)
|
|
7009
7009
|
|
|
7010
|
-
def
|
|
7010
|
+
def cancel_iotlink_appreleasedevice(
|
|
7011
7011
|
self,
|
|
7012
|
-
request: bot_models.
|
|
7013
|
-
) -> bot_models.
|
|
7012
|
+
request: bot_models.CancelIotlinkAppreleasedeviceRequest,
|
|
7013
|
+
) -> bot_models.CancelIotlinkAppreleasedeviceResponse:
|
|
7014
7014
|
"""
|
|
7015
7015
|
Description: iotbasic-取消设备升级
|
|
7016
7016
|
Summary: iotbasic-取消设备升级
|
|
7017
7017
|
"""
|
|
7018
7018
|
runtime = util_models.RuntimeOptions()
|
|
7019
7019
|
headers = {}
|
|
7020
|
-
return self.
|
|
7020
|
+
return self.cancel_iotlink_appreleasedevice_ex(request, headers, runtime)
|
|
7021
7021
|
|
|
7022
|
-
async def
|
|
7022
|
+
async def cancel_iotlink_appreleasedevice_async(
|
|
7023
7023
|
self,
|
|
7024
|
-
request: bot_models.
|
|
7025
|
-
) -> bot_models.
|
|
7024
|
+
request: bot_models.CancelIotlinkAppreleasedeviceRequest,
|
|
7025
|
+
) -> bot_models.CancelIotlinkAppreleasedeviceResponse:
|
|
7026
7026
|
"""
|
|
7027
7027
|
Description: iotbasic-取消设备升级
|
|
7028
7028
|
Summary: iotbasic-取消设备升级
|
|
7029
7029
|
"""
|
|
7030
7030
|
runtime = util_models.RuntimeOptions()
|
|
7031
7031
|
headers = {}
|
|
7032
|
-
return await self.
|
|
7032
|
+
return await self.cancel_iotlink_appreleasedevice_ex_async(request, headers, runtime)
|
|
7033
7033
|
|
|
7034
|
-
def
|
|
7034
|
+
def cancel_iotlink_appreleasedevice_ex(
|
|
7035
7035
|
self,
|
|
7036
|
-
request: bot_models.
|
|
7036
|
+
request: bot_models.CancelIotlinkAppreleasedeviceRequest,
|
|
7037
7037
|
headers: Dict[str, str],
|
|
7038
7038
|
runtime: util_models.RuntimeOptions,
|
|
7039
|
-
) -> bot_models.
|
|
7039
|
+
) -> bot_models.CancelIotlinkAppreleasedeviceResponse:
|
|
7040
7040
|
"""
|
|
7041
7041
|
Description: iotbasic-取消设备升级
|
|
7042
7042
|
Summary: iotbasic-取消设备升级
|
|
7043
7043
|
"""
|
|
7044
7044
|
UtilClient.validate_model(request)
|
|
7045
7045
|
return TeaCore.from_map(
|
|
7046
|
-
bot_models.
|
|
7047
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
7046
|
+
bot_models.CancelIotlinkAppreleasedeviceResponse(),
|
|
7047
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appreleasedevice.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7048
7048
|
)
|
|
7049
7049
|
|
|
7050
|
-
async def
|
|
7050
|
+
async def cancel_iotlink_appreleasedevice_ex_async(
|
|
7051
7051
|
self,
|
|
7052
|
-
request: bot_models.
|
|
7052
|
+
request: bot_models.CancelIotlinkAppreleasedeviceRequest,
|
|
7053
7053
|
headers: Dict[str, str],
|
|
7054
7054
|
runtime: util_models.RuntimeOptions,
|
|
7055
|
-
) -> bot_models.
|
|
7055
|
+
) -> bot_models.CancelIotlinkAppreleasedeviceResponse:
|
|
7056
7056
|
"""
|
|
7057
7057
|
Description: iotbasic-取消设备升级
|
|
7058
7058
|
Summary: iotbasic-取消设备升级
|
|
7059
7059
|
"""
|
|
7060
7060
|
UtilClient.validate_model(request)
|
|
7061
7061
|
return TeaCore.from_map(
|
|
7062
|
-
bot_models.
|
|
7063
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
7062
|
+
bot_models.CancelIotlinkAppreleasedeviceResponse(),
|
|
7063
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appreleasedevice.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7064
7064
|
)
|
|
7065
7065
|
|
|
7066
|
-
def
|
|
7066
|
+
def retry_iotlink_appreleasedevice(
|
|
7067
7067
|
self,
|
|
7068
|
-
request: bot_models.
|
|
7069
|
-
) -> bot_models.
|
|
7068
|
+
request: bot_models.RetryIotlinkAppreleasedeviceRequest,
|
|
7069
|
+
) -> bot_models.RetryIotlinkAppreleasedeviceResponse:
|
|
7070
7070
|
"""
|
|
7071
7071
|
Description: iotbasic-重试设备升级
|
|
7072
7072
|
Summary: iotbasic-重试设备升级
|
|
7073
7073
|
"""
|
|
7074
7074
|
runtime = util_models.RuntimeOptions()
|
|
7075
7075
|
headers = {}
|
|
7076
|
-
return self.
|
|
7076
|
+
return self.retry_iotlink_appreleasedevice_ex(request, headers, runtime)
|
|
7077
7077
|
|
|
7078
|
-
async def
|
|
7078
|
+
async def retry_iotlink_appreleasedevice_async(
|
|
7079
7079
|
self,
|
|
7080
|
-
request: bot_models.
|
|
7081
|
-
) -> bot_models.
|
|
7080
|
+
request: bot_models.RetryIotlinkAppreleasedeviceRequest,
|
|
7081
|
+
) -> bot_models.RetryIotlinkAppreleasedeviceResponse:
|
|
7082
7082
|
"""
|
|
7083
7083
|
Description: iotbasic-重试设备升级
|
|
7084
7084
|
Summary: iotbasic-重试设备升级
|
|
7085
7085
|
"""
|
|
7086
7086
|
runtime = util_models.RuntimeOptions()
|
|
7087
7087
|
headers = {}
|
|
7088
|
-
return await self.
|
|
7088
|
+
return await self.retry_iotlink_appreleasedevice_ex_async(request, headers, runtime)
|
|
7089
7089
|
|
|
7090
|
-
def
|
|
7090
|
+
def retry_iotlink_appreleasedevice_ex(
|
|
7091
7091
|
self,
|
|
7092
|
-
request: bot_models.
|
|
7092
|
+
request: bot_models.RetryIotlinkAppreleasedeviceRequest,
|
|
7093
7093
|
headers: Dict[str, str],
|
|
7094
7094
|
runtime: util_models.RuntimeOptions,
|
|
7095
|
-
) -> bot_models.
|
|
7095
|
+
) -> bot_models.RetryIotlinkAppreleasedeviceResponse:
|
|
7096
7096
|
"""
|
|
7097
7097
|
Description: iotbasic-重试设备升级
|
|
7098
7098
|
Summary: iotbasic-重试设备升级
|
|
7099
7099
|
"""
|
|
7100
7100
|
UtilClient.validate_model(request)
|
|
7101
7101
|
return TeaCore.from_map(
|
|
7102
|
-
bot_models.
|
|
7103
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
7102
|
+
bot_models.RetryIotlinkAppreleasedeviceResponse(),
|
|
7103
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.appreleasedevice.retry', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7104
7104
|
)
|
|
7105
7105
|
|
|
7106
|
-
async def
|
|
7106
|
+
async def retry_iotlink_appreleasedevice_ex_async(
|
|
7107
7107
|
self,
|
|
7108
|
-
request: bot_models.
|
|
7108
|
+
request: bot_models.RetryIotlinkAppreleasedeviceRequest,
|
|
7109
7109
|
headers: Dict[str, str],
|
|
7110
7110
|
runtime: util_models.RuntimeOptions,
|
|
7111
|
-
) -> bot_models.
|
|
7111
|
+
) -> bot_models.RetryIotlinkAppreleasedeviceResponse:
|
|
7112
7112
|
"""
|
|
7113
7113
|
Description: iotbasic-重试设备升级
|
|
7114
7114
|
Summary: iotbasic-重试设备升级
|
|
7115
7115
|
"""
|
|
7116
7116
|
UtilClient.validate_model(request)
|
|
7117
7117
|
return TeaCore.from_map(
|
|
7118
|
-
bot_models.
|
|
7119
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
7118
|
+
bot_models.RetryIotlinkAppreleasedeviceResponse(),
|
|
7119
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.appreleasedevice.retry', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7120
7120
|
)
|
|
7121
7121
|
|
|
7122
|
-
def
|
|
7122
|
+
def create_iotlink_otamodule(
|
|
7123
7123
|
self,
|
|
7124
|
-
request: bot_models.
|
|
7125
|
-
) -> bot_models.
|
|
7124
|
+
request: bot_models.CreateIotlinkOtamoduleRequest,
|
|
7125
|
+
) -> bot_models.CreateIotlinkOtamoduleResponse:
|
|
7126
7126
|
"""
|
|
7127
7127
|
Description: iotbasic-创建应用类型
|
|
7128
7128
|
Summary: iotbasic-创建应用类型
|
|
7129
7129
|
"""
|
|
7130
7130
|
runtime = util_models.RuntimeOptions()
|
|
7131
7131
|
headers = {}
|
|
7132
|
-
return self.
|
|
7132
|
+
return self.create_iotlink_otamodule_ex(request, headers, runtime)
|
|
7133
7133
|
|
|
7134
|
-
async def
|
|
7134
|
+
async def create_iotlink_otamodule_async(
|
|
7135
7135
|
self,
|
|
7136
|
-
request: bot_models.
|
|
7137
|
-
) -> bot_models.
|
|
7136
|
+
request: bot_models.CreateIotlinkOtamoduleRequest,
|
|
7137
|
+
) -> bot_models.CreateIotlinkOtamoduleResponse:
|
|
7138
7138
|
"""
|
|
7139
7139
|
Description: iotbasic-创建应用类型
|
|
7140
7140
|
Summary: iotbasic-创建应用类型
|
|
7141
7141
|
"""
|
|
7142
7142
|
runtime = util_models.RuntimeOptions()
|
|
7143
7143
|
headers = {}
|
|
7144
|
-
return await self.
|
|
7144
|
+
return await self.create_iotlink_otamodule_ex_async(request, headers, runtime)
|
|
7145
7145
|
|
|
7146
|
-
def
|
|
7146
|
+
def create_iotlink_otamodule_ex(
|
|
7147
7147
|
self,
|
|
7148
|
-
request: bot_models.
|
|
7148
|
+
request: bot_models.CreateIotlinkOtamoduleRequest,
|
|
7149
7149
|
headers: Dict[str, str],
|
|
7150
7150
|
runtime: util_models.RuntimeOptions,
|
|
7151
|
-
) -> bot_models.
|
|
7151
|
+
) -> bot_models.CreateIotlinkOtamoduleResponse:
|
|
7152
7152
|
"""
|
|
7153
7153
|
Description: iotbasic-创建应用类型
|
|
7154
7154
|
Summary: iotbasic-创建应用类型
|
|
7155
7155
|
"""
|
|
7156
7156
|
UtilClient.validate_model(request)
|
|
7157
7157
|
return TeaCore.from_map(
|
|
7158
|
-
bot_models.
|
|
7159
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
7158
|
+
bot_models.CreateIotlinkOtamoduleResponse(),
|
|
7159
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.otamodule.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7160
7160
|
)
|
|
7161
7161
|
|
|
7162
|
-
async def
|
|
7162
|
+
async def create_iotlink_otamodule_ex_async(
|
|
7163
7163
|
self,
|
|
7164
|
-
request: bot_models.
|
|
7164
|
+
request: bot_models.CreateIotlinkOtamoduleRequest,
|
|
7165
7165
|
headers: Dict[str, str],
|
|
7166
7166
|
runtime: util_models.RuntimeOptions,
|
|
7167
|
-
) -> bot_models.
|
|
7167
|
+
) -> bot_models.CreateIotlinkOtamoduleResponse:
|
|
7168
7168
|
"""
|
|
7169
7169
|
Description: iotbasic-创建应用类型
|
|
7170
7170
|
Summary: iotbasic-创建应用类型
|
|
7171
7171
|
"""
|
|
7172
7172
|
UtilClient.validate_model(request)
|
|
7173
7173
|
return TeaCore.from_map(
|
|
7174
|
-
bot_models.
|
|
7175
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
7174
|
+
bot_models.CreateIotlinkOtamoduleResponse(),
|
|
7175
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.otamodule.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7176
7176
|
)
|
|
7177
7177
|
|
|
7178
|
-
def
|
|
7178
|
+
def update_iotlink_otamodule(
|
|
7179
7179
|
self,
|
|
7180
|
-
request: bot_models.
|
|
7181
|
-
) -> bot_models.
|
|
7180
|
+
request: bot_models.UpdateIotlinkOtamoduleRequest,
|
|
7181
|
+
) -> bot_models.UpdateIotlinkOtamoduleResponse:
|
|
7182
7182
|
"""
|
|
7183
7183
|
Description: iotbasic-修改应用类型
|
|
7184
7184
|
Summary: iotbasic-修改应用类型
|
|
7185
7185
|
"""
|
|
7186
7186
|
runtime = util_models.RuntimeOptions()
|
|
7187
7187
|
headers = {}
|
|
7188
|
-
return self.
|
|
7188
|
+
return self.update_iotlink_otamodule_ex(request, headers, runtime)
|
|
7189
7189
|
|
|
7190
|
-
async def
|
|
7190
|
+
async def update_iotlink_otamodule_async(
|
|
7191
7191
|
self,
|
|
7192
|
-
request: bot_models.
|
|
7193
|
-
) -> bot_models.
|
|
7192
|
+
request: bot_models.UpdateIotlinkOtamoduleRequest,
|
|
7193
|
+
) -> bot_models.UpdateIotlinkOtamoduleResponse:
|
|
7194
7194
|
"""
|
|
7195
7195
|
Description: iotbasic-修改应用类型
|
|
7196
7196
|
Summary: iotbasic-修改应用类型
|
|
7197
7197
|
"""
|
|
7198
7198
|
runtime = util_models.RuntimeOptions()
|
|
7199
7199
|
headers = {}
|
|
7200
|
-
return await self.
|
|
7200
|
+
return await self.update_iotlink_otamodule_ex_async(request, headers, runtime)
|
|
7201
7201
|
|
|
7202
|
-
def
|
|
7202
|
+
def update_iotlink_otamodule_ex(
|
|
7203
7203
|
self,
|
|
7204
|
-
request: bot_models.
|
|
7204
|
+
request: bot_models.UpdateIotlinkOtamoduleRequest,
|
|
7205
7205
|
headers: Dict[str, str],
|
|
7206
7206
|
runtime: util_models.RuntimeOptions,
|
|
7207
|
-
) -> bot_models.
|
|
7207
|
+
) -> bot_models.UpdateIotlinkOtamoduleResponse:
|
|
7208
7208
|
"""
|
|
7209
7209
|
Description: iotbasic-修改应用类型
|
|
7210
7210
|
Summary: iotbasic-修改应用类型
|
|
7211
7211
|
"""
|
|
7212
7212
|
UtilClient.validate_model(request)
|
|
7213
7213
|
return TeaCore.from_map(
|
|
7214
|
-
bot_models.
|
|
7215
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
7214
|
+
bot_models.UpdateIotlinkOtamoduleResponse(),
|
|
7215
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.otamodule.update', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7216
7216
|
)
|
|
7217
7217
|
|
|
7218
|
-
async def
|
|
7218
|
+
async def update_iotlink_otamodule_ex_async(
|
|
7219
7219
|
self,
|
|
7220
|
-
request: bot_models.
|
|
7220
|
+
request: bot_models.UpdateIotlinkOtamoduleRequest,
|
|
7221
7221
|
headers: Dict[str, str],
|
|
7222
7222
|
runtime: util_models.RuntimeOptions,
|
|
7223
|
-
) -> bot_models.
|
|
7223
|
+
) -> bot_models.UpdateIotlinkOtamoduleResponse:
|
|
7224
7224
|
"""
|
|
7225
7225
|
Description: iotbasic-修改应用类型
|
|
7226
7226
|
Summary: iotbasic-修改应用类型
|
|
7227
7227
|
"""
|
|
7228
7228
|
UtilClient.validate_model(request)
|
|
7229
7229
|
return TeaCore.from_map(
|
|
7230
|
-
bot_models.
|
|
7231
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
7230
|
+
bot_models.UpdateIotlinkOtamoduleResponse(),
|
|
7231
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.otamodule.update', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7232
7232
|
)
|
|
7233
7233
|
|
|
7234
|
-
def
|
|
7234
|
+
def delete_iotlink_otamodule(
|
|
7235
7235
|
self,
|
|
7236
|
-
request: bot_models.
|
|
7237
|
-
) -> bot_models.
|
|
7236
|
+
request: bot_models.DeleteIotlinkOtamoduleRequest,
|
|
7237
|
+
) -> bot_models.DeleteIotlinkOtamoduleResponse:
|
|
7238
7238
|
"""
|
|
7239
7239
|
Description: iotbasic-删除应用类型
|
|
7240
7240
|
Summary: iotbasic-删除应用类型
|
|
7241
7241
|
"""
|
|
7242
7242
|
runtime = util_models.RuntimeOptions()
|
|
7243
7243
|
headers = {}
|
|
7244
|
-
return self.
|
|
7244
|
+
return self.delete_iotlink_otamodule_ex(request, headers, runtime)
|
|
7245
7245
|
|
|
7246
|
-
async def
|
|
7246
|
+
async def delete_iotlink_otamodule_async(
|
|
7247
7247
|
self,
|
|
7248
|
-
request: bot_models.
|
|
7249
|
-
) -> bot_models.
|
|
7248
|
+
request: bot_models.DeleteIotlinkOtamoduleRequest,
|
|
7249
|
+
) -> bot_models.DeleteIotlinkOtamoduleResponse:
|
|
7250
7250
|
"""
|
|
7251
7251
|
Description: iotbasic-删除应用类型
|
|
7252
7252
|
Summary: iotbasic-删除应用类型
|
|
7253
7253
|
"""
|
|
7254
7254
|
runtime = util_models.RuntimeOptions()
|
|
7255
7255
|
headers = {}
|
|
7256
|
-
return await self.
|
|
7256
|
+
return await self.delete_iotlink_otamodule_ex_async(request, headers, runtime)
|
|
7257
7257
|
|
|
7258
|
-
def
|
|
7258
|
+
def delete_iotlink_otamodule_ex(
|
|
7259
7259
|
self,
|
|
7260
|
-
request: bot_models.
|
|
7260
|
+
request: bot_models.DeleteIotlinkOtamoduleRequest,
|
|
7261
7261
|
headers: Dict[str, str],
|
|
7262
7262
|
runtime: util_models.RuntimeOptions,
|
|
7263
|
-
) -> bot_models.
|
|
7263
|
+
) -> bot_models.DeleteIotlinkOtamoduleResponse:
|
|
7264
7264
|
"""
|
|
7265
7265
|
Description: iotbasic-删除应用类型
|
|
7266
7266
|
Summary: iotbasic-删除应用类型
|
|
7267
7267
|
"""
|
|
7268
7268
|
UtilClient.validate_model(request)
|
|
7269
7269
|
return TeaCore.from_map(
|
|
7270
|
-
bot_models.
|
|
7271
|
-
self.do_request('1.0', 'blockchain.bot.
|
|
7270
|
+
bot_models.DeleteIotlinkOtamoduleResponse(),
|
|
7271
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.otamodule.delete', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7272
7272
|
)
|
|
7273
7273
|
|
|
7274
|
-
async def
|
|
7274
|
+
async def delete_iotlink_otamodule_ex_async(
|
|
7275
7275
|
self,
|
|
7276
|
-
request: bot_models.
|
|
7276
|
+
request: bot_models.DeleteIotlinkOtamoduleRequest,
|
|
7277
7277
|
headers: Dict[str, str],
|
|
7278
7278
|
runtime: util_models.RuntimeOptions,
|
|
7279
|
-
) -> bot_models.
|
|
7279
|
+
) -> bot_models.DeleteIotlinkOtamoduleResponse:
|
|
7280
7280
|
"""
|
|
7281
7281
|
Description: iotbasic-删除应用类型
|
|
7282
7282
|
Summary: iotbasic-删除应用类型
|
|
7283
7283
|
"""
|
|
7284
7284
|
UtilClient.validate_model(request)
|
|
7285
7285
|
return TeaCore.from_map(
|
|
7286
|
-
bot_models.
|
|
7287
|
-
await self.do_request_async('1.0', 'blockchain.bot.
|
|
7286
|
+
bot_models.DeleteIotlinkOtamoduleResponse(),
|
|
7287
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.otamodule.delete', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7288
|
+
)
|
|
7289
|
+
|
|
7290
|
+
def import_iotlink_thingmodeltsl(
|
|
7291
|
+
self,
|
|
7292
|
+
request: bot_models.ImportIotlinkThingmodeltslRequest,
|
|
7293
|
+
) -> bot_models.ImportIotlinkThingmodeltslResponse:
|
|
7294
|
+
"""
|
|
7295
|
+
Description: iotbasic-设备厂商导入物模型
|
|
7296
|
+
Summary: iotbasic-设备厂商导入物模型
|
|
7297
|
+
"""
|
|
7298
|
+
runtime = util_models.RuntimeOptions()
|
|
7299
|
+
headers = {}
|
|
7300
|
+
return self.import_iotlink_thingmodeltsl_ex(request, headers, runtime)
|
|
7301
|
+
|
|
7302
|
+
async def import_iotlink_thingmodeltsl_async(
|
|
7303
|
+
self,
|
|
7304
|
+
request: bot_models.ImportIotlinkThingmodeltslRequest,
|
|
7305
|
+
) -> bot_models.ImportIotlinkThingmodeltslResponse:
|
|
7306
|
+
"""
|
|
7307
|
+
Description: iotbasic-设备厂商导入物模型
|
|
7308
|
+
Summary: iotbasic-设备厂商导入物模型
|
|
7309
|
+
"""
|
|
7310
|
+
runtime = util_models.RuntimeOptions()
|
|
7311
|
+
headers = {}
|
|
7312
|
+
return await self.import_iotlink_thingmodeltsl_ex_async(request, headers, runtime)
|
|
7313
|
+
|
|
7314
|
+
def import_iotlink_thingmodeltsl_ex(
|
|
7315
|
+
self,
|
|
7316
|
+
request: bot_models.ImportIotlinkThingmodeltslRequest,
|
|
7317
|
+
headers: Dict[str, str],
|
|
7318
|
+
runtime: util_models.RuntimeOptions,
|
|
7319
|
+
) -> bot_models.ImportIotlinkThingmodeltslResponse:
|
|
7320
|
+
"""
|
|
7321
|
+
Description: iotbasic-设备厂商导入物模型
|
|
7322
|
+
Summary: iotbasic-设备厂商导入物模型
|
|
7323
|
+
"""
|
|
7324
|
+
UtilClient.validate_model(request)
|
|
7325
|
+
return TeaCore.from_map(
|
|
7326
|
+
bot_models.ImportIotlinkThingmodeltslResponse(),
|
|
7327
|
+
self.do_request('1.0', 'blockchain.bot.iotlink.thingmodeltsl.import', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7328
|
+
)
|
|
7329
|
+
|
|
7330
|
+
async def import_iotlink_thingmodeltsl_ex_async(
|
|
7331
|
+
self,
|
|
7332
|
+
request: bot_models.ImportIotlinkThingmodeltslRequest,
|
|
7333
|
+
headers: Dict[str, str],
|
|
7334
|
+
runtime: util_models.RuntimeOptions,
|
|
7335
|
+
) -> bot_models.ImportIotlinkThingmodeltslResponse:
|
|
7336
|
+
"""
|
|
7337
|
+
Description: iotbasic-设备厂商导入物模型
|
|
7338
|
+
Summary: iotbasic-设备厂商导入物模型
|
|
7339
|
+
"""
|
|
7340
|
+
UtilClient.validate_model(request)
|
|
7341
|
+
return TeaCore.from_map(
|
|
7342
|
+
bot_models.ImportIotlinkThingmodeltslResponse(),
|
|
7343
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotlink.thingmodeltsl.import', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7288
7344
|
)
|
|
7289
7345
|
|
|
7290
7346
|
def query_iotplatform_purchaseorder(
|