antchain-bot 1.11.18__py3-none-any.whl → 1.11.34__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.18.dist-info → antchain_bot-1.11.34.dist-info}/METADATA +1 -1
- antchain_bot-1.11.34.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +770 -42
- antchain_sdk_bot/models.py +2123 -27
- antchain_bot-1.11.18.dist-info/RECORD +0 -8
- {antchain_bot-1.11.18.dist-info → antchain_bot-1.11.34.dist-info}/LICENSE +0 -0
- {antchain_bot-1.11.18.dist-info → antchain_bot-1.11.34.dist-info}/WHEEL +0 -0
- {antchain_bot-1.11.18.dist-info → antchain_bot-1.11.34.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.34',
|
|
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.34',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -4850,8 +4850,8 @@ class Client:
|
|
|
4850
4850
|
request: bot_models.QueryIotbasicCategorylistRequest,
|
|
4851
4851
|
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4852
4852
|
"""
|
|
4853
|
-
Description: iotbasic
|
|
4854
|
-
Summary: iotbasic
|
|
4853
|
+
Description: iotbasic-查询品类列表
|
|
4854
|
+
Summary: iotbasic-查询品类列表
|
|
4855
4855
|
"""
|
|
4856
4856
|
runtime = util_models.RuntimeOptions()
|
|
4857
4857
|
headers = {}
|
|
@@ -4862,8 +4862,8 @@ class Client:
|
|
|
4862
4862
|
request: bot_models.QueryIotbasicCategorylistRequest,
|
|
4863
4863
|
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4864
4864
|
"""
|
|
4865
|
-
Description: iotbasic
|
|
4866
|
-
Summary: iotbasic
|
|
4865
|
+
Description: iotbasic-查询品类列表
|
|
4866
|
+
Summary: iotbasic-查询品类列表
|
|
4867
4867
|
"""
|
|
4868
4868
|
runtime = util_models.RuntimeOptions()
|
|
4869
4869
|
headers = {}
|
|
@@ -4876,8 +4876,8 @@ class Client:
|
|
|
4876
4876
|
runtime: util_models.RuntimeOptions,
|
|
4877
4877
|
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4878
4878
|
"""
|
|
4879
|
-
Description: iotbasic
|
|
4880
|
-
Summary: iotbasic
|
|
4879
|
+
Description: iotbasic-查询品类列表
|
|
4880
|
+
Summary: iotbasic-查询品类列表
|
|
4881
4881
|
"""
|
|
4882
4882
|
UtilClient.validate_model(request)
|
|
4883
4883
|
return TeaCore.from_map(
|
|
@@ -4892,8 +4892,8 @@ class Client:
|
|
|
4892
4892
|
runtime: util_models.RuntimeOptions,
|
|
4893
4893
|
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4894
4894
|
"""
|
|
4895
|
-
Description: iotbasic
|
|
4896
|
-
Summary: iotbasic
|
|
4895
|
+
Description: iotbasic-查询品类列表
|
|
4896
|
+
Summary: iotbasic-查询品类列表
|
|
4897
4897
|
"""
|
|
4898
4898
|
UtilClient.validate_model(request)
|
|
4899
4899
|
return TeaCore.from_map(
|
|
@@ -6525,94 +6525,766 @@ 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_iotbasic_appmanager(
|
|
6529
6529
|
self,
|
|
6530
|
-
request: bot_models.
|
|
6531
|
-
) -> bot_models.
|
|
6530
|
+
request: bot_models.CreateIotbasicAppmanagerRequest,
|
|
6531
|
+
) -> bot_models.CreateIotbasicAppmanagerResponse:
|
|
6532
6532
|
"""
|
|
6533
|
-
Description: iotbasic
|
|
6534
|
-
Summary: iotbasic
|
|
6533
|
+
Description: iotbasic-新增应用
|
|
6534
|
+
Summary: iotbasic-新增应用
|
|
6535
6535
|
"""
|
|
6536
6536
|
runtime = util_models.RuntimeOptions()
|
|
6537
6537
|
headers = {}
|
|
6538
|
-
return self.
|
|
6538
|
+
return self.create_iotbasic_appmanager_ex(request, headers, runtime)
|
|
6539
6539
|
|
|
6540
|
-
async def
|
|
6540
|
+
async def create_iotbasic_appmanager_async(
|
|
6541
6541
|
self,
|
|
6542
|
-
request: bot_models.
|
|
6543
|
-
) -> bot_models.
|
|
6542
|
+
request: bot_models.CreateIotbasicAppmanagerRequest,
|
|
6543
|
+
) -> bot_models.CreateIotbasicAppmanagerResponse:
|
|
6544
6544
|
"""
|
|
6545
|
-
Description: iotbasic
|
|
6546
|
-
Summary: iotbasic
|
|
6545
|
+
Description: iotbasic-新增应用
|
|
6546
|
+
Summary: iotbasic-新增应用
|
|
6547
6547
|
"""
|
|
6548
6548
|
runtime = util_models.RuntimeOptions()
|
|
6549
6549
|
headers = {}
|
|
6550
|
-
return await self.
|
|
6550
|
+
return await self.create_iotbasic_appmanager_ex_async(request, headers, runtime)
|
|
6551
6551
|
|
|
6552
|
-
def
|
|
6552
|
+
def create_iotbasic_appmanager_ex(
|
|
6553
6553
|
self,
|
|
6554
|
-
request: bot_models.
|
|
6554
|
+
request: bot_models.CreateIotbasicAppmanagerRequest,
|
|
6555
6555
|
headers: Dict[str, str],
|
|
6556
6556
|
runtime: util_models.RuntimeOptions,
|
|
6557
|
-
) -> bot_models.
|
|
6557
|
+
) -> bot_models.CreateIotbasicAppmanagerResponse:
|
|
6558
6558
|
"""
|
|
6559
|
-
Description: iotbasic
|
|
6560
|
-
Summary: iotbasic
|
|
6559
|
+
Description: iotbasic-新增应用
|
|
6560
|
+
Summary: iotbasic-新增应用
|
|
6561
6561
|
"""
|
|
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.iotbasic.
|
|
6565
|
+
api_code='blockchain.bot.iotbasic.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_iotbasic_appmanager_response = bot_models.CreateIotbasicAppmanagerResponse(
|
|
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_iotbasic_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.iotbasic.
|
|
6581
|
+
bot_models.CreateIotbasicAppmanagerResponse(),
|
|
6582
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanager.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6583
6583
|
)
|
|
6584
6584
|
|
|
6585
|
-
async def
|
|
6585
|
+
async def create_iotbasic_appmanager_ex_async(
|
|
6586
6586
|
self,
|
|
6587
|
-
request: bot_models.
|
|
6587
|
+
request: bot_models.CreateIotbasicAppmanagerRequest,
|
|
6588
6588
|
headers: Dict[str, str],
|
|
6589
6589
|
runtime: util_models.RuntimeOptions,
|
|
6590
|
-
) -> bot_models.
|
|
6590
|
+
) -> bot_models.CreateIotbasicAppmanagerResponse:
|
|
6591
6591
|
"""
|
|
6592
|
-
Description: iotbasic
|
|
6593
|
-
Summary: iotbasic
|
|
6592
|
+
Description: iotbasic-新增应用
|
|
6593
|
+
Summary: iotbasic-新增应用
|
|
6594
6594
|
"""
|
|
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.iotbasic.
|
|
6598
|
+
api_code='blockchain.bot.iotbasic.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_iotbasic_appmanager_response = bot_models.CreateIotbasicAppmanagerResponse(
|
|
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_iotbasic_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.iotbasic.
|
|
6614
|
+
bot_models.CreateIotbasicAppmanagerResponse(),
|
|
6615
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanager.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6616
|
+
)
|
|
6617
|
+
|
|
6618
|
+
def list_iotbasic_appmanagerotamodule(
|
|
6619
|
+
self,
|
|
6620
|
+
request: bot_models.ListIotbasicAppmanagerotamoduleRequest,
|
|
6621
|
+
) -> bot_models.ListIotbasicAppmanagerotamoduleResponse:
|
|
6622
|
+
"""
|
|
6623
|
+
Description: iotbasic-获取应用类型列表
|
|
6624
|
+
Summary: iotbasic-获取应用类型列表
|
|
6625
|
+
"""
|
|
6626
|
+
runtime = util_models.RuntimeOptions()
|
|
6627
|
+
headers = {}
|
|
6628
|
+
return self.list_iotbasic_appmanagerotamodule_ex(request, headers, runtime)
|
|
6629
|
+
|
|
6630
|
+
async def list_iotbasic_appmanagerotamodule_async(
|
|
6631
|
+
self,
|
|
6632
|
+
request: bot_models.ListIotbasicAppmanagerotamoduleRequest,
|
|
6633
|
+
) -> bot_models.ListIotbasicAppmanagerotamoduleResponse:
|
|
6634
|
+
"""
|
|
6635
|
+
Description: iotbasic-获取应用类型列表
|
|
6636
|
+
Summary: iotbasic-获取应用类型列表
|
|
6637
|
+
"""
|
|
6638
|
+
runtime = util_models.RuntimeOptions()
|
|
6639
|
+
headers = {}
|
|
6640
|
+
return await self.list_iotbasic_appmanagerotamodule_ex_async(request, headers, runtime)
|
|
6641
|
+
|
|
6642
|
+
def list_iotbasic_appmanagerotamodule_ex(
|
|
6643
|
+
self,
|
|
6644
|
+
request: bot_models.ListIotbasicAppmanagerotamoduleRequest,
|
|
6645
|
+
headers: Dict[str, str],
|
|
6646
|
+
runtime: util_models.RuntimeOptions,
|
|
6647
|
+
) -> bot_models.ListIotbasicAppmanagerotamoduleResponse:
|
|
6648
|
+
"""
|
|
6649
|
+
Description: iotbasic-获取应用类型列表
|
|
6650
|
+
Summary: iotbasic-获取应用类型列表
|
|
6651
|
+
"""
|
|
6652
|
+
UtilClient.validate_model(request)
|
|
6653
|
+
return TeaCore.from_map(
|
|
6654
|
+
bot_models.ListIotbasicAppmanagerotamoduleResponse(),
|
|
6655
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6656
|
+
)
|
|
6657
|
+
|
|
6658
|
+
async def list_iotbasic_appmanagerotamodule_ex_async(
|
|
6659
|
+
self,
|
|
6660
|
+
request: bot_models.ListIotbasicAppmanagerotamoduleRequest,
|
|
6661
|
+
headers: Dict[str, str],
|
|
6662
|
+
runtime: util_models.RuntimeOptions,
|
|
6663
|
+
) -> bot_models.ListIotbasicAppmanagerotamoduleResponse:
|
|
6664
|
+
"""
|
|
6665
|
+
Description: iotbasic-获取应用类型列表
|
|
6666
|
+
Summary: iotbasic-获取应用类型列表
|
|
6667
|
+
"""
|
|
6668
|
+
UtilClient.validate_model(request)
|
|
6669
|
+
return TeaCore.from_map(
|
|
6670
|
+
bot_models.ListIotbasicAppmanagerotamoduleResponse(),
|
|
6671
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.list', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6672
|
+
)
|
|
6673
|
+
|
|
6674
|
+
def pagequery_iotbasic_appmanager(
|
|
6675
|
+
self,
|
|
6676
|
+
request: bot_models.PagequeryIotbasicAppmanagerRequest,
|
|
6677
|
+
) -> bot_models.PagequeryIotbasicAppmanagerResponse:
|
|
6678
|
+
"""
|
|
6679
|
+
Description: iotbasic-分页查询应用列表
|
|
6680
|
+
Summary: iotbasic-分页查询应用列表
|
|
6681
|
+
"""
|
|
6682
|
+
runtime = util_models.RuntimeOptions()
|
|
6683
|
+
headers = {}
|
|
6684
|
+
return self.pagequery_iotbasic_appmanager_ex(request, headers, runtime)
|
|
6685
|
+
|
|
6686
|
+
async def pagequery_iotbasic_appmanager_async(
|
|
6687
|
+
self,
|
|
6688
|
+
request: bot_models.PagequeryIotbasicAppmanagerRequest,
|
|
6689
|
+
) -> bot_models.PagequeryIotbasicAppmanagerResponse:
|
|
6690
|
+
"""
|
|
6691
|
+
Description: iotbasic-分页查询应用列表
|
|
6692
|
+
Summary: iotbasic-分页查询应用列表
|
|
6693
|
+
"""
|
|
6694
|
+
runtime = util_models.RuntimeOptions()
|
|
6695
|
+
headers = {}
|
|
6696
|
+
return await self.pagequery_iotbasic_appmanager_ex_async(request, headers, runtime)
|
|
6697
|
+
|
|
6698
|
+
def pagequery_iotbasic_appmanager_ex(
|
|
6699
|
+
self,
|
|
6700
|
+
request: bot_models.PagequeryIotbasicAppmanagerRequest,
|
|
6701
|
+
headers: Dict[str, str],
|
|
6702
|
+
runtime: util_models.RuntimeOptions,
|
|
6703
|
+
) -> bot_models.PagequeryIotbasicAppmanagerResponse:
|
|
6704
|
+
"""
|
|
6705
|
+
Description: iotbasic-分页查询应用列表
|
|
6706
|
+
Summary: iotbasic-分页查询应用列表
|
|
6707
|
+
"""
|
|
6708
|
+
UtilClient.validate_model(request)
|
|
6709
|
+
return TeaCore.from_map(
|
|
6710
|
+
bot_models.PagequeryIotbasicAppmanagerResponse(),
|
|
6711
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanager.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6712
|
+
)
|
|
6713
|
+
|
|
6714
|
+
async def pagequery_iotbasic_appmanager_ex_async(
|
|
6715
|
+
self,
|
|
6716
|
+
request: bot_models.PagequeryIotbasicAppmanagerRequest,
|
|
6717
|
+
headers: Dict[str, str],
|
|
6718
|
+
runtime: util_models.RuntimeOptions,
|
|
6719
|
+
) -> bot_models.PagequeryIotbasicAppmanagerResponse:
|
|
6720
|
+
"""
|
|
6721
|
+
Description: iotbasic-分页查询应用列表
|
|
6722
|
+
Summary: iotbasic-分页查询应用列表
|
|
6723
|
+
"""
|
|
6724
|
+
UtilClient.validate_model(request)
|
|
6725
|
+
return TeaCore.from_map(
|
|
6726
|
+
bot_models.PagequeryIotbasicAppmanagerResponse(),
|
|
6727
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanager.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6728
|
+
)
|
|
6729
|
+
|
|
6730
|
+
def get_iotbasic_appmanagerfileurl(
|
|
6731
|
+
self,
|
|
6732
|
+
request: bot_models.GetIotbasicAppmanagerfileurlRequest,
|
|
6733
|
+
) -> bot_models.GetIotbasicAppmanagerfileurlResponse:
|
|
6734
|
+
"""
|
|
6735
|
+
Description: iotbasic-获取应用下载地址
|
|
6736
|
+
Summary: iotbasic-获取应用下载地址
|
|
6737
|
+
"""
|
|
6738
|
+
runtime = util_models.RuntimeOptions()
|
|
6739
|
+
headers = {}
|
|
6740
|
+
return self.get_iotbasic_appmanagerfileurl_ex(request, headers, runtime)
|
|
6741
|
+
|
|
6742
|
+
async def get_iotbasic_appmanagerfileurl_async(
|
|
6743
|
+
self,
|
|
6744
|
+
request: bot_models.GetIotbasicAppmanagerfileurlRequest,
|
|
6745
|
+
) -> bot_models.GetIotbasicAppmanagerfileurlResponse:
|
|
6746
|
+
"""
|
|
6747
|
+
Description: iotbasic-获取应用下载地址
|
|
6748
|
+
Summary: iotbasic-获取应用下载地址
|
|
6749
|
+
"""
|
|
6750
|
+
runtime = util_models.RuntimeOptions()
|
|
6751
|
+
headers = {}
|
|
6752
|
+
return await self.get_iotbasic_appmanagerfileurl_ex_async(request, headers, runtime)
|
|
6753
|
+
|
|
6754
|
+
def get_iotbasic_appmanagerfileurl_ex(
|
|
6755
|
+
self,
|
|
6756
|
+
request: bot_models.GetIotbasicAppmanagerfileurlRequest,
|
|
6757
|
+
headers: Dict[str, str],
|
|
6758
|
+
runtime: util_models.RuntimeOptions,
|
|
6759
|
+
) -> bot_models.GetIotbasicAppmanagerfileurlResponse:
|
|
6760
|
+
"""
|
|
6761
|
+
Description: iotbasic-获取应用下载地址
|
|
6762
|
+
Summary: iotbasic-获取应用下载地址
|
|
6763
|
+
"""
|
|
6764
|
+
UtilClient.validate_model(request)
|
|
6765
|
+
return TeaCore.from_map(
|
|
6766
|
+
bot_models.GetIotbasicAppmanagerfileurlResponse(),
|
|
6767
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanagerfileurl.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6768
|
+
)
|
|
6769
|
+
|
|
6770
|
+
async def get_iotbasic_appmanagerfileurl_ex_async(
|
|
6771
|
+
self,
|
|
6772
|
+
request: bot_models.GetIotbasicAppmanagerfileurlRequest,
|
|
6773
|
+
headers: Dict[str, str],
|
|
6774
|
+
runtime: util_models.RuntimeOptions,
|
|
6775
|
+
) -> bot_models.GetIotbasicAppmanagerfileurlResponse:
|
|
6776
|
+
"""
|
|
6777
|
+
Description: iotbasic-获取应用下载地址
|
|
6778
|
+
Summary: iotbasic-获取应用下载地址
|
|
6779
|
+
"""
|
|
6780
|
+
UtilClient.validate_model(request)
|
|
6781
|
+
return TeaCore.from_map(
|
|
6782
|
+
bot_models.GetIotbasicAppmanagerfileurlResponse(),
|
|
6783
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanagerfileurl.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6784
|
+
)
|
|
6785
|
+
|
|
6786
|
+
def pagequery_iotbasic_appreleaseorder(
|
|
6787
|
+
self,
|
|
6788
|
+
request: bot_models.PagequeryIotbasicAppreleaseorderRequest,
|
|
6789
|
+
) -> bot_models.PagequeryIotbasicAppreleaseorderResponse:
|
|
6790
|
+
"""
|
|
6791
|
+
Description: iotbasic-分页查询发布批次列表
|
|
6792
|
+
Summary: iotbasic-分页查询发布批次列表
|
|
6793
|
+
"""
|
|
6794
|
+
runtime = util_models.RuntimeOptions()
|
|
6795
|
+
headers = {}
|
|
6796
|
+
return self.pagequery_iotbasic_appreleaseorder_ex(request, headers, runtime)
|
|
6797
|
+
|
|
6798
|
+
async def pagequery_iotbasic_appreleaseorder_async(
|
|
6799
|
+
self,
|
|
6800
|
+
request: bot_models.PagequeryIotbasicAppreleaseorderRequest,
|
|
6801
|
+
) -> bot_models.PagequeryIotbasicAppreleaseorderResponse:
|
|
6802
|
+
"""
|
|
6803
|
+
Description: iotbasic-分页查询发布批次列表
|
|
6804
|
+
Summary: iotbasic-分页查询发布批次列表
|
|
6805
|
+
"""
|
|
6806
|
+
runtime = util_models.RuntimeOptions()
|
|
6807
|
+
headers = {}
|
|
6808
|
+
return await self.pagequery_iotbasic_appreleaseorder_ex_async(request, headers, runtime)
|
|
6809
|
+
|
|
6810
|
+
def pagequery_iotbasic_appreleaseorder_ex(
|
|
6811
|
+
self,
|
|
6812
|
+
request: bot_models.PagequeryIotbasicAppreleaseorderRequest,
|
|
6813
|
+
headers: Dict[str, str],
|
|
6814
|
+
runtime: util_models.RuntimeOptions,
|
|
6815
|
+
) -> bot_models.PagequeryIotbasicAppreleaseorderResponse:
|
|
6816
|
+
"""
|
|
6817
|
+
Description: iotbasic-分页查询发布批次列表
|
|
6818
|
+
Summary: iotbasic-分页查询发布批次列表
|
|
6819
|
+
"""
|
|
6820
|
+
UtilClient.validate_model(request)
|
|
6821
|
+
return TeaCore.from_map(
|
|
6822
|
+
bot_models.PagequeryIotbasicAppreleaseorderResponse(),
|
|
6823
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appreleaseorder.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6824
|
+
)
|
|
6825
|
+
|
|
6826
|
+
async def pagequery_iotbasic_appreleaseorder_ex_async(
|
|
6827
|
+
self,
|
|
6828
|
+
request: bot_models.PagequeryIotbasicAppreleaseorderRequest,
|
|
6829
|
+
headers: Dict[str, str],
|
|
6830
|
+
runtime: util_models.RuntimeOptions,
|
|
6831
|
+
) -> bot_models.PagequeryIotbasicAppreleaseorderResponse:
|
|
6832
|
+
"""
|
|
6833
|
+
Description: iotbasic-分页查询发布批次列表
|
|
6834
|
+
Summary: iotbasic-分页查询发布批次列表
|
|
6835
|
+
"""
|
|
6836
|
+
UtilClient.validate_model(request)
|
|
6837
|
+
return TeaCore.from_map(
|
|
6838
|
+
bot_models.PagequeryIotbasicAppreleaseorderResponse(),
|
|
6839
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appreleaseorder.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6840
|
+
)
|
|
6841
|
+
|
|
6842
|
+
def pagequery_iotbasic_appreleasedevice(
|
|
6843
|
+
self,
|
|
6844
|
+
request: bot_models.PagequeryIotbasicAppreleasedeviceRequest,
|
|
6845
|
+
) -> bot_models.PagequeryIotbasicAppreleasedeviceResponse:
|
|
6846
|
+
"""
|
|
6847
|
+
Description: iotbasic-分页查询设备升级列表
|
|
6848
|
+
Summary: iotbasic-分页查询设备升级列表
|
|
6849
|
+
"""
|
|
6850
|
+
runtime = util_models.RuntimeOptions()
|
|
6851
|
+
headers = {}
|
|
6852
|
+
return self.pagequery_iotbasic_appreleasedevice_ex(request, headers, runtime)
|
|
6853
|
+
|
|
6854
|
+
async def pagequery_iotbasic_appreleasedevice_async(
|
|
6855
|
+
self,
|
|
6856
|
+
request: bot_models.PagequeryIotbasicAppreleasedeviceRequest,
|
|
6857
|
+
) -> bot_models.PagequeryIotbasicAppreleasedeviceResponse:
|
|
6858
|
+
"""
|
|
6859
|
+
Description: iotbasic-分页查询设备升级列表
|
|
6860
|
+
Summary: iotbasic-分页查询设备升级列表
|
|
6861
|
+
"""
|
|
6862
|
+
runtime = util_models.RuntimeOptions()
|
|
6863
|
+
headers = {}
|
|
6864
|
+
return await self.pagequery_iotbasic_appreleasedevice_ex_async(request, headers, runtime)
|
|
6865
|
+
|
|
6866
|
+
def pagequery_iotbasic_appreleasedevice_ex(
|
|
6867
|
+
self,
|
|
6868
|
+
request: bot_models.PagequeryIotbasicAppreleasedeviceRequest,
|
|
6869
|
+
headers: Dict[str, str],
|
|
6870
|
+
runtime: util_models.RuntimeOptions,
|
|
6871
|
+
) -> bot_models.PagequeryIotbasicAppreleasedeviceResponse:
|
|
6872
|
+
"""
|
|
6873
|
+
Description: iotbasic-分页查询设备升级列表
|
|
6874
|
+
Summary: iotbasic-分页查询设备升级列表
|
|
6875
|
+
"""
|
|
6876
|
+
UtilClient.validate_model(request)
|
|
6877
|
+
return TeaCore.from_map(
|
|
6878
|
+
bot_models.PagequeryIotbasicAppreleasedeviceResponse(),
|
|
6879
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appreleasedevice.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6880
|
+
)
|
|
6881
|
+
|
|
6882
|
+
async def pagequery_iotbasic_appreleasedevice_ex_async(
|
|
6883
|
+
self,
|
|
6884
|
+
request: bot_models.PagequeryIotbasicAppreleasedeviceRequest,
|
|
6885
|
+
headers: Dict[str, str],
|
|
6886
|
+
runtime: util_models.RuntimeOptions,
|
|
6887
|
+
) -> bot_models.PagequeryIotbasicAppreleasedeviceResponse:
|
|
6888
|
+
"""
|
|
6889
|
+
Description: iotbasic-分页查询设备升级列表
|
|
6890
|
+
Summary: iotbasic-分页查询设备升级列表
|
|
6891
|
+
"""
|
|
6892
|
+
UtilClient.validate_model(request)
|
|
6893
|
+
return TeaCore.from_map(
|
|
6894
|
+
bot_models.PagequeryIotbasicAppreleasedeviceResponse(),
|
|
6895
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appreleasedevice.pagequery', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6896
|
+
)
|
|
6897
|
+
|
|
6898
|
+
def publish_iotbasic_appreleaseorder(
|
|
6899
|
+
self,
|
|
6900
|
+
request: bot_models.PublishIotbasicAppreleaseorderRequest,
|
|
6901
|
+
) -> bot_models.PublishIotbasicAppreleaseorderResponse:
|
|
6902
|
+
"""
|
|
6903
|
+
Description: iotbasic-发布工单
|
|
6904
|
+
Summary: iotbasic-发布工单
|
|
6905
|
+
"""
|
|
6906
|
+
runtime = util_models.RuntimeOptions()
|
|
6907
|
+
headers = {}
|
|
6908
|
+
return self.publish_iotbasic_appreleaseorder_ex(request, headers, runtime)
|
|
6909
|
+
|
|
6910
|
+
async def publish_iotbasic_appreleaseorder_async(
|
|
6911
|
+
self,
|
|
6912
|
+
request: bot_models.PublishIotbasicAppreleaseorderRequest,
|
|
6913
|
+
) -> bot_models.PublishIotbasicAppreleaseorderResponse:
|
|
6914
|
+
"""
|
|
6915
|
+
Description: iotbasic-发布工单
|
|
6916
|
+
Summary: iotbasic-发布工单
|
|
6917
|
+
"""
|
|
6918
|
+
runtime = util_models.RuntimeOptions()
|
|
6919
|
+
headers = {}
|
|
6920
|
+
return await self.publish_iotbasic_appreleaseorder_ex_async(request, headers, runtime)
|
|
6921
|
+
|
|
6922
|
+
def publish_iotbasic_appreleaseorder_ex(
|
|
6923
|
+
self,
|
|
6924
|
+
request: bot_models.PublishIotbasicAppreleaseorderRequest,
|
|
6925
|
+
headers: Dict[str, str],
|
|
6926
|
+
runtime: util_models.RuntimeOptions,
|
|
6927
|
+
) -> bot_models.PublishIotbasicAppreleaseorderResponse:
|
|
6928
|
+
"""
|
|
6929
|
+
Description: iotbasic-发布工单
|
|
6930
|
+
Summary: iotbasic-发布工单
|
|
6931
|
+
"""
|
|
6932
|
+
UtilClient.validate_model(request)
|
|
6933
|
+
return TeaCore.from_map(
|
|
6934
|
+
bot_models.PublishIotbasicAppreleaseorderResponse(),
|
|
6935
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appreleaseorder.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6936
|
+
)
|
|
6937
|
+
|
|
6938
|
+
async def publish_iotbasic_appreleaseorder_ex_async(
|
|
6939
|
+
self,
|
|
6940
|
+
request: bot_models.PublishIotbasicAppreleaseorderRequest,
|
|
6941
|
+
headers: Dict[str, str],
|
|
6942
|
+
runtime: util_models.RuntimeOptions,
|
|
6943
|
+
) -> bot_models.PublishIotbasicAppreleaseorderResponse:
|
|
6944
|
+
"""
|
|
6945
|
+
Description: iotbasic-发布工单
|
|
6946
|
+
Summary: iotbasic-发布工单
|
|
6947
|
+
"""
|
|
6948
|
+
UtilClient.validate_model(request)
|
|
6949
|
+
return TeaCore.from_map(
|
|
6950
|
+
bot_models.PublishIotbasicAppreleaseorderResponse(),
|
|
6951
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appreleaseorder.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6952
|
+
)
|
|
6953
|
+
|
|
6954
|
+
def cancel_iotbasic_appreleaseorder(
|
|
6955
|
+
self,
|
|
6956
|
+
request: bot_models.CancelIotbasicAppreleaseorderRequest,
|
|
6957
|
+
) -> bot_models.CancelIotbasicAppreleaseorderResponse:
|
|
6958
|
+
"""
|
|
6959
|
+
Description: iotbasic-取消工单发布
|
|
6960
|
+
Summary: iotbasic-取消工单发布
|
|
6961
|
+
"""
|
|
6962
|
+
runtime = util_models.RuntimeOptions()
|
|
6963
|
+
headers = {}
|
|
6964
|
+
return self.cancel_iotbasic_appreleaseorder_ex(request, headers, runtime)
|
|
6965
|
+
|
|
6966
|
+
async def cancel_iotbasic_appreleaseorder_async(
|
|
6967
|
+
self,
|
|
6968
|
+
request: bot_models.CancelIotbasicAppreleaseorderRequest,
|
|
6969
|
+
) -> bot_models.CancelIotbasicAppreleaseorderResponse:
|
|
6970
|
+
"""
|
|
6971
|
+
Description: iotbasic-取消工单发布
|
|
6972
|
+
Summary: iotbasic-取消工单发布
|
|
6973
|
+
"""
|
|
6974
|
+
runtime = util_models.RuntimeOptions()
|
|
6975
|
+
headers = {}
|
|
6976
|
+
return await self.cancel_iotbasic_appreleaseorder_ex_async(request, headers, runtime)
|
|
6977
|
+
|
|
6978
|
+
def cancel_iotbasic_appreleaseorder_ex(
|
|
6979
|
+
self,
|
|
6980
|
+
request: bot_models.CancelIotbasicAppreleaseorderRequest,
|
|
6981
|
+
headers: Dict[str, str],
|
|
6982
|
+
runtime: util_models.RuntimeOptions,
|
|
6983
|
+
) -> bot_models.CancelIotbasicAppreleaseorderResponse:
|
|
6984
|
+
"""
|
|
6985
|
+
Description: iotbasic-取消工单发布
|
|
6986
|
+
Summary: iotbasic-取消工单发布
|
|
6987
|
+
"""
|
|
6988
|
+
UtilClient.validate_model(request)
|
|
6989
|
+
return TeaCore.from_map(
|
|
6990
|
+
bot_models.CancelIotbasicAppreleaseorderResponse(),
|
|
6991
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appreleaseorder.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6992
|
+
)
|
|
6993
|
+
|
|
6994
|
+
async def cancel_iotbasic_appreleaseorder_ex_async(
|
|
6995
|
+
self,
|
|
6996
|
+
request: bot_models.CancelIotbasicAppreleaseorderRequest,
|
|
6997
|
+
headers: Dict[str, str],
|
|
6998
|
+
runtime: util_models.RuntimeOptions,
|
|
6999
|
+
) -> bot_models.CancelIotbasicAppreleaseorderResponse:
|
|
7000
|
+
"""
|
|
7001
|
+
Description: iotbasic-取消工单发布
|
|
7002
|
+
Summary: iotbasic-取消工单发布
|
|
7003
|
+
"""
|
|
7004
|
+
UtilClient.validate_model(request)
|
|
7005
|
+
return TeaCore.from_map(
|
|
7006
|
+
bot_models.CancelIotbasicAppreleaseorderResponse(),
|
|
7007
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appreleaseorder.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7008
|
+
)
|
|
7009
|
+
|
|
7010
|
+
def cancel_iotbasic_appreleasedevice(
|
|
7011
|
+
self,
|
|
7012
|
+
request: bot_models.CancelIotbasicAppreleasedeviceRequest,
|
|
7013
|
+
) -> bot_models.CancelIotbasicAppreleasedeviceResponse:
|
|
7014
|
+
"""
|
|
7015
|
+
Description: iotbasic-取消设备升级
|
|
7016
|
+
Summary: iotbasic-取消设备升级
|
|
7017
|
+
"""
|
|
7018
|
+
runtime = util_models.RuntimeOptions()
|
|
7019
|
+
headers = {}
|
|
7020
|
+
return self.cancel_iotbasic_appreleasedevice_ex(request, headers, runtime)
|
|
7021
|
+
|
|
7022
|
+
async def cancel_iotbasic_appreleasedevice_async(
|
|
7023
|
+
self,
|
|
7024
|
+
request: bot_models.CancelIotbasicAppreleasedeviceRequest,
|
|
7025
|
+
) -> bot_models.CancelIotbasicAppreleasedeviceResponse:
|
|
7026
|
+
"""
|
|
7027
|
+
Description: iotbasic-取消设备升级
|
|
7028
|
+
Summary: iotbasic-取消设备升级
|
|
7029
|
+
"""
|
|
7030
|
+
runtime = util_models.RuntimeOptions()
|
|
7031
|
+
headers = {}
|
|
7032
|
+
return await self.cancel_iotbasic_appreleasedevice_ex_async(request, headers, runtime)
|
|
7033
|
+
|
|
7034
|
+
def cancel_iotbasic_appreleasedevice_ex(
|
|
7035
|
+
self,
|
|
7036
|
+
request: bot_models.CancelIotbasicAppreleasedeviceRequest,
|
|
7037
|
+
headers: Dict[str, str],
|
|
7038
|
+
runtime: util_models.RuntimeOptions,
|
|
7039
|
+
) -> bot_models.CancelIotbasicAppreleasedeviceResponse:
|
|
7040
|
+
"""
|
|
7041
|
+
Description: iotbasic-取消设备升级
|
|
7042
|
+
Summary: iotbasic-取消设备升级
|
|
7043
|
+
"""
|
|
7044
|
+
UtilClient.validate_model(request)
|
|
7045
|
+
return TeaCore.from_map(
|
|
7046
|
+
bot_models.CancelIotbasicAppreleasedeviceResponse(),
|
|
7047
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appreleasedevice.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7048
|
+
)
|
|
7049
|
+
|
|
7050
|
+
async def cancel_iotbasic_appreleasedevice_ex_async(
|
|
7051
|
+
self,
|
|
7052
|
+
request: bot_models.CancelIotbasicAppreleasedeviceRequest,
|
|
7053
|
+
headers: Dict[str, str],
|
|
7054
|
+
runtime: util_models.RuntimeOptions,
|
|
7055
|
+
) -> bot_models.CancelIotbasicAppreleasedeviceResponse:
|
|
7056
|
+
"""
|
|
7057
|
+
Description: iotbasic-取消设备升级
|
|
7058
|
+
Summary: iotbasic-取消设备升级
|
|
7059
|
+
"""
|
|
7060
|
+
UtilClient.validate_model(request)
|
|
7061
|
+
return TeaCore.from_map(
|
|
7062
|
+
bot_models.CancelIotbasicAppreleasedeviceResponse(),
|
|
7063
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appreleasedevice.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7064
|
+
)
|
|
7065
|
+
|
|
7066
|
+
def retry_iotbasic_appreleasedevice(
|
|
7067
|
+
self,
|
|
7068
|
+
request: bot_models.RetryIotbasicAppreleasedeviceRequest,
|
|
7069
|
+
) -> bot_models.RetryIotbasicAppreleasedeviceResponse:
|
|
7070
|
+
"""
|
|
7071
|
+
Description: iotbasic-重试设备升级
|
|
7072
|
+
Summary: iotbasic-重试设备升级
|
|
7073
|
+
"""
|
|
7074
|
+
runtime = util_models.RuntimeOptions()
|
|
7075
|
+
headers = {}
|
|
7076
|
+
return self.retry_iotbasic_appreleasedevice_ex(request, headers, runtime)
|
|
7077
|
+
|
|
7078
|
+
async def retry_iotbasic_appreleasedevice_async(
|
|
7079
|
+
self,
|
|
7080
|
+
request: bot_models.RetryIotbasicAppreleasedeviceRequest,
|
|
7081
|
+
) -> bot_models.RetryIotbasicAppreleasedeviceResponse:
|
|
7082
|
+
"""
|
|
7083
|
+
Description: iotbasic-重试设备升级
|
|
7084
|
+
Summary: iotbasic-重试设备升级
|
|
7085
|
+
"""
|
|
7086
|
+
runtime = util_models.RuntimeOptions()
|
|
7087
|
+
headers = {}
|
|
7088
|
+
return await self.retry_iotbasic_appreleasedevice_ex_async(request, headers, runtime)
|
|
7089
|
+
|
|
7090
|
+
def retry_iotbasic_appreleasedevice_ex(
|
|
7091
|
+
self,
|
|
7092
|
+
request: bot_models.RetryIotbasicAppreleasedeviceRequest,
|
|
7093
|
+
headers: Dict[str, str],
|
|
7094
|
+
runtime: util_models.RuntimeOptions,
|
|
7095
|
+
) -> bot_models.RetryIotbasicAppreleasedeviceResponse:
|
|
7096
|
+
"""
|
|
7097
|
+
Description: iotbasic-重试设备升级
|
|
7098
|
+
Summary: iotbasic-重试设备升级
|
|
7099
|
+
"""
|
|
7100
|
+
UtilClient.validate_model(request)
|
|
7101
|
+
return TeaCore.from_map(
|
|
7102
|
+
bot_models.RetryIotbasicAppreleasedeviceResponse(),
|
|
7103
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appreleasedevice.retry', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7104
|
+
)
|
|
7105
|
+
|
|
7106
|
+
async def retry_iotbasic_appreleasedevice_ex_async(
|
|
7107
|
+
self,
|
|
7108
|
+
request: bot_models.RetryIotbasicAppreleasedeviceRequest,
|
|
7109
|
+
headers: Dict[str, str],
|
|
7110
|
+
runtime: util_models.RuntimeOptions,
|
|
7111
|
+
) -> bot_models.RetryIotbasicAppreleasedeviceResponse:
|
|
7112
|
+
"""
|
|
7113
|
+
Description: iotbasic-重试设备升级
|
|
7114
|
+
Summary: iotbasic-重试设备升级
|
|
7115
|
+
"""
|
|
7116
|
+
UtilClient.validate_model(request)
|
|
7117
|
+
return TeaCore.from_map(
|
|
7118
|
+
bot_models.RetryIotbasicAppreleasedeviceResponse(),
|
|
7119
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appreleasedevice.retry', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7120
|
+
)
|
|
7121
|
+
|
|
7122
|
+
def create_iotbasic_appmanagerotamodule(
|
|
7123
|
+
self,
|
|
7124
|
+
request: bot_models.CreateIotbasicAppmanagerotamoduleRequest,
|
|
7125
|
+
) -> bot_models.CreateIotbasicAppmanagerotamoduleResponse:
|
|
7126
|
+
"""
|
|
7127
|
+
Description: iotbasic-创建应用类型
|
|
7128
|
+
Summary: iotbasic-创建应用类型
|
|
7129
|
+
"""
|
|
7130
|
+
runtime = util_models.RuntimeOptions()
|
|
7131
|
+
headers = {}
|
|
7132
|
+
return self.create_iotbasic_appmanagerotamodule_ex(request, headers, runtime)
|
|
7133
|
+
|
|
7134
|
+
async def create_iotbasic_appmanagerotamodule_async(
|
|
7135
|
+
self,
|
|
7136
|
+
request: bot_models.CreateIotbasicAppmanagerotamoduleRequest,
|
|
7137
|
+
) -> bot_models.CreateIotbasicAppmanagerotamoduleResponse:
|
|
7138
|
+
"""
|
|
7139
|
+
Description: iotbasic-创建应用类型
|
|
7140
|
+
Summary: iotbasic-创建应用类型
|
|
7141
|
+
"""
|
|
7142
|
+
runtime = util_models.RuntimeOptions()
|
|
7143
|
+
headers = {}
|
|
7144
|
+
return await self.create_iotbasic_appmanagerotamodule_ex_async(request, headers, runtime)
|
|
7145
|
+
|
|
7146
|
+
def create_iotbasic_appmanagerotamodule_ex(
|
|
7147
|
+
self,
|
|
7148
|
+
request: bot_models.CreateIotbasicAppmanagerotamoduleRequest,
|
|
7149
|
+
headers: Dict[str, str],
|
|
7150
|
+
runtime: util_models.RuntimeOptions,
|
|
7151
|
+
) -> bot_models.CreateIotbasicAppmanagerotamoduleResponse:
|
|
7152
|
+
"""
|
|
7153
|
+
Description: iotbasic-创建应用类型
|
|
7154
|
+
Summary: iotbasic-创建应用类型
|
|
7155
|
+
"""
|
|
7156
|
+
UtilClient.validate_model(request)
|
|
7157
|
+
return TeaCore.from_map(
|
|
7158
|
+
bot_models.CreateIotbasicAppmanagerotamoduleResponse(),
|
|
7159
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7160
|
+
)
|
|
7161
|
+
|
|
7162
|
+
async def create_iotbasic_appmanagerotamodule_ex_async(
|
|
7163
|
+
self,
|
|
7164
|
+
request: bot_models.CreateIotbasicAppmanagerotamoduleRequest,
|
|
7165
|
+
headers: Dict[str, str],
|
|
7166
|
+
runtime: util_models.RuntimeOptions,
|
|
7167
|
+
) -> bot_models.CreateIotbasicAppmanagerotamoduleResponse:
|
|
7168
|
+
"""
|
|
7169
|
+
Description: iotbasic-创建应用类型
|
|
7170
|
+
Summary: iotbasic-创建应用类型
|
|
7171
|
+
"""
|
|
7172
|
+
UtilClient.validate_model(request)
|
|
7173
|
+
return TeaCore.from_map(
|
|
7174
|
+
bot_models.CreateIotbasicAppmanagerotamoduleResponse(),
|
|
7175
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7176
|
+
)
|
|
7177
|
+
|
|
7178
|
+
def update_iotbasic_appmanagerotamodule(
|
|
7179
|
+
self,
|
|
7180
|
+
request: bot_models.UpdateIotbasicAppmanagerotamoduleRequest,
|
|
7181
|
+
) -> bot_models.UpdateIotbasicAppmanagerotamoduleResponse:
|
|
7182
|
+
"""
|
|
7183
|
+
Description: iotbasic-修改应用类型
|
|
7184
|
+
Summary: iotbasic-修改应用类型
|
|
7185
|
+
"""
|
|
7186
|
+
runtime = util_models.RuntimeOptions()
|
|
7187
|
+
headers = {}
|
|
7188
|
+
return self.update_iotbasic_appmanagerotamodule_ex(request, headers, runtime)
|
|
7189
|
+
|
|
7190
|
+
async def update_iotbasic_appmanagerotamodule_async(
|
|
7191
|
+
self,
|
|
7192
|
+
request: bot_models.UpdateIotbasicAppmanagerotamoduleRequest,
|
|
7193
|
+
) -> bot_models.UpdateIotbasicAppmanagerotamoduleResponse:
|
|
7194
|
+
"""
|
|
7195
|
+
Description: iotbasic-修改应用类型
|
|
7196
|
+
Summary: iotbasic-修改应用类型
|
|
7197
|
+
"""
|
|
7198
|
+
runtime = util_models.RuntimeOptions()
|
|
7199
|
+
headers = {}
|
|
7200
|
+
return await self.update_iotbasic_appmanagerotamodule_ex_async(request, headers, runtime)
|
|
7201
|
+
|
|
7202
|
+
def update_iotbasic_appmanagerotamodule_ex(
|
|
7203
|
+
self,
|
|
7204
|
+
request: bot_models.UpdateIotbasicAppmanagerotamoduleRequest,
|
|
7205
|
+
headers: Dict[str, str],
|
|
7206
|
+
runtime: util_models.RuntimeOptions,
|
|
7207
|
+
) -> bot_models.UpdateIotbasicAppmanagerotamoduleResponse:
|
|
7208
|
+
"""
|
|
7209
|
+
Description: iotbasic-修改应用类型
|
|
7210
|
+
Summary: iotbasic-修改应用类型
|
|
7211
|
+
"""
|
|
7212
|
+
UtilClient.validate_model(request)
|
|
7213
|
+
return TeaCore.from_map(
|
|
7214
|
+
bot_models.UpdateIotbasicAppmanagerotamoduleResponse(),
|
|
7215
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.update', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7216
|
+
)
|
|
7217
|
+
|
|
7218
|
+
async def update_iotbasic_appmanagerotamodule_ex_async(
|
|
7219
|
+
self,
|
|
7220
|
+
request: bot_models.UpdateIotbasicAppmanagerotamoduleRequest,
|
|
7221
|
+
headers: Dict[str, str],
|
|
7222
|
+
runtime: util_models.RuntimeOptions,
|
|
7223
|
+
) -> bot_models.UpdateIotbasicAppmanagerotamoduleResponse:
|
|
7224
|
+
"""
|
|
7225
|
+
Description: iotbasic-修改应用类型
|
|
7226
|
+
Summary: iotbasic-修改应用类型
|
|
7227
|
+
"""
|
|
7228
|
+
UtilClient.validate_model(request)
|
|
7229
|
+
return TeaCore.from_map(
|
|
7230
|
+
bot_models.UpdateIotbasicAppmanagerotamoduleResponse(),
|
|
7231
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.update', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7232
|
+
)
|
|
7233
|
+
|
|
7234
|
+
def delete_iotbasic_appmanagerotamodule(
|
|
7235
|
+
self,
|
|
7236
|
+
request: bot_models.DeleteIotbasicAppmanagerotamoduleRequest,
|
|
7237
|
+
) -> bot_models.DeleteIotbasicAppmanagerotamoduleResponse:
|
|
7238
|
+
"""
|
|
7239
|
+
Description: iotbasic-删除应用类型
|
|
7240
|
+
Summary: iotbasic-删除应用类型
|
|
7241
|
+
"""
|
|
7242
|
+
runtime = util_models.RuntimeOptions()
|
|
7243
|
+
headers = {}
|
|
7244
|
+
return self.delete_iotbasic_appmanagerotamodule_ex(request, headers, runtime)
|
|
7245
|
+
|
|
7246
|
+
async def delete_iotbasic_appmanagerotamodule_async(
|
|
7247
|
+
self,
|
|
7248
|
+
request: bot_models.DeleteIotbasicAppmanagerotamoduleRequest,
|
|
7249
|
+
) -> bot_models.DeleteIotbasicAppmanagerotamoduleResponse:
|
|
7250
|
+
"""
|
|
7251
|
+
Description: iotbasic-删除应用类型
|
|
7252
|
+
Summary: iotbasic-删除应用类型
|
|
7253
|
+
"""
|
|
7254
|
+
runtime = util_models.RuntimeOptions()
|
|
7255
|
+
headers = {}
|
|
7256
|
+
return await self.delete_iotbasic_appmanagerotamodule_ex_async(request, headers, runtime)
|
|
7257
|
+
|
|
7258
|
+
def delete_iotbasic_appmanagerotamodule_ex(
|
|
7259
|
+
self,
|
|
7260
|
+
request: bot_models.DeleteIotbasicAppmanagerotamoduleRequest,
|
|
7261
|
+
headers: Dict[str, str],
|
|
7262
|
+
runtime: util_models.RuntimeOptions,
|
|
7263
|
+
) -> bot_models.DeleteIotbasicAppmanagerotamoduleResponse:
|
|
7264
|
+
"""
|
|
7265
|
+
Description: iotbasic-删除应用类型
|
|
7266
|
+
Summary: iotbasic-删除应用类型
|
|
7267
|
+
"""
|
|
7268
|
+
UtilClient.validate_model(request)
|
|
7269
|
+
return TeaCore.from_map(
|
|
7270
|
+
bot_models.DeleteIotbasicAppmanagerotamoduleResponse(),
|
|
7271
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.delete', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
7272
|
+
)
|
|
7273
|
+
|
|
7274
|
+
async def delete_iotbasic_appmanagerotamodule_ex_async(
|
|
7275
|
+
self,
|
|
7276
|
+
request: bot_models.DeleteIotbasicAppmanagerotamoduleRequest,
|
|
7277
|
+
headers: Dict[str, str],
|
|
7278
|
+
runtime: util_models.RuntimeOptions,
|
|
7279
|
+
) -> bot_models.DeleteIotbasicAppmanagerotamoduleResponse:
|
|
7280
|
+
"""
|
|
7281
|
+
Description: iotbasic-删除应用类型
|
|
7282
|
+
Summary: iotbasic-删除应用类型
|
|
7283
|
+
"""
|
|
7284
|
+
UtilClient.validate_model(request)
|
|
7285
|
+
return TeaCore.from_map(
|
|
7286
|
+
bot_models.DeleteIotbasicAppmanagerotamoduleResponse(),
|
|
7287
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanagerotamodule.delete', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
6616
7288
|
)
|
|
6617
7289
|
|
|
6618
7290
|
def query_iotplatform_purchaseorder(
|
|
@@ -13055,6 +13727,62 @@ class Client:
|
|
|
13055
13727
|
await self.do_request_async('1.0', 'blockchain.bot.thing.data.send', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
13056
13728
|
)
|
|
13057
13729
|
|
|
13730
|
+
def query_techintegration_skugrantstockinfo(
|
|
13731
|
+
self,
|
|
13732
|
+
request: bot_models.QueryTechintegrationSkugrantstockinfoRequest,
|
|
13733
|
+
) -> bot_models.QueryTechintegrationSkugrantstockinfoResponse:
|
|
13734
|
+
"""
|
|
13735
|
+
Description: 支付芯证书授权信息查询
|
|
13736
|
+
Summary: 支付芯证书授权信息查询
|
|
13737
|
+
"""
|
|
13738
|
+
runtime = util_models.RuntimeOptions()
|
|
13739
|
+
headers = {}
|
|
13740
|
+
return self.query_techintegration_skugrantstockinfo_ex(request, headers, runtime)
|
|
13741
|
+
|
|
13742
|
+
async def query_techintegration_skugrantstockinfo_async(
|
|
13743
|
+
self,
|
|
13744
|
+
request: bot_models.QueryTechintegrationSkugrantstockinfoRequest,
|
|
13745
|
+
) -> bot_models.QueryTechintegrationSkugrantstockinfoResponse:
|
|
13746
|
+
"""
|
|
13747
|
+
Description: 支付芯证书授权信息查询
|
|
13748
|
+
Summary: 支付芯证书授权信息查询
|
|
13749
|
+
"""
|
|
13750
|
+
runtime = util_models.RuntimeOptions()
|
|
13751
|
+
headers = {}
|
|
13752
|
+
return await self.query_techintegration_skugrantstockinfo_ex_async(request, headers, runtime)
|
|
13753
|
+
|
|
13754
|
+
def query_techintegration_skugrantstockinfo_ex(
|
|
13755
|
+
self,
|
|
13756
|
+
request: bot_models.QueryTechintegrationSkugrantstockinfoRequest,
|
|
13757
|
+
headers: Dict[str, str],
|
|
13758
|
+
runtime: util_models.RuntimeOptions,
|
|
13759
|
+
) -> bot_models.QueryTechintegrationSkugrantstockinfoResponse:
|
|
13760
|
+
"""
|
|
13761
|
+
Description: 支付芯证书授权信息查询
|
|
13762
|
+
Summary: 支付芯证书授权信息查询
|
|
13763
|
+
"""
|
|
13764
|
+
UtilClient.validate_model(request)
|
|
13765
|
+
return TeaCore.from_map(
|
|
13766
|
+
bot_models.QueryTechintegrationSkugrantstockinfoResponse(),
|
|
13767
|
+
self.do_request('1.0', 'blockchain.bot.techintegration.skugrantstockinfo.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
13768
|
+
)
|
|
13769
|
+
|
|
13770
|
+
async def query_techintegration_skugrantstockinfo_ex_async(
|
|
13771
|
+
self,
|
|
13772
|
+
request: bot_models.QueryTechintegrationSkugrantstockinfoRequest,
|
|
13773
|
+
headers: Dict[str, str],
|
|
13774
|
+
runtime: util_models.RuntimeOptions,
|
|
13775
|
+
) -> bot_models.QueryTechintegrationSkugrantstockinfoResponse:
|
|
13776
|
+
"""
|
|
13777
|
+
Description: 支付芯证书授权信息查询
|
|
13778
|
+
Summary: 支付芯证书授权信息查询
|
|
13779
|
+
"""
|
|
13780
|
+
UtilClient.validate_model(request)
|
|
13781
|
+
return TeaCore.from_map(
|
|
13782
|
+
bot_models.QueryTechintegrationSkugrantstockinfoResponse(),
|
|
13783
|
+
await self.do_request_async('1.0', 'blockchain.bot.techintegration.skugrantstockinfo.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
13784
|
+
)
|
|
13785
|
+
|
|
13058
13786
|
def exec_thingsdid_oneapi(
|
|
13059
13787
|
self,
|
|
13060
13788
|
request: bot_models.ExecThingsdidOneapiRequest,
|