antchain-bot 1.10.18__py3-none-any.whl → 1.10.23__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.10.18.dist-info → antchain_bot-1.10.23.dist-info}/METADATA +1 -1
- antchain_bot-1.10.23.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +506 -2
- antchain_sdk_bot/models.py +1296 -90
- antchain_bot-1.10.18.dist-info/RECORD +0 -8
- {antchain_bot-1.10.18.dist-info → antchain_bot-1.10.23.dist-info}/LICENSE +0 -0
- {antchain_bot-1.10.18.dist-info → antchain_bot-1.10.23.dist-info}/WHEEL +0 -0
- {antchain_bot-1.10.18.dist-info → antchain_bot-1.10.23.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
antchain_sdk_bot/__init__.py,sha256=kwygNZqZFULRLUYR3GgHCjc09LRgwUvjHr3hgaXI1DA,23
|
|
2
|
+
antchain_sdk_bot/client.py,sha256=VzpkA8e1Nnzmhwv-dvCzSG9_N0nDBamUB6jy2qt9GX4,499494
|
|
3
|
+
antchain_sdk_bot/models.py,sha256=g8fUh-b_4A93bGPJagFGQ9FQY12wMljs5nHNQV46lBo,1305935
|
|
4
|
+
antchain_bot-1.10.23.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
antchain_bot-1.10.23.dist-info/METADATA,sha256=r4XekK9G6wswn8ulMZLPDbzay_hlqkmEkx44mc3PbiA,1989
|
|
6
|
+
antchain_bot-1.10.23.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
+
antchain_bot-1.10.23.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
|
|
8
|
+
antchain_bot-1.10.23.dist-info/RECORD,,
|
antchain_sdk_bot/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.10.
|
|
1
|
+
__version__ = '1.10.23'
|
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.10.
|
|
138
|
+
'sdk_version': '1.10.23',
|
|
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.10.
|
|
242
|
+
'sdk_version': '1.10.23',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -4845,6 +4845,454 @@ class Client:
|
|
|
4845
4845
|
await self.do_request_async('1.0', 'blockchain.bot.devicelist.property.set', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4846
4846
|
)
|
|
4847
4847
|
|
|
4848
|
+
def query_iotbasic_categorylist(
|
|
4849
|
+
self,
|
|
4850
|
+
request: bot_models.QueryIotbasicCategorylistRequest,
|
|
4851
|
+
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4852
|
+
"""
|
|
4853
|
+
Description: iotbasic-查询品类列表
|
|
4854
|
+
Summary: iotbasic-查询品类列表
|
|
4855
|
+
"""
|
|
4856
|
+
runtime = util_models.RuntimeOptions()
|
|
4857
|
+
headers = {}
|
|
4858
|
+
return self.query_iotbasic_categorylist_ex(request, headers, runtime)
|
|
4859
|
+
|
|
4860
|
+
async def query_iotbasic_categorylist_async(
|
|
4861
|
+
self,
|
|
4862
|
+
request: bot_models.QueryIotbasicCategorylistRequest,
|
|
4863
|
+
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4864
|
+
"""
|
|
4865
|
+
Description: iotbasic-查询品类列表
|
|
4866
|
+
Summary: iotbasic-查询品类列表
|
|
4867
|
+
"""
|
|
4868
|
+
runtime = util_models.RuntimeOptions()
|
|
4869
|
+
headers = {}
|
|
4870
|
+
return await self.query_iotbasic_categorylist_ex_async(request, headers, runtime)
|
|
4871
|
+
|
|
4872
|
+
def query_iotbasic_categorylist_ex(
|
|
4873
|
+
self,
|
|
4874
|
+
request: bot_models.QueryIotbasicCategorylistRequest,
|
|
4875
|
+
headers: Dict[str, str],
|
|
4876
|
+
runtime: util_models.RuntimeOptions,
|
|
4877
|
+
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4878
|
+
"""
|
|
4879
|
+
Description: iotbasic-查询品类列表
|
|
4880
|
+
Summary: iotbasic-查询品类列表
|
|
4881
|
+
"""
|
|
4882
|
+
UtilClient.validate_model(request)
|
|
4883
|
+
return TeaCore.from_map(
|
|
4884
|
+
bot_models.QueryIotbasicCategorylistResponse(),
|
|
4885
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.categorylist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4886
|
+
)
|
|
4887
|
+
|
|
4888
|
+
async def query_iotbasic_categorylist_ex_async(
|
|
4889
|
+
self,
|
|
4890
|
+
request: bot_models.QueryIotbasicCategorylistRequest,
|
|
4891
|
+
headers: Dict[str, str],
|
|
4892
|
+
runtime: util_models.RuntimeOptions,
|
|
4893
|
+
) -> bot_models.QueryIotbasicCategorylistResponse:
|
|
4894
|
+
"""
|
|
4895
|
+
Description: iotbasic-查询品类列表
|
|
4896
|
+
Summary: iotbasic-查询品类列表
|
|
4897
|
+
"""
|
|
4898
|
+
UtilClient.validate_model(request)
|
|
4899
|
+
return TeaCore.from_map(
|
|
4900
|
+
bot_models.QueryIotbasicCategorylistResponse(),
|
|
4901
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.categorylist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4902
|
+
)
|
|
4903
|
+
|
|
4904
|
+
def query_iotbasic_projectspacelist(
|
|
4905
|
+
self,
|
|
4906
|
+
request: bot_models.QueryIotbasicProjectspacelistRequest,
|
|
4907
|
+
) -> bot_models.QueryIotbasicProjectspacelistResponse:
|
|
4908
|
+
"""
|
|
4909
|
+
Description: iotbasic-查询项目空间列表
|
|
4910
|
+
Summary: iotbasic-查询项目空间列表
|
|
4911
|
+
"""
|
|
4912
|
+
runtime = util_models.RuntimeOptions()
|
|
4913
|
+
headers = {}
|
|
4914
|
+
return self.query_iotbasic_projectspacelist_ex(request, headers, runtime)
|
|
4915
|
+
|
|
4916
|
+
async def query_iotbasic_projectspacelist_async(
|
|
4917
|
+
self,
|
|
4918
|
+
request: bot_models.QueryIotbasicProjectspacelistRequest,
|
|
4919
|
+
) -> bot_models.QueryIotbasicProjectspacelistResponse:
|
|
4920
|
+
"""
|
|
4921
|
+
Description: iotbasic-查询项目空间列表
|
|
4922
|
+
Summary: iotbasic-查询项目空间列表
|
|
4923
|
+
"""
|
|
4924
|
+
runtime = util_models.RuntimeOptions()
|
|
4925
|
+
headers = {}
|
|
4926
|
+
return await self.query_iotbasic_projectspacelist_ex_async(request, headers, runtime)
|
|
4927
|
+
|
|
4928
|
+
def query_iotbasic_projectspacelist_ex(
|
|
4929
|
+
self,
|
|
4930
|
+
request: bot_models.QueryIotbasicProjectspacelistRequest,
|
|
4931
|
+
headers: Dict[str, str],
|
|
4932
|
+
runtime: util_models.RuntimeOptions,
|
|
4933
|
+
) -> bot_models.QueryIotbasicProjectspacelistResponse:
|
|
4934
|
+
"""
|
|
4935
|
+
Description: iotbasic-查询项目空间列表
|
|
4936
|
+
Summary: iotbasic-查询项目空间列表
|
|
4937
|
+
"""
|
|
4938
|
+
UtilClient.validate_model(request)
|
|
4939
|
+
return TeaCore.from_map(
|
|
4940
|
+
bot_models.QueryIotbasicProjectspacelistResponse(),
|
|
4941
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.projectspacelist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4942
|
+
)
|
|
4943
|
+
|
|
4944
|
+
async def query_iotbasic_projectspacelist_ex_async(
|
|
4945
|
+
self,
|
|
4946
|
+
request: bot_models.QueryIotbasicProjectspacelistRequest,
|
|
4947
|
+
headers: Dict[str, str],
|
|
4948
|
+
runtime: util_models.RuntimeOptions,
|
|
4949
|
+
) -> bot_models.QueryIotbasicProjectspacelistResponse:
|
|
4950
|
+
"""
|
|
4951
|
+
Description: iotbasic-查询项目空间列表
|
|
4952
|
+
Summary: iotbasic-查询项目空间列表
|
|
4953
|
+
"""
|
|
4954
|
+
UtilClient.validate_model(request)
|
|
4955
|
+
return TeaCore.from_map(
|
|
4956
|
+
bot_models.QueryIotbasicProjectspacelistResponse(),
|
|
4957
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.projectspacelist.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4958
|
+
)
|
|
4959
|
+
|
|
4960
|
+
def register_iotbasic_customer(
|
|
4961
|
+
self,
|
|
4962
|
+
request: bot_models.RegisterIotbasicCustomerRequest,
|
|
4963
|
+
) -> bot_models.RegisterIotbasicCustomerResponse:
|
|
4964
|
+
"""
|
|
4965
|
+
Description: iotbasic-企业注册
|
|
4966
|
+
Summary: iotbasic-企业注册
|
|
4967
|
+
"""
|
|
4968
|
+
runtime = util_models.RuntimeOptions()
|
|
4969
|
+
headers = {}
|
|
4970
|
+
return self.register_iotbasic_customer_ex(request, headers, runtime)
|
|
4971
|
+
|
|
4972
|
+
async def register_iotbasic_customer_async(
|
|
4973
|
+
self,
|
|
4974
|
+
request: bot_models.RegisterIotbasicCustomerRequest,
|
|
4975
|
+
) -> bot_models.RegisterIotbasicCustomerResponse:
|
|
4976
|
+
"""
|
|
4977
|
+
Description: iotbasic-企业注册
|
|
4978
|
+
Summary: iotbasic-企业注册
|
|
4979
|
+
"""
|
|
4980
|
+
runtime = util_models.RuntimeOptions()
|
|
4981
|
+
headers = {}
|
|
4982
|
+
return await self.register_iotbasic_customer_ex_async(request, headers, runtime)
|
|
4983
|
+
|
|
4984
|
+
def register_iotbasic_customer_ex(
|
|
4985
|
+
self,
|
|
4986
|
+
request: bot_models.RegisterIotbasicCustomerRequest,
|
|
4987
|
+
headers: Dict[str, str],
|
|
4988
|
+
runtime: util_models.RuntimeOptions,
|
|
4989
|
+
) -> bot_models.RegisterIotbasicCustomerResponse:
|
|
4990
|
+
"""
|
|
4991
|
+
Description: iotbasic-企业注册
|
|
4992
|
+
Summary: iotbasic-企业注册
|
|
4993
|
+
"""
|
|
4994
|
+
UtilClient.validate_model(request)
|
|
4995
|
+
return TeaCore.from_map(
|
|
4996
|
+
bot_models.RegisterIotbasicCustomerResponse(),
|
|
4997
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.customer.register', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
4998
|
+
)
|
|
4999
|
+
|
|
5000
|
+
async def register_iotbasic_customer_ex_async(
|
|
5001
|
+
self,
|
|
5002
|
+
request: bot_models.RegisterIotbasicCustomerRequest,
|
|
5003
|
+
headers: Dict[str, str],
|
|
5004
|
+
runtime: util_models.RuntimeOptions,
|
|
5005
|
+
) -> bot_models.RegisterIotbasicCustomerResponse:
|
|
5006
|
+
"""
|
|
5007
|
+
Description: iotbasic-企业注册
|
|
5008
|
+
Summary: iotbasic-企业注册
|
|
5009
|
+
"""
|
|
5010
|
+
UtilClient.validate_model(request)
|
|
5011
|
+
return TeaCore.from_map(
|
|
5012
|
+
bot_models.RegisterIotbasicCustomerResponse(),
|
|
5013
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.customer.register', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5014
|
+
)
|
|
5015
|
+
|
|
5016
|
+
def get_iotbasic_productinfo(
|
|
5017
|
+
self,
|
|
5018
|
+
request: bot_models.GetIotbasicProductinfoRequest,
|
|
5019
|
+
) -> bot_models.GetIotbasicProductinfoResponse:
|
|
5020
|
+
"""
|
|
5021
|
+
Description: iotbasic-产品查询
|
|
5022
|
+
Summary: iotbasic-产品查询
|
|
5023
|
+
"""
|
|
5024
|
+
runtime = util_models.RuntimeOptions()
|
|
5025
|
+
headers = {}
|
|
5026
|
+
return self.get_iotbasic_productinfo_ex(request, headers, runtime)
|
|
5027
|
+
|
|
5028
|
+
async def get_iotbasic_productinfo_async(
|
|
5029
|
+
self,
|
|
5030
|
+
request: bot_models.GetIotbasicProductinfoRequest,
|
|
5031
|
+
) -> bot_models.GetIotbasicProductinfoResponse:
|
|
5032
|
+
"""
|
|
5033
|
+
Description: iotbasic-产品查询
|
|
5034
|
+
Summary: iotbasic-产品查询
|
|
5035
|
+
"""
|
|
5036
|
+
runtime = util_models.RuntimeOptions()
|
|
5037
|
+
headers = {}
|
|
5038
|
+
return await self.get_iotbasic_productinfo_ex_async(request, headers, runtime)
|
|
5039
|
+
|
|
5040
|
+
def get_iotbasic_productinfo_ex(
|
|
5041
|
+
self,
|
|
5042
|
+
request: bot_models.GetIotbasicProductinfoRequest,
|
|
5043
|
+
headers: Dict[str, str],
|
|
5044
|
+
runtime: util_models.RuntimeOptions,
|
|
5045
|
+
) -> bot_models.GetIotbasicProductinfoResponse:
|
|
5046
|
+
"""
|
|
5047
|
+
Description: iotbasic-产品查询
|
|
5048
|
+
Summary: iotbasic-产品查询
|
|
5049
|
+
"""
|
|
5050
|
+
UtilClient.validate_model(request)
|
|
5051
|
+
return TeaCore.from_map(
|
|
5052
|
+
bot_models.GetIotbasicProductinfoResponse(),
|
|
5053
|
+
self.do_request('1.0', 'blockchain.bot.iotbasic.productinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5054
|
+
)
|
|
5055
|
+
|
|
5056
|
+
async def get_iotbasic_productinfo_ex_async(
|
|
5057
|
+
self,
|
|
5058
|
+
request: bot_models.GetIotbasicProductinfoRequest,
|
|
5059
|
+
headers: Dict[str, str],
|
|
5060
|
+
runtime: util_models.RuntimeOptions,
|
|
5061
|
+
) -> bot_models.GetIotbasicProductinfoResponse:
|
|
5062
|
+
"""
|
|
5063
|
+
Description: iotbasic-产品查询
|
|
5064
|
+
Summary: iotbasic-产品查询
|
|
5065
|
+
"""
|
|
5066
|
+
UtilClient.validate_model(request)
|
|
5067
|
+
return TeaCore.from_map(
|
|
5068
|
+
bot_models.GetIotbasicProductinfoResponse(),
|
|
5069
|
+
await self.do_request_async('1.0', 'blockchain.bot.iotbasic.productinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5070
|
+
)
|
|
5071
|
+
|
|
5072
|
+
def add_device_attribute(
|
|
5073
|
+
self,
|
|
5074
|
+
request: bot_models.AddDeviceAttributeRequest,
|
|
5075
|
+
) -> bot_models.AddDeviceAttributeResponse:
|
|
5076
|
+
"""
|
|
5077
|
+
Description: iotbasic-添加设备属性
|
|
5078
|
+
Summary: iotbasic-添加设备属性
|
|
5079
|
+
"""
|
|
5080
|
+
runtime = util_models.RuntimeOptions()
|
|
5081
|
+
headers = {}
|
|
5082
|
+
return self.add_device_attribute_ex(request, headers, runtime)
|
|
5083
|
+
|
|
5084
|
+
async def add_device_attribute_async(
|
|
5085
|
+
self,
|
|
5086
|
+
request: bot_models.AddDeviceAttributeRequest,
|
|
5087
|
+
) -> bot_models.AddDeviceAttributeResponse:
|
|
5088
|
+
"""
|
|
5089
|
+
Description: iotbasic-添加设备属性
|
|
5090
|
+
Summary: iotbasic-添加设备属性
|
|
5091
|
+
"""
|
|
5092
|
+
runtime = util_models.RuntimeOptions()
|
|
5093
|
+
headers = {}
|
|
5094
|
+
return await self.add_device_attribute_ex_async(request, headers, runtime)
|
|
5095
|
+
|
|
5096
|
+
def add_device_attribute_ex(
|
|
5097
|
+
self,
|
|
5098
|
+
request: bot_models.AddDeviceAttributeRequest,
|
|
5099
|
+
headers: Dict[str, str],
|
|
5100
|
+
runtime: util_models.RuntimeOptions,
|
|
5101
|
+
) -> bot_models.AddDeviceAttributeResponse:
|
|
5102
|
+
"""
|
|
5103
|
+
Description: iotbasic-添加设备属性
|
|
5104
|
+
Summary: iotbasic-添加设备属性
|
|
5105
|
+
"""
|
|
5106
|
+
UtilClient.validate_model(request)
|
|
5107
|
+
return TeaCore.from_map(
|
|
5108
|
+
bot_models.AddDeviceAttributeResponse(),
|
|
5109
|
+
self.do_request('1.0', 'blockchain.bot.device.attribute.add', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5110
|
+
)
|
|
5111
|
+
|
|
5112
|
+
async def add_device_attribute_ex_async(
|
|
5113
|
+
self,
|
|
5114
|
+
request: bot_models.AddDeviceAttributeRequest,
|
|
5115
|
+
headers: Dict[str, str],
|
|
5116
|
+
runtime: util_models.RuntimeOptions,
|
|
5117
|
+
) -> bot_models.AddDeviceAttributeResponse:
|
|
5118
|
+
"""
|
|
5119
|
+
Description: iotbasic-添加设备属性
|
|
5120
|
+
Summary: iotbasic-添加设备属性
|
|
5121
|
+
"""
|
|
5122
|
+
UtilClient.validate_model(request)
|
|
5123
|
+
return TeaCore.from_map(
|
|
5124
|
+
bot_models.AddDeviceAttributeResponse(),
|
|
5125
|
+
await self.do_request_async('1.0', 'blockchain.bot.device.attribute.add', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5126
|
+
)
|
|
5127
|
+
|
|
5128
|
+
def exec_device_thingservice(
|
|
5129
|
+
self,
|
|
5130
|
+
request: bot_models.ExecDeviceThingserviceRequest,
|
|
5131
|
+
) -> bot_models.ExecDeviceThingserviceResponse:
|
|
5132
|
+
"""
|
|
5133
|
+
Description: iotbasic-指定设备上调用指定服务
|
|
5134
|
+
Summary: iotbasic-指定设备上调用指定服务
|
|
5135
|
+
"""
|
|
5136
|
+
runtime = util_models.RuntimeOptions()
|
|
5137
|
+
headers = {}
|
|
5138
|
+
return self.exec_device_thingservice_ex(request, headers, runtime)
|
|
5139
|
+
|
|
5140
|
+
async def exec_device_thingservice_async(
|
|
5141
|
+
self,
|
|
5142
|
+
request: bot_models.ExecDeviceThingserviceRequest,
|
|
5143
|
+
) -> bot_models.ExecDeviceThingserviceResponse:
|
|
5144
|
+
"""
|
|
5145
|
+
Description: iotbasic-指定设备上调用指定服务
|
|
5146
|
+
Summary: iotbasic-指定设备上调用指定服务
|
|
5147
|
+
"""
|
|
5148
|
+
runtime = util_models.RuntimeOptions()
|
|
5149
|
+
headers = {}
|
|
5150
|
+
return await self.exec_device_thingservice_ex_async(request, headers, runtime)
|
|
5151
|
+
|
|
5152
|
+
def exec_device_thingservice_ex(
|
|
5153
|
+
self,
|
|
5154
|
+
request: bot_models.ExecDeviceThingserviceRequest,
|
|
5155
|
+
headers: Dict[str, str],
|
|
5156
|
+
runtime: util_models.RuntimeOptions,
|
|
5157
|
+
) -> bot_models.ExecDeviceThingserviceResponse:
|
|
5158
|
+
"""
|
|
5159
|
+
Description: iotbasic-指定设备上调用指定服务
|
|
5160
|
+
Summary: iotbasic-指定设备上调用指定服务
|
|
5161
|
+
"""
|
|
5162
|
+
UtilClient.validate_model(request)
|
|
5163
|
+
return TeaCore.from_map(
|
|
5164
|
+
bot_models.ExecDeviceThingserviceResponse(),
|
|
5165
|
+
self.do_request('1.0', 'blockchain.bot.device.thingservice.exec', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5166
|
+
)
|
|
5167
|
+
|
|
5168
|
+
async def exec_device_thingservice_ex_async(
|
|
5169
|
+
self,
|
|
5170
|
+
request: bot_models.ExecDeviceThingserviceRequest,
|
|
5171
|
+
headers: Dict[str, str],
|
|
5172
|
+
runtime: util_models.RuntimeOptions,
|
|
5173
|
+
) -> bot_models.ExecDeviceThingserviceResponse:
|
|
5174
|
+
"""
|
|
5175
|
+
Description: iotbasic-指定设备上调用指定服务
|
|
5176
|
+
Summary: iotbasic-指定设备上调用指定服务
|
|
5177
|
+
"""
|
|
5178
|
+
UtilClient.validate_model(request)
|
|
5179
|
+
return TeaCore.from_map(
|
|
5180
|
+
bot_models.ExecDeviceThingserviceResponse(),
|
|
5181
|
+
await self.do_request_async('1.0', 'blockchain.bot.device.thingservice.exec', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5182
|
+
)
|
|
5183
|
+
|
|
5184
|
+
def query_device_thingmodel(
|
|
5185
|
+
self,
|
|
5186
|
+
request: bot_models.QueryDeviceThingmodelRequest,
|
|
5187
|
+
) -> bot_models.QueryDeviceThingmodelResponse:
|
|
5188
|
+
"""
|
|
5189
|
+
Description: iotbasic-查看产品物模型功能定义
|
|
5190
|
+
Summary: iotbasic-查看产品物模型功能定义
|
|
5191
|
+
"""
|
|
5192
|
+
runtime = util_models.RuntimeOptions()
|
|
5193
|
+
headers = {}
|
|
5194
|
+
return self.query_device_thingmodel_ex(request, headers, runtime)
|
|
5195
|
+
|
|
5196
|
+
async def query_device_thingmodel_async(
|
|
5197
|
+
self,
|
|
5198
|
+
request: bot_models.QueryDeviceThingmodelRequest,
|
|
5199
|
+
) -> bot_models.QueryDeviceThingmodelResponse:
|
|
5200
|
+
"""
|
|
5201
|
+
Description: iotbasic-查看产品物模型功能定义
|
|
5202
|
+
Summary: iotbasic-查看产品物模型功能定义
|
|
5203
|
+
"""
|
|
5204
|
+
runtime = util_models.RuntimeOptions()
|
|
5205
|
+
headers = {}
|
|
5206
|
+
return await self.query_device_thingmodel_ex_async(request, headers, runtime)
|
|
5207
|
+
|
|
5208
|
+
def query_device_thingmodel_ex(
|
|
5209
|
+
self,
|
|
5210
|
+
request: bot_models.QueryDeviceThingmodelRequest,
|
|
5211
|
+
headers: Dict[str, str],
|
|
5212
|
+
runtime: util_models.RuntimeOptions,
|
|
5213
|
+
) -> bot_models.QueryDeviceThingmodelResponse:
|
|
5214
|
+
"""
|
|
5215
|
+
Description: iotbasic-查看产品物模型功能定义
|
|
5216
|
+
Summary: iotbasic-查看产品物模型功能定义
|
|
5217
|
+
"""
|
|
5218
|
+
UtilClient.validate_model(request)
|
|
5219
|
+
return TeaCore.from_map(
|
|
5220
|
+
bot_models.QueryDeviceThingmodelResponse(),
|
|
5221
|
+
self.do_request('1.0', 'blockchain.bot.device.thingmodel.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5222
|
+
)
|
|
5223
|
+
|
|
5224
|
+
async def query_device_thingmodel_ex_async(
|
|
5225
|
+
self,
|
|
5226
|
+
request: bot_models.QueryDeviceThingmodelRequest,
|
|
5227
|
+
headers: Dict[str, str],
|
|
5228
|
+
runtime: util_models.RuntimeOptions,
|
|
5229
|
+
) -> bot_models.QueryDeviceThingmodelResponse:
|
|
5230
|
+
"""
|
|
5231
|
+
Description: iotbasic-查看产品物模型功能定义
|
|
5232
|
+
Summary: iotbasic-查看产品物模型功能定义
|
|
5233
|
+
"""
|
|
5234
|
+
UtilClient.validate_model(request)
|
|
5235
|
+
return TeaCore.from_map(
|
|
5236
|
+
bot_models.QueryDeviceThingmodelResponse(),
|
|
5237
|
+
await self.do_request_async('1.0', 'blockchain.bot.device.thingmodel.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5238
|
+
)
|
|
5239
|
+
|
|
5240
|
+
def query_device_modeldata(
|
|
5241
|
+
self,
|
|
5242
|
+
request: bot_models.QueryDeviceModeldataRequest,
|
|
5243
|
+
) -> bot_models.QueryDeviceModeldataResponse:
|
|
5244
|
+
"""
|
|
5245
|
+
Description: iotbasic-查询设备物模型数据
|
|
5246
|
+
Summary: iotbasic-查询设备物模型数据
|
|
5247
|
+
"""
|
|
5248
|
+
runtime = util_models.RuntimeOptions()
|
|
5249
|
+
headers = {}
|
|
5250
|
+
return self.query_device_modeldata_ex(request, headers, runtime)
|
|
5251
|
+
|
|
5252
|
+
async def query_device_modeldata_async(
|
|
5253
|
+
self,
|
|
5254
|
+
request: bot_models.QueryDeviceModeldataRequest,
|
|
5255
|
+
) -> bot_models.QueryDeviceModeldataResponse:
|
|
5256
|
+
"""
|
|
5257
|
+
Description: iotbasic-查询设备物模型数据
|
|
5258
|
+
Summary: iotbasic-查询设备物模型数据
|
|
5259
|
+
"""
|
|
5260
|
+
runtime = util_models.RuntimeOptions()
|
|
5261
|
+
headers = {}
|
|
5262
|
+
return await self.query_device_modeldata_ex_async(request, headers, runtime)
|
|
5263
|
+
|
|
5264
|
+
def query_device_modeldata_ex(
|
|
5265
|
+
self,
|
|
5266
|
+
request: bot_models.QueryDeviceModeldataRequest,
|
|
5267
|
+
headers: Dict[str, str],
|
|
5268
|
+
runtime: util_models.RuntimeOptions,
|
|
5269
|
+
) -> bot_models.QueryDeviceModeldataResponse:
|
|
5270
|
+
"""
|
|
5271
|
+
Description: iotbasic-查询设备物模型数据
|
|
5272
|
+
Summary: iotbasic-查询设备物模型数据
|
|
5273
|
+
"""
|
|
5274
|
+
UtilClient.validate_model(request)
|
|
5275
|
+
return TeaCore.from_map(
|
|
5276
|
+
bot_models.QueryDeviceModeldataResponse(),
|
|
5277
|
+
self.do_request('1.0', 'blockchain.bot.device.modeldata.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5278
|
+
)
|
|
5279
|
+
|
|
5280
|
+
async def query_device_modeldata_ex_async(
|
|
5281
|
+
self,
|
|
5282
|
+
request: bot_models.QueryDeviceModeldataRequest,
|
|
5283
|
+
headers: Dict[str, str],
|
|
5284
|
+
runtime: util_models.RuntimeOptions,
|
|
5285
|
+
) -> bot_models.QueryDeviceModeldataResponse:
|
|
5286
|
+
"""
|
|
5287
|
+
Description: iotbasic-查询设备物模型数据
|
|
5288
|
+
Summary: iotbasic-查询设备物模型数据
|
|
5289
|
+
"""
|
|
5290
|
+
UtilClient.validate_model(request)
|
|
5291
|
+
return TeaCore.from_map(
|
|
5292
|
+
bot_models.QueryDeviceModeldataResponse(),
|
|
5293
|
+
await self.do_request_async('1.0', 'blockchain.bot.device.modeldata.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5294
|
+
)
|
|
5295
|
+
|
|
4848
5296
|
def query_iotplatform_purchaseorder(
|
|
4849
5297
|
self,
|
|
4850
5298
|
request: bot_models.QueryIotplatformPurchaseorderRequest,
|
|
@@ -11005,6 +11453,62 @@ class Client:
|
|
|
11005
11453
|
await self.do_request_async('1.0', 'blockchain.bot.techintegration.skushipbyuid.apply', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
11006
11454
|
)
|
|
11007
11455
|
|
|
11456
|
+
def query_onlinepressuretest_data(
|
|
11457
|
+
self,
|
|
11458
|
+
request: bot_models.QueryOnlinepressuretestDataRequest,
|
|
11459
|
+
) -> bot_models.QueryOnlinepressuretestDataResponse:
|
|
11460
|
+
"""
|
|
11461
|
+
Description: 查询压测任务所关联的实体的最新上链数据列表
|
|
11462
|
+
Summary: 查询压测任务的上链数据列表
|
|
11463
|
+
"""
|
|
11464
|
+
runtime = util_models.RuntimeOptions()
|
|
11465
|
+
headers = {}
|
|
11466
|
+
return self.query_onlinepressuretest_data_ex(request, headers, runtime)
|
|
11467
|
+
|
|
11468
|
+
async def query_onlinepressuretest_data_async(
|
|
11469
|
+
self,
|
|
11470
|
+
request: bot_models.QueryOnlinepressuretestDataRequest,
|
|
11471
|
+
) -> bot_models.QueryOnlinepressuretestDataResponse:
|
|
11472
|
+
"""
|
|
11473
|
+
Description: 查询压测任务所关联的实体的最新上链数据列表
|
|
11474
|
+
Summary: 查询压测任务的上链数据列表
|
|
11475
|
+
"""
|
|
11476
|
+
runtime = util_models.RuntimeOptions()
|
|
11477
|
+
headers = {}
|
|
11478
|
+
return await self.query_onlinepressuretest_data_ex_async(request, headers, runtime)
|
|
11479
|
+
|
|
11480
|
+
def query_onlinepressuretest_data_ex(
|
|
11481
|
+
self,
|
|
11482
|
+
request: bot_models.QueryOnlinepressuretestDataRequest,
|
|
11483
|
+
headers: Dict[str, str],
|
|
11484
|
+
runtime: util_models.RuntimeOptions,
|
|
11485
|
+
) -> bot_models.QueryOnlinepressuretestDataResponse:
|
|
11486
|
+
"""
|
|
11487
|
+
Description: 查询压测任务所关联的实体的最新上链数据列表
|
|
11488
|
+
Summary: 查询压测任务的上链数据列表
|
|
11489
|
+
"""
|
|
11490
|
+
UtilClient.validate_model(request)
|
|
11491
|
+
return TeaCore.from_map(
|
|
11492
|
+
bot_models.QueryOnlinepressuretestDataResponse(),
|
|
11493
|
+
self.do_request('1.0', 'blockchain.bot.onlinepressuretest.data.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
11494
|
+
)
|
|
11495
|
+
|
|
11496
|
+
async def query_onlinepressuretest_data_ex_async(
|
|
11497
|
+
self,
|
|
11498
|
+
request: bot_models.QueryOnlinepressuretestDataRequest,
|
|
11499
|
+
headers: Dict[str, str],
|
|
11500
|
+
runtime: util_models.RuntimeOptions,
|
|
11501
|
+
) -> bot_models.QueryOnlinepressuretestDataResponse:
|
|
11502
|
+
"""
|
|
11503
|
+
Description: 查询压测任务所关联的实体的最新上链数据列表
|
|
11504
|
+
Summary: 查询压测任务的上链数据列表
|
|
11505
|
+
"""
|
|
11506
|
+
UtilClient.validate_model(request)
|
|
11507
|
+
return TeaCore.from_map(
|
|
11508
|
+
bot_models.QueryOnlinepressuretestDataResponse(),
|
|
11509
|
+
await self.do_request_async('1.0', 'blockchain.bot.onlinepressuretest.data.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
11510
|
+
)
|
|
11511
|
+
|
|
11008
11512
|
def exec_thingsdid_oneapi(
|
|
11009
11513
|
self,
|
|
11010
11514
|
request: bot_models.ExecThingsdidOneapiRequest,
|