antchain-bot 1.10.31__tar.gz → 1.10.35__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain_bot
3
- Version: 1.10.31
3
+ Version: 1.10.35
4
4
  Summary: Ant Chain BOT SDK Library for Python
5
5
  Home-page: https://github.com/alipay/antchain-openapi-prod-sdk
6
6
  Author: Ant Chain SDK
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain-bot
3
- Version: 1.10.31
3
+ Version: 1.10.35
4
4
  Summary: Ant Chain BOT SDK Library for Python
5
5
  Home-page: https://github.com/alipay/antchain-openapi-prod-sdk
6
6
  Author: Ant Chain SDK
@@ -1,3 +1,3 @@
1
1
  antchain_alipay_util<2.0.0,>=1.0.1
2
- alibabacloud_tea_util<1.0.0,>=0.3.11
2
+ alibabacloud_tea_util<1.0.0,>=0.3.12
3
3
  alibabacloud_rpc_util<1.0.0,>=0.0.4
@@ -0,0 +1 @@
1
+ __version__ = '1.10.35'
@@ -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.31',
138
+ 'sdk_version': '1.10.35',
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.31',
242
+ 'sdk_version': '1.10.35',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -5685,6 +5685,62 @@ class Client:
5685
5685
  await self.do_request_async('1.0', 'blockchain.bot.devicecorp.thingmodel.delete', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5686
5686
  )
5687
5687
 
5688
+ def publish_devicecorp_thingmodel(
5689
+ self,
5690
+ request: bot_models.PublishDevicecorpThingmodelRequest,
5691
+ ) -> bot_models.PublishDevicecorpThingmodelResponse:
5692
+ """
5693
+ Description: iotbasic-设备厂商发布物模型
5694
+ Summary: iotbasic-设备厂商发布物模型
5695
+ """
5696
+ runtime = util_models.RuntimeOptions()
5697
+ headers = {}
5698
+ return self.publish_devicecorp_thingmodel_ex(request, headers, runtime)
5699
+
5700
+ async def publish_devicecorp_thingmodel_async(
5701
+ self,
5702
+ request: bot_models.PublishDevicecorpThingmodelRequest,
5703
+ ) -> bot_models.PublishDevicecorpThingmodelResponse:
5704
+ """
5705
+ Description: iotbasic-设备厂商发布物模型
5706
+ Summary: iotbasic-设备厂商发布物模型
5707
+ """
5708
+ runtime = util_models.RuntimeOptions()
5709
+ headers = {}
5710
+ return await self.publish_devicecorp_thingmodel_ex_async(request, headers, runtime)
5711
+
5712
+ def publish_devicecorp_thingmodel_ex(
5713
+ self,
5714
+ request: bot_models.PublishDevicecorpThingmodelRequest,
5715
+ headers: Dict[str, str],
5716
+ runtime: util_models.RuntimeOptions,
5717
+ ) -> bot_models.PublishDevicecorpThingmodelResponse:
5718
+ """
5719
+ Description: iotbasic-设备厂商发布物模型
5720
+ Summary: iotbasic-设备厂商发布物模型
5721
+ """
5722
+ UtilClient.validate_model(request)
5723
+ return TeaCore.from_map(
5724
+ bot_models.PublishDevicecorpThingmodelResponse(),
5725
+ self.do_request('1.0', 'blockchain.bot.devicecorp.thingmodel.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5726
+ )
5727
+
5728
+ async def publish_devicecorp_thingmodel_ex_async(
5729
+ self,
5730
+ request: bot_models.PublishDevicecorpThingmodelRequest,
5731
+ headers: Dict[str, str],
5732
+ runtime: util_models.RuntimeOptions,
5733
+ ) -> bot_models.PublishDevicecorpThingmodelResponse:
5734
+ """
5735
+ Description: iotbasic-设备厂商发布物模型
5736
+ Summary: iotbasic-设备厂商发布物模型
5737
+ """
5738
+ UtilClient.validate_model(request)
5739
+ return TeaCore.from_map(
5740
+ bot_models.PublishDevicecorpThingmodelResponse(),
5741
+ await self.do_request_async('1.0', 'blockchain.bot.devicecorp.thingmodel.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5742
+ )
5743
+
5688
5744
  def query_iotplatform_purchaseorder(
5689
5745
  self,
5690
5746
  request: bot_models.QueryIotplatformPurchaseorderRequest,
@@ -11957,6 +12013,62 @@ class Client:
11957
12013
  await self.do_request_async('1.0', 'blockchain.bot.thing.service.exec', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
11958
12014
  )
11959
12015
 
12016
+ def callback_thing_servicebyevent(
12017
+ self,
12018
+ request: bot_models.CallbackThingServicebyeventRequest,
12019
+ ) -> bot_models.CallbackThingServicebyeventResponse:
12020
+ """
12021
+ Description: 物模型服务回复接口,通过场景码、数据模型ID等作为回复标识
12022
+ Summary: 物模型服务回复接口
12023
+ """
12024
+ runtime = util_models.RuntimeOptions()
12025
+ headers = {}
12026
+ return self.callback_thing_servicebyevent_ex(request, headers, runtime)
12027
+
12028
+ async def callback_thing_servicebyevent_async(
12029
+ self,
12030
+ request: bot_models.CallbackThingServicebyeventRequest,
12031
+ ) -> bot_models.CallbackThingServicebyeventResponse:
12032
+ """
12033
+ Description: 物模型服务回复接口,通过场景码、数据模型ID等作为回复标识
12034
+ Summary: 物模型服务回复接口
12035
+ """
12036
+ runtime = util_models.RuntimeOptions()
12037
+ headers = {}
12038
+ return await self.callback_thing_servicebyevent_ex_async(request, headers, runtime)
12039
+
12040
+ def callback_thing_servicebyevent_ex(
12041
+ self,
12042
+ request: bot_models.CallbackThingServicebyeventRequest,
12043
+ headers: Dict[str, str],
12044
+ runtime: util_models.RuntimeOptions,
12045
+ ) -> bot_models.CallbackThingServicebyeventResponse:
12046
+ """
12047
+ Description: 物模型服务回复接口,通过场景码、数据模型ID等作为回复标识
12048
+ Summary: 物模型服务回复接口
12049
+ """
12050
+ UtilClient.validate_model(request)
12051
+ return TeaCore.from_map(
12052
+ bot_models.CallbackThingServicebyeventResponse(),
12053
+ self.do_request('1.0', 'blockchain.bot.thing.servicebyevent.callback', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
12054
+ )
12055
+
12056
+ async def callback_thing_servicebyevent_ex_async(
12057
+ self,
12058
+ request: bot_models.CallbackThingServicebyeventRequest,
12059
+ headers: Dict[str, str],
12060
+ runtime: util_models.RuntimeOptions,
12061
+ ) -> bot_models.CallbackThingServicebyeventResponse:
12062
+ """
12063
+ Description: 物模型服务回复接口,通过场景码、数据模型ID等作为回复标识
12064
+ Summary: 物模型服务回复接口
12065
+ """
12066
+ UtilClient.validate_model(request)
12067
+ return TeaCore.from_map(
12068
+ bot_models.CallbackThingServicebyeventResponse(),
12069
+ await self.do_request_async('1.0', 'blockchain.bot.thing.servicebyevent.callback', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
12070
+ )
12071
+
11960
12072
  def exec_thingsdid_oneapi(
11961
12073
  self,
11962
12074
  request: bot_models.ExecThingsdidOneapiRequest,
@@ -6859,6 +6859,7 @@ class ChainModelResult(TeaModel):
6859
6859
  tenant_id: str = None,
6860
6860
  tx_time: str = None,
6861
6861
  business_id: str = None,
6862
+ antchain_id: str = None,
6862
6863
  ):
6863
6864
  # 所属业务
6864
6865
  self.biz_scene = biz_scene
@@ -6874,6 +6875,8 @@ class ChainModelResult(TeaModel):
6874
6875
  self.tx_time = tx_time
6875
6876
  # 业务ID
6876
6877
  self.business_id = business_id
6878
+ # 上链id
6879
+ self.antchain_id = antchain_id
6877
6880
 
6878
6881
  def validate(self):
6879
6882
  self.validate_required(self.biz_scene, 'biz_scene')
@@ -6883,6 +6886,7 @@ class ChainModelResult(TeaModel):
6883
6886
  self.validate_required(self.tenant_id, 'tenant_id')
6884
6887
  self.validate_required(self.tx_time, 'tx_time')
6885
6888
  self.validate_required(self.business_id, 'business_id')
6889
+ self.validate_required(self.antchain_id, 'antchain_id')
6886
6890
 
6887
6891
  def to_map(self):
6888
6892
  _map = super().to_map()
@@ -6904,6 +6908,8 @@ class ChainModelResult(TeaModel):
6904
6908
  result['tx_time'] = self.tx_time
6905
6909
  if self.business_id is not None:
6906
6910
  result['business_id'] = self.business_id
6911
+ if self.antchain_id is not None:
6912
+ result['antchain_id'] = self.antchain_id
6907
6913
  return result
6908
6914
 
6909
6915
  def from_map(self, m: dict = None):
@@ -6922,6 +6928,8 @@ class ChainModelResult(TeaModel):
6922
6928
  self.tx_time = m.get('tx_time')
6923
6929
  if m.get('business_id') is not None:
6924
6930
  self.business_id = m.get('business_id')
6931
+ if m.get('antchain_id') is not None:
6932
+ self.antchain_id = m.get('antchain_id')
6925
6933
  return self
6926
6934
 
6927
6935
 
@@ -16439,7 +16447,6 @@ class OperateIotbasicDevicecollectRequest(TeaModel):
16439
16447
  self.asset_data = asset_data
16440
16448
 
16441
16449
  def validate(self):
16442
- self.validate_required(self.tenant_id, 'tenant_id')
16443
16450
  self.validate_required(self.data_scene, 'data_scene')
16444
16451
  self.validate_required(self.biz_scene, 'biz_scene')
16445
16452
  self.validate_required(self.asset_data, 'asset_data')
@@ -17512,7 +17519,6 @@ class OperateIotbasicBatchcollectRequest(TeaModel):
17512
17519
 
17513
17520
  def validate(self):
17514
17521
  self.validate_required(self.biz_scene, 'biz_scene')
17515
- self.validate_required(self.tenant_id, 'tenant_id')
17516
17522
  self.validate_required(self.collect_info_list, 'collect_info_list')
17517
17523
  if self.collect_info_list:
17518
17524
  for k in self.collect_info_list:
@@ -18612,8 +18618,8 @@ class QueryIotbasicDevicecollectRequest(TeaModel):
18612
18618
  self.start_time = start_time
18613
18619
 
18614
18620
  def validate(self):
18621
+ self.validate_required(self.data_scene, 'data_scene')
18615
18622
  self.validate_required(self.biz_scene, 'biz_scene')
18616
- self.validate_required(self.tenant_id, 'tenant_id')
18617
18623
  self.validate_required(self.page_size, 'page_size')
18618
18624
  if self.page_size is not None:
18619
18625
  self.validate_maximum(self.page_size, 'page_size', 100)
@@ -21501,15 +21507,19 @@ class CreateDevicecorpThingmodelRequest(TeaModel):
21501
21507
  auth_token: str = None,
21502
21508
  product_instance_id: str = None,
21503
21509
  thing_model_json: str = None,
21510
+ category_code: str = None,
21504
21511
  ):
21505
21512
  # OAuth模式下的授权token
21506
21513
  self.auth_token = auth_token
21507
21514
  self.product_instance_id = product_instance_id
21508
21515
  # 新增的功能定义详情
21509
21516
  self.thing_model_json = thing_model_json
21517
+ # 品类code
21518
+ self.category_code = category_code
21510
21519
 
21511
21520
  def validate(self):
21512
21521
  self.validate_required(self.thing_model_json, 'thing_model_json')
21522
+ self.validate_required(self.category_code, 'category_code')
21513
21523
 
21514
21524
  def to_map(self):
21515
21525
  _map = super().to_map()
@@ -21523,6 +21533,8 @@ class CreateDevicecorpThingmodelRequest(TeaModel):
21523
21533
  result['product_instance_id'] = self.product_instance_id
21524
21534
  if self.thing_model_json is not None:
21525
21535
  result['thing_model_json'] = self.thing_model_json
21536
+ if self.category_code is not None:
21537
+ result['category_code'] = self.category_code
21526
21538
  return result
21527
21539
 
21528
21540
  def from_map(self, m: dict = None):
@@ -21533,6 +21545,8 @@ class CreateDevicecorpThingmodelRequest(TeaModel):
21533
21545
  self.product_instance_id = m.get('product_instance_id')
21534
21546
  if m.get('thing_model_json') is not None:
21535
21547
  self.thing_model_json = m.get('thing_model_json')
21548
+ if m.get('category_code') is not None:
21549
+ self.category_code = m.get('category_code')
21536
21550
  return self
21537
21551
 
21538
21552
 
@@ -21592,6 +21606,7 @@ class UpdateDevicecorpThingmodelRequest(TeaModel):
21592
21606
  product_instance_id: str = None,
21593
21607
  identifier: str = None,
21594
21608
  thing_model_json: str = None,
21609
+ category_code: str = None,
21595
21610
  ):
21596
21611
  # OAuth模式下的授权token
21597
21612
  self.auth_token = auth_token
@@ -21600,9 +21615,11 @@ class UpdateDevicecorpThingmodelRequest(TeaModel):
21600
21615
  self.identifier = identifier
21601
21616
  # 新的功能定义详情
21602
21617
  self.thing_model_json = thing_model_json
21618
+ # 品类code
21619
+ self.category_code = category_code
21603
21620
 
21604
21621
  def validate(self):
21605
- pass
21622
+ self.validate_required(self.category_code, 'category_code')
21606
21623
 
21607
21624
  def to_map(self):
21608
21625
  _map = super().to_map()
@@ -21618,6 +21635,8 @@ class UpdateDevicecorpThingmodelRequest(TeaModel):
21618
21635
  result['identifier'] = self.identifier
21619
21636
  if self.thing_model_json is not None:
21620
21637
  result['thing_model_json'] = self.thing_model_json
21638
+ if self.category_code is not None:
21639
+ result['category_code'] = self.category_code
21621
21640
  return result
21622
21641
 
21623
21642
  def from_map(self, m: dict = None):
@@ -21630,6 +21649,8 @@ class UpdateDevicecorpThingmodelRequest(TeaModel):
21630
21649
  self.identifier = m.get('identifier')
21631
21650
  if m.get('thing_model_json') is not None:
21632
21651
  self.thing_model_json = m.get('thing_model_json')
21652
+ if m.get('category_code') is not None:
21653
+ self.category_code = m.get('category_code')
21633
21654
  return self
21634
21655
 
21635
21656
 
@@ -21690,6 +21711,7 @@ class DeleteDevicecorpThingmodelRequest(TeaModel):
21690
21711
  property_identifier: List[str] = None,
21691
21712
  service_identifier: List[str] = None,
21692
21713
  event_identifier: List[str] = None,
21714
+ category_code: str = None,
21693
21715
  ):
21694
21716
  # OAuth模式下的授权token
21695
21717
  self.auth_token = auth_token
@@ -21700,9 +21722,11 @@ class DeleteDevicecorpThingmodelRequest(TeaModel):
21700
21722
  self.service_identifier = service_identifier
21701
21723
  # 需要删除的事件标识符列表
21702
21724
  self.event_identifier = event_identifier
21725
+ # 品类code
21726
+ self.category_code = category_code
21703
21727
 
21704
21728
  def validate(self):
21705
- pass
21729
+ self.validate_required(self.category_code, 'category_code')
21706
21730
 
21707
21731
  def to_map(self):
21708
21732
  _map = super().to_map()
@@ -21720,6 +21744,8 @@ class DeleteDevicecorpThingmodelRequest(TeaModel):
21720
21744
  result['service_identifier'] = self.service_identifier
21721
21745
  if self.event_identifier is not None:
21722
21746
  result['event_identifier'] = self.event_identifier
21747
+ if self.category_code is not None:
21748
+ result['category_code'] = self.category_code
21723
21749
  return result
21724
21750
 
21725
21751
  def from_map(self, m: dict = None):
@@ -21734,6 +21760,8 @@ class DeleteDevicecorpThingmodelRequest(TeaModel):
21734
21760
  self.service_identifier = m.get('service_identifier')
21735
21761
  if m.get('event_identifier') is not None:
21736
21762
  self.event_identifier = m.get('event_identifier')
21763
+ if m.get('category_code') is not None:
21764
+ self.category_code = m.get('category_code')
21737
21765
  return self
21738
21766
 
21739
21767
 
@@ -21786,6 +21814,96 @@ class DeleteDevicecorpThingmodelResponse(TeaModel):
21786
21814
  return self
21787
21815
 
21788
21816
 
21817
+ class PublishDevicecorpThingmodelRequest(TeaModel):
21818
+ def __init__(
21819
+ self,
21820
+ auth_token: str = None,
21821
+ product_instance_id: str = None,
21822
+ category_code: str = None,
21823
+ ):
21824
+ # OAuth模式下的授权token
21825
+ self.auth_token = auth_token
21826
+ self.product_instance_id = product_instance_id
21827
+ # 品类code
21828
+ self.category_code = category_code
21829
+
21830
+ def validate(self):
21831
+ self.validate_required(self.category_code, 'category_code')
21832
+
21833
+ def to_map(self):
21834
+ _map = super().to_map()
21835
+ if _map is not None:
21836
+ return _map
21837
+
21838
+ result = dict()
21839
+ if self.auth_token is not None:
21840
+ result['auth_token'] = self.auth_token
21841
+ if self.product_instance_id is not None:
21842
+ result['product_instance_id'] = self.product_instance_id
21843
+ if self.category_code is not None:
21844
+ result['category_code'] = self.category_code
21845
+ return result
21846
+
21847
+ def from_map(self, m: dict = None):
21848
+ m = m or dict()
21849
+ if m.get('auth_token') is not None:
21850
+ self.auth_token = m.get('auth_token')
21851
+ if m.get('product_instance_id') is not None:
21852
+ self.product_instance_id = m.get('product_instance_id')
21853
+ if m.get('category_code') is not None:
21854
+ self.category_code = m.get('category_code')
21855
+ return self
21856
+
21857
+
21858
+ class PublishDevicecorpThingmodelResponse(TeaModel):
21859
+ def __init__(
21860
+ self,
21861
+ req_msg_id: str = None,
21862
+ result_code: str = None,
21863
+ result_msg: str = None,
21864
+ success: bool = None,
21865
+ ):
21866
+ # 请求唯一ID,用于链路跟踪和问题排查
21867
+ self.req_msg_id = req_msg_id
21868
+ # 结果码,一般OK表示调用成功
21869
+ self.result_code = result_code
21870
+ # 异常信息的文本描述
21871
+ self.result_msg = result_msg
21872
+ # 操作结果
21873
+ self.success = success
21874
+
21875
+ def validate(self):
21876
+ pass
21877
+
21878
+ def to_map(self):
21879
+ _map = super().to_map()
21880
+ if _map is not None:
21881
+ return _map
21882
+
21883
+ result = dict()
21884
+ if self.req_msg_id is not None:
21885
+ result['req_msg_id'] = self.req_msg_id
21886
+ if self.result_code is not None:
21887
+ result['result_code'] = self.result_code
21888
+ if self.result_msg is not None:
21889
+ result['result_msg'] = self.result_msg
21890
+ if self.success is not None:
21891
+ result['success'] = self.success
21892
+ return result
21893
+
21894
+ def from_map(self, m: dict = None):
21895
+ m = m or dict()
21896
+ if m.get('req_msg_id') is not None:
21897
+ self.req_msg_id = m.get('req_msg_id')
21898
+ if m.get('result_code') is not None:
21899
+ self.result_code = m.get('result_code')
21900
+ if m.get('result_msg') is not None:
21901
+ self.result_msg = m.get('result_msg')
21902
+ if m.get('success') is not None:
21903
+ self.success = m.get('success')
21904
+ return self
21905
+
21906
+
21789
21907
  class QueryIotplatformPurchaseorderRequest(TeaModel):
21790
21908
  def __init__(
21791
21909
  self,
@@ -35519,6 +35637,119 @@ class ExecThingServiceResponse(TeaModel):
35519
35637
  return self
35520
35638
 
35521
35639
 
35640
+ class CallbackThingServicebyeventRequest(TeaModel):
35641
+ def __init__(
35642
+ self,
35643
+ auth_token: str = None,
35644
+ product_instance_id: str = None,
35645
+ scene: str = None,
35646
+ biz_type: str = None,
35647
+ submit_date: str = None,
35648
+ data_model_id: str = None,
35649
+ content: str = None,
35650
+ ):
35651
+ # OAuth模式下的授权token
35652
+ self.auth_token = auth_token
35653
+ self.product_instance_id = product_instance_id
35654
+ # 场景码
35655
+ self.scene = scene
35656
+ # 业务类型,同一个scene下可以有不同的业务类型,此字段用于区分业务类型
35657
+ self.biz_type = biz_type
35658
+ # 回复日期
35659
+ self.submit_date = submit_date
35660
+ # 物模型服务回复数据的模型ID
35661
+ self.data_model_id = data_model_id
35662
+ # 物模型服务回复数据的内容,格式遵循dataModelId约定的格式
35663
+ self.content = content
35664
+
35665
+ def validate(self):
35666
+ self.validate_required(self.scene, 'scene')
35667
+ self.validate_required(self.data_model_id, 'data_model_id')
35668
+ self.validate_required(self.content, 'content')
35669
+
35670
+ def to_map(self):
35671
+ _map = super().to_map()
35672
+ if _map is not None:
35673
+ return _map
35674
+
35675
+ result = dict()
35676
+ if self.auth_token is not None:
35677
+ result['auth_token'] = self.auth_token
35678
+ if self.product_instance_id is not None:
35679
+ result['product_instance_id'] = self.product_instance_id
35680
+ if self.scene is not None:
35681
+ result['scene'] = self.scene
35682
+ if self.biz_type is not None:
35683
+ result['biz_type'] = self.biz_type
35684
+ if self.submit_date is not None:
35685
+ result['submit_date'] = self.submit_date
35686
+ if self.data_model_id is not None:
35687
+ result['data_model_id'] = self.data_model_id
35688
+ if self.content is not None:
35689
+ result['content'] = self.content
35690
+ return result
35691
+
35692
+ def from_map(self, m: dict = None):
35693
+ m = m or dict()
35694
+ if m.get('auth_token') is not None:
35695
+ self.auth_token = m.get('auth_token')
35696
+ if m.get('product_instance_id') is not None:
35697
+ self.product_instance_id = m.get('product_instance_id')
35698
+ if m.get('scene') is not None:
35699
+ self.scene = m.get('scene')
35700
+ if m.get('biz_type') is not None:
35701
+ self.biz_type = m.get('biz_type')
35702
+ if m.get('submit_date') is not None:
35703
+ self.submit_date = m.get('submit_date')
35704
+ if m.get('data_model_id') is not None:
35705
+ self.data_model_id = m.get('data_model_id')
35706
+ if m.get('content') is not None:
35707
+ self.content = m.get('content')
35708
+ return self
35709
+
35710
+
35711
+ class CallbackThingServicebyeventResponse(TeaModel):
35712
+ def __init__(
35713
+ self,
35714
+ req_msg_id: str = None,
35715
+ result_code: str = None,
35716
+ result_msg: str = None,
35717
+ ):
35718
+ # 请求唯一ID,用于链路跟踪和问题排查
35719
+ self.req_msg_id = req_msg_id
35720
+ # 结果码,一般OK表示调用成功
35721
+ self.result_code = result_code
35722
+ # 异常信息的文本描述
35723
+ self.result_msg = result_msg
35724
+
35725
+ def validate(self):
35726
+ pass
35727
+
35728
+ def to_map(self):
35729
+ _map = super().to_map()
35730
+ if _map is not None:
35731
+ return _map
35732
+
35733
+ result = dict()
35734
+ if self.req_msg_id is not None:
35735
+ result['req_msg_id'] = self.req_msg_id
35736
+ if self.result_code is not None:
35737
+ result['result_code'] = self.result_code
35738
+ if self.result_msg is not None:
35739
+ result['result_msg'] = self.result_msg
35740
+ return result
35741
+
35742
+ def from_map(self, m: dict = None):
35743
+ m = m or dict()
35744
+ if m.get('req_msg_id') is not None:
35745
+ self.req_msg_id = m.get('req_msg_id')
35746
+ if m.get('result_code') is not None:
35747
+ self.result_code = m.get('result_code')
35748
+ if m.get('result_msg') is not None:
35749
+ self.result_msg = m.get('result_msg')
35750
+ return self
35751
+
35752
+
35522
35753
  class ExecThingsdidOneapiRequest(TeaModel):
35523
35754
  def __init__(
35524
35755
  self,
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for antchain_bot.
26
26
 
27
- Created on 09/05/2024
27
+ Created on 29/05/2024
28
28
 
29
29
  @author: Ant Chain SDK
30
30
  """
@@ -38,7 +38,7 @@ URL = "https://github.com/alipay/antchain-openapi-prod-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "antchain_alipay_util>=1.0.1, <2.0.0",
41
- "alibabacloud_tea_util>=0.3.11, <1.0.0",
41
+ "alibabacloud_tea_util>=0.3.12, <1.0.0",
42
42
  "alibabacloud_rpc_util>=0.0.4, <1.0.0"
43
43
  ]
44
44
 
@@ -1 +0,0 @@
1
- __version__ = '1.10.31'
File without changes
File without changes
File without changes