tencentcloud-sdk-tbaas 3.0.384 → 3.0.385

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74a1bea82d5ee7edc6756c612596d993a348e7bd
4
- data.tar.gz: d94fe2a2798b72f0aa9d2353b34de8a50208c3cd
3
+ metadata.gz: cb8bf5e490a12c504ea4e73aaa2841394ae7de42
4
+ data.tar.gz: ea0cd53bcecc04138ddc8ba9f27027160d38bf14
5
5
  SHA512:
6
- metadata.gz: 6436e015acdb101d0cf7f52709c615f7f6c79377053d7a0f3d76f3e3a7a0276e6802df090b55eb8d15286d2b391331db0c4d6e2e98be93ebcdb3230fb059caa8
7
- data.tar.gz: f1391f7f61e33630368f9338d825a067925b08282fec6a692652f6cf315896ce7aeb45730656a5545cf8da7dc9341710b7319e74cbe96da4011a360a1efe9fc3
6
+ metadata.gz: ab5ed23379633967417c92eba707ec4fa9ff4f3839b601556783605abade8397ef1cff0372ea67c21590174f7c18fd3d9c551f407cb43474a1303e1e9e282208
7
+ data.tar.gz: 8e257239962269957899fdc063972ae7b7ba11a1c0f30547794bb1f079d9e7f3d157f137adef1cf38ee998b634e27e44e256308d99a9a115ba10c3fd64616465
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.384
1
+ 3.0.385
@@ -53,32 +53,6 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
- # 版本升级
57
-
58
- # Bcos根据块高查询区块信息
59
-
60
- # @param request: Request instance for BlockByNumberHandler.
61
- # @type request: :class:`Tencentcloud::tbaas::V20180416::BlockByNumberHandlerRequest`
62
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::BlockByNumberHandlerResponse`
63
- def BlockByNumberHandler(request)
64
- body = send_request('BlockByNumberHandler', request.serialize)
65
- response = JSON.parse(body)
66
- if response['Response'].key?('Error') == false
67
- model = BlockByNumberHandlerResponse.new
68
- model.deserialize(response['Response'])
69
- model
70
- else
71
- code = response['Response']['Error']['Code']
72
- message = response['Response']['Error']['Message']
73
- reqid = response['Response']['RequestId']
74
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
75
- end
76
- rescue TencentCloud::Common::TencentCloudSDKException => e
77
- raise e
78
- rescue StandardError => e
79
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
- end
81
-
82
56
  # 创建并安装合约
83
57
 
84
58
  # @param request: Request instance for CreateChaincodeAndInstallForUser.
@@ -127,32 +101,6 @@ module TencentCloud
127
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
102
  end
129
103
 
130
- # 版本升级
131
-
132
- # 动态部署合约
133
-
134
- # @param request: Request instance for DeployDynamicContractHandler.
135
- # @type request: :class:`Tencentcloud::tbaas::V20180416::DeployDynamicContractHandlerRequest`
136
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::DeployDynamicContractHandlerResponse`
137
- def DeployDynamicContractHandler(request)
138
- body = send_request('DeployDynamicContractHandler', request.serialize)
139
- response = JSON.parse(body)
140
- if response['Response'].key?('Error') == false
141
- model = DeployDynamicContractHandlerResponse.new
142
- model.deserialize(response['Response'])
143
- model
144
- else
145
- code = response['Response']['Error']['Code']
146
- message = response['Response']['Error']['Message']
147
- reqid = response['Response']['RequestId']
148
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
149
- end
150
- rescue TencentCloud::Common::TencentCloudSDKException => e
151
- raise e
152
- rescue StandardError => e
153
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
154
- end
155
-
156
104
  # 下载用户证书
157
105
 
158
106
  # @param request: Request instance for DownloadUserCert.
@@ -297,32 +245,6 @@ module TencentCloud
297
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
298
246
  end
299
247
 
300
- # 版本升级
301
-
302
- # Bcos分页查询当前群组下的区块列表
303
-
304
- # @param request: Request instance for GetBlockListHandler.
305
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetBlockListHandlerRequest`
306
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetBlockListHandlerResponse`
307
- def GetBlockListHandler(request)
308
- body = send_request('GetBlockListHandler', request.serialize)
309
- response = JSON.parse(body)
310
- if response['Response'].key?('Error') == false
311
- model = GetBlockListHandlerResponse.new
312
- model.deserialize(response['Response'])
313
- model
314
- else
315
- code = response['Response']['Error']['Code']
316
- message = response['Response']['Error']['Message']
317
- reqid = response['Response']['RequestId']
318
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
319
- end
320
- rescue TencentCloud::Common::TencentCloudSDKException => e
321
- raise e
322
- rescue StandardError => e
323
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
324
- end
325
-
326
248
  # 获取区块内的交易列表
327
249
 
328
250
  # @param request: Request instance for GetBlockTransactionListForUser.
@@ -563,58 +485,6 @@ module TencentCloud
563
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
564
486
  end
565
487
 
566
- # 版本升级
567
-
568
- # Bcos根据交易哈希查看交易详细信息
569
-
570
- # @param request: Request instance for GetTransByHashHandler.
571
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetTransByHashHandlerRequest`
572
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetTransByHashHandlerResponse`
573
- def GetTransByHashHandler(request)
574
- body = send_request('GetTransByHashHandler', request.serialize)
575
- response = JSON.parse(body)
576
- if response['Response'].key?('Error') == false
577
- model = GetTransByHashHandlerResponse.new
578
- model.deserialize(response['Response'])
579
- model
580
- else
581
- code = response['Response']['Error']['Code']
582
- message = response['Response']['Error']['Message']
583
- reqid = response['Response']['RequestId']
584
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
585
- end
586
- rescue TencentCloud::Common::TencentCloudSDKException => e
587
- raise e
588
- rescue StandardError => e
589
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
590
- end
591
-
592
- # 版本升级
593
-
594
- # Bcos分页查询当前群组的交易信息列表
595
-
596
- # @param request: Request instance for GetTransListHandler.
597
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetTransListHandlerRequest`
598
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetTransListHandlerResponse`
599
- def GetTransListHandler(request)
600
- body = send_request('GetTransListHandler', request.serialize)
601
- response = JSON.parse(body)
602
- if response['Response'].key?('Error') == false
603
- model = GetTransListHandlerResponse.new
604
- model.deserialize(response['Response'])
605
- model
606
- else
607
- code = response['Response']['Error']['Code']
608
- message = response['Response']['Error']['Message']
609
- reqid = response['Response']['RequestId']
610
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
611
- end
612
- rescue TencentCloud::Common::TencentCloudSDKException => e
613
- raise e
614
- rescue StandardError => e
615
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
616
- end
617
-
618
488
  # 获取交易详情
619
489
 
620
490
  # @param request: Request instance for GetTransactionDetailForUser.
@@ -927,32 +797,6 @@ module TencentCloud
927
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
928
798
  end
929
799
 
930
- # 版本升级
931
-
932
- # Bcos发送交易
933
-
934
- # @param request: Request instance for SendTransactionHandler.
935
- # @type request: :class:`Tencentcloud::tbaas::V20180416::SendTransactionHandlerRequest`
936
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::SendTransactionHandlerResponse`
937
- def SendTransactionHandler(request)
938
- body = send_request('SendTransactionHandler', request.serialize)
939
- response = JSON.parse(body)
940
- if response['Response'].key?('Error') == false
941
- model = SendTransactionHandlerResponse.new
942
- model.deserialize(response['Response'])
943
- model
944
- else
945
- code = response['Response']['Error']['Code']
946
- message = response['Response']['Error']['Message']
947
- reqid = response['Response']['RequestId']
948
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
949
- end
950
- rescue TencentCloud::Common::TencentCloudSDKException => e
951
- raise e
952
- rescue StandardError => e
953
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
954
- end
955
-
956
800
  # trustsql服务统一接口
957
801
 
958
802
  # @param request: Request instance for SrvInvoke.
@@ -977,32 +821,6 @@ module TencentCloud
977
821
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
978
822
  end
979
823
 
980
- # 版本升级
981
-
982
- # 根据动态部署的合约发送交易
983
-
984
- # @param request: Request instance for TransByDynamicContractHandler.
985
- # @type request: :class:`Tencentcloud::tbaas::V20180416::TransByDynamicContractHandlerRequest`
986
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::TransByDynamicContractHandlerResponse`
987
- def TransByDynamicContractHandler(request)
988
- body = send_request('TransByDynamicContractHandler', request.serialize)
989
- response = JSON.parse(body)
990
- if response['Response'].key?('Error') == false
991
- model = TransByDynamicContractHandlerResponse.new
992
- model.deserialize(response['Response'])
993
- model
994
- else
995
- code = response['Response']['Error']['Code']
996
- message = response['Response']['Error']['Message']
997
- reqid = response['Response']['RequestId']
998
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
999
- end
1000
- rescue TencentCloud::Common::TencentCloudSDKException => e
1001
- raise e
1002
- rescue StandardError => e
1003
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1004
- end
1005
-
1006
824
 
1007
825
  end
1008
826
  end
@@ -205,54 +205,6 @@ module TencentCloud
205
205
  end
206
206
  end
207
207
 
208
- # BlockByNumberHandler请求参数结构体
209
- class BlockByNumberHandlerRequest < TencentCloud::Common::AbstractModel
210
- # @param Module: 模块名,固定字段:block
211
- # @type Module: String
212
- # @param Operation: 操作名,固定字段:block_by_number
213
- # @type Operation: String
214
- # @param GroupPk: 当前群组编号
215
- # @type GroupPk: String
216
- # @param BlockNumber: 区块高度
217
- # @type BlockNumber: Integer
218
-
219
- attr_accessor :Module, :Operation, :GroupPk, :BlockNumber
220
-
221
- def initialize(_module=nil, operation=nil, grouppk=nil, blocknumber=nil)
222
- @Module = _module
223
- @Operation = operation
224
- @GroupPk = grouppk
225
- @BlockNumber = blocknumber
226
- end
227
-
228
- def deserialize(params)
229
- @Module = params['Module']
230
- @Operation = params['Operation']
231
- @GroupPk = params['GroupPk']
232
- @BlockNumber = params['BlockNumber']
233
- end
234
- end
235
-
236
- # BlockByNumberHandler返回参数结构体
237
- class BlockByNumberHandlerResponse < TencentCloud::Common::AbstractModel
238
- # @param BlockJson: 返回区块json字符串
239
- # @type BlockJson: String
240
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
241
- # @type RequestId: String
242
-
243
- attr_accessor :BlockJson, :RequestId
244
-
245
- def initialize(blockjson=nil, requestid=nil)
246
- @BlockJson = blockjson
247
- @RequestId = requestid
248
- end
249
-
250
- def deserialize(params)
251
- @BlockJson = params['BlockJson']
252
- @RequestId = params['RequestId']
253
- end
254
- end
255
-
256
208
  # 长安链合约执行结果
257
209
  class ChainMakerContractResult < TencentCloud::Common::AbstractModel
258
210
  # @param Code: 交易结果码
@@ -527,66 +479,6 @@ module TencentCloud
527
479
  end
528
480
  end
529
481
 
530
- # DeployDynamicContractHandler请求参数结构体
531
- class DeployDynamicContractHandlerRequest < TencentCloud::Common::AbstractModel
532
- # @param Module: 模块名,固定字段:contract
533
- # @type Module: String
534
- # @param Operation: 操作名,固定字段:deploy_dynamic_contract
535
- # @type Operation: String
536
- # @param GroupPk: 群组编号
537
- # @type GroupPk: String
538
- # @param ContractName: 合约名称
539
- # @type ContractName: String
540
- # @param AbiInfo: 合约编译后的abi
541
- # @type AbiInfo: String
542
- # @param ByteCodeBin: 合约编译后的binary
543
- # @type ByteCodeBin: String
544
- # @param ConstructorParams: 构造函数入参
545
- # @type ConstructorParams: Array
546
-
547
- attr_accessor :Module, :Operation, :GroupPk, :ContractName, :AbiInfo, :ByteCodeBin, :ConstructorParams
548
-
549
- def initialize(_module=nil, operation=nil, grouppk=nil, contractname=nil, abiinfo=nil, bytecodebin=nil, constructorparams=nil)
550
- @Module = _module
551
- @Operation = operation
552
- @GroupPk = grouppk
553
- @ContractName = contractname
554
- @AbiInfo = abiinfo
555
- @ByteCodeBin = bytecodebin
556
- @ConstructorParams = constructorparams
557
- end
558
-
559
- def deserialize(params)
560
- @Module = params['Module']
561
- @Operation = params['Operation']
562
- @GroupPk = params['GroupPk']
563
- @ContractName = params['ContractName']
564
- @AbiInfo = params['AbiInfo']
565
- @ByteCodeBin = params['ByteCodeBin']
566
- @ConstructorParams = params['ConstructorParams']
567
- end
568
- end
569
-
570
- # DeployDynamicContractHandler返回参数结构体
571
- class DeployDynamicContractHandlerResponse < TencentCloud::Common::AbstractModel
572
- # @param ContractAddress: 部署成功返回的合约地址
573
- # @type ContractAddress: String
574
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
575
- # @type RequestId: String
576
-
577
- attr_accessor :ContractAddress, :RequestId
578
-
579
- def initialize(contractaddress=nil, requestid=nil)
580
- @ContractAddress = contractaddress
581
- @RequestId = requestid
582
- end
583
-
584
- def deserialize(params)
585
- @ContractAddress = params['ContractAddress']
586
- @RequestId = params['RequestId']
587
- end
588
- end
589
-
590
482
  # DownloadUserCert请求参数结构体
591
483
  class DownloadUserCertRequest < TencentCloud::Common::AbstractModel
592
484
  # @param Module: 模块名,固定字段:cert_mng
@@ -889,77 +781,6 @@ module TencentCloud
889
781
  end
890
782
  end
891
783
 
892
- # GetBlockListHandler请求参数结构体
893
- class GetBlockListHandlerRequest < TencentCloud::Common::AbstractModel
894
- # @param Module: 模块名,固定字段:block
895
- # @type Module: String
896
- # @param Operation: 操作名,固定字段:get_block_list
897
- # @type Operation: String
898
- # @param Offset: 记录偏移数
899
- # @type Offset: Integer
900
- # @param Limit: 每页记录数
901
- # @type Limit: Integer
902
- # @param GroupPk: 当前群组编号
903
- # @type GroupPk: String
904
- # @param BlockHash: 区块哈希
905
- # @type BlockHash: String
906
-
907
- attr_accessor :Module, :Operation, :Offset, :Limit, :GroupPk, :BlockHash
908
-
909
- def initialize(_module=nil, operation=nil, offset=nil, limit=nil, grouppk=nil, blockhash=nil)
910
- @Module = _module
911
- @Operation = operation
912
- @Offset = offset
913
- @Limit = limit
914
- @GroupPk = grouppk
915
- @BlockHash = blockhash
916
- end
917
-
918
- def deserialize(params)
919
- @Module = params['Module']
920
- @Operation = params['Operation']
921
- @Offset = params['Offset']
922
- @Limit = params['Limit']
923
- @GroupPk = params['GroupPk']
924
- @BlockHash = params['BlockHash']
925
- end
926
- end
927
-
928
- # GetBlockListHandler返回参数结构体
929
- class GetBlockListHandlerResponse < TencentCloud::Common::AbstractModel
930
- # @param TotalCount: 总记录数
931
- # @type TotalCount: Integer
932
- # @param GroupPk: 当前群组编号
933
- # @type GroupPk: String
934
- # @param List: 返回数据列表
935
- # @type List: Array
936
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
937
- # @type RequestId: String
938
-
939
- attr_accessor :TotalCount, :GroupPk, :List, :RequestId
940
-
941
- def initialize(totalcount=nil, grouppk=nil, list=nil, requestid=nil)
942
- @TotalCount = totalcount
943
- @GroupPk = grouppk
944
- @List = list
945
- @RequestId = requestid
946
- end
947
-
948
- def deserialize(params)
949
- @TotalCount = params['TotalCount']
950
- @GroupPk = params['GroupPk']
951
- unless params['List'].nil?
952
- @List = []
953
- params['List'].each do |i|
954
- bcosblockobj_tmp = BcosBlockObj.new
955
- bcosblockobj_tmp.deserialize(i)
956
- @List << bcosblockobj_tmp
957
- end
958
- end
959
- @RequestId = params['RequestId']
960
- end
961
- end
962
-
963
784
  # GetBlockList请求参数结构体
964
785
  class GetBlockListRequest < TencentCloud::Common::AbstractModel
965
786
  # @param Module: 模块名称,固定字段:block
@@ -1800,125 +1621,6 @@ module TencentCloud
1800
1621
  end
1801
1622
  end
1802
1623
 
1803
- # GetTransByHashHandler请求参数结构体
1804
- class GetTransByHashHandlerRequest < TencentCloud::Common::AbstractModel
1805
- # @param Module: 模块名,固定字段:transaction
1806
- # @type Module: String
1807
- # @param Operation: 操作名,固定字段:get_trans_by_hash
1808
- # @type Operation: String
1809
- # @param GroupPk: 群组编号
1810
- # @type GroupPk: String
1811
- # @param TransHash: 交易哈希
1812
- # @type TransHash: String
1813
-
1814
- attr_accessor :Module, :Operation, :GroupPk, :TransHash
1815
-
1816
- def initialize(_module=nil, operation=nil, grouppk=nil, transhash=nil)
1817
- @Module = _module
1818
- @Operation = operation
1819
- @GroupPk = grouppk
1820
- @TransHash = transhash
1821
- end
1822
-
1823
- def deserialize(params)
1824
- @Module = params['Module']
1825
- @Operation = params['Operation']
1826
- @GroupPk = params['GroupPk']
1827
- @TransHash = params['TransHash']
1828
- end
1829
- end
1830
-
1831
- # GetTransByHashHandler返回参数结构体
1832
- class GetTransByHashHandlerResponse < TencentCloud::Common::AbstractModel
1833
- # @param TransactionJson: 交易信息json字符串
1834
- # @type TransactionJson: String
1835
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1836
- # @type RequestId: String
1837
-
1838
- attr_accessor :TransactionJson, :RequestId
1839
-
1840
- def initialize(transactionjson=nil, requestid=nil)
1841
- @TransactionJson = transactionjson
1842
- @RequestId = requestid
1843
- end
1844
-
1845
- def deserialize(params)
1846
- @TransactionJson = params['TransactionJson']
1847
- @RequestId = params['RequestId']
1848
- end
1849
- end
1850
-
1851
- # GetTransListHandler请求参数结构体
1852
- class GetTransListHandlerRequest < TencentCloud::Common::AbstractModel
1853
- # @param Module: 模块名,固定字段:transaction
1854
- # @type Module: String
1855
- # @param Operation: 操作名,固定字段:get_trans_list
1856
- # @type Operation: String
1857
- # @param Offset: 记录偏移量
1858
- # @type Offset: Integer
1859
- # @param Limit: 每页记录数
1860
- # @type Limit: Integer
1861
- # @param GroupPk: 群组编号
1862
- # @type GroupPk: String
1863
- # @param TransHash: 交易哈希
1864
- # @type TransHash: String
1865
-
1866
- attr_accessor :Module, :Operation, :Offset, :Limit, :GroupPk, :TransHash
1867
-
1868
- def initialize(_module=nil, operation=nil, offset=nil, limit=nil, grouppk=nil, transhash=nil)
1869
- @Module = _module
1870
- @Operation = operation
1871
- @Offset = offset
1872
- @Limit = limit
1873
- @GroupPk = grouppk
1874
- @TransHash = transhash
1875
- end
1876
-
1877
- def deserialize(params)
1878
- @Module = params['Module']
1879
- @Operation = params['Operation']
1880
- @Offset = params['Offset']
1881
- @Limit = params['Limit']
1882
- @GroupPk = params['GroupPk']
1883
- @TransHash = params['TransHash']
1884
- end
1885
- end
1886
-
1887
- # GetTransListHandler返回参数结构体
1888
- class GetTransListHandlerResponse < TencentCloud::Common::AbstractModel
1889
- # @param TotalCount: 总记录数
1890
- # @type TotalCount: Integer
1891
- # @param GroupPk: 当前群组编号
1892
- # @type GroupPk: String
1893
- # @param List: 返回数据列表
1894
- # @type List: Array
1895
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1896
- # @type RequestId: String
1897
-
1898
- attr_accessor :TotalCount, :GroupPk, :List, :RequestId
1899
-
1900
- def initialize(totalcount=nil, grouppk=nil, list=nil, requestid=nil)
1901
- @TotalCount = totalcount
1902
- @GroupPk = grouppk
1903
- @List = list
1904
- @RequestId = requestid
1905
- end
1906
-
1907
- def deserialize(params)
1908
- @TotalCount = params['TotalCount']
1909
- @GroupPk = params['GroupPk']
1910
- unless params['List'].nil?
1911
- @List = []
1912
- params['List'].each do |i|
1913
- bcostransinfo_tmp = BcosTransInfo.new
1914
- bcostransinfo_tmp.deserialize(i)
1915
- @List << bcostransinfo_tmp
1916
- end
1917
- end
1918
- @RequestId = params['RequestId']
1919
- end
1920
- end
1921
-
1922
1624
  # GetTransactionDetailForUser请求参数结构体
1923
1625
  class GetTransactionDetailForUserRequest < TencentCloud::Common::AbstractModel
1924
1626
  # @param Module: 模块名,固定字段:transaction
@@ -2854,62 +2556,6 @@ module TencentCloud
2854
2556
  end
2855
2557
  end
2856
2558
 
2857
- # SendTransactionHandler请求参数结构体
2858
- class SendTransactionHandlerRequest < TencentCloud::Common::AbstractModel
2859
- # @param Module: 模块名,固定字段:transaction
2860
- # @type Module: String
2861
- # @param Operation: 操作名,固定字段:send_transaction
2862
- # @type Operation: String
2863
- # @param GroupPk: 群组编号
2864
- # @type GroupPk: String
2865
- # @param ContractId: 合约编号
2866
- # @type ContractId: Integer
2867
- # @param FuncName: 合约方法名
2868
- # @type FuncName: String
2869
- # @param FuncParam: 合约方法入参
2870
- # @type FuncParam: Array
2871
-
2872
- attr_accessor :Module, :Operation, :GroupPk, :ContractId, :FuncName, :FuncParam
2873
-
2874
- def initialize(_module=nil, operation=nil, grouppk=nil, contractid=nil, funcname=nil, funcparam=nil)
2875
- @Module = _module
2876
- @Operation = operation
2877
- @GroupPk = grouppk
2878
- @ContractId = contractid
2879
- @FuncName = funcname
2880
- @FuncParam = funcparam
2881
- end
2882
-
2883
- def deserialize(params)
2884
- @Module = params['Module']
2885
- @Operation = params['Operation']
2886
- @GroupPk = params['GroupPk']
2887
- @ContractId = params['ContractId']
2888
- @FuncName = params['FuncName']
2889
- @FuncParam = params['FuncParam']
2890
- end
2891
- end
2892
-
2893
- # SendTransactionHandler返回参数结构体
2894
- class SendTransactionHandlerResponse < TencentCloud::Common::AbstractModel
2895
- # @param TransactionRsp: 交易结果json字符串
2896
- # @type TransactionRsp: String
2897
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2898
- # @type RequestId: String
2899
-
2900
- attr_accessor :TransactionRsp, :RequestId
2901
-
2902
- def initialize(transactionrsp=nil, requestid=nil)
2903
- @TransactionRsp = transactionrsp
2904
- @RequestId = requestid
2905
- end
2906
-
2907
- def deserialize(params)
2908
- @TransactionRsp = params['TransactionRsp']
2909
- @RequestId = params['RequestId']
2910
- end
2911
- end
2912
-
2913
2559
  # SrvInvoke请求参数结构体
2914
2560
  class SrvInvokeRequest < TencentCloud::Common::AbstractModel
2915
2561
  # @param Service: 服务类型,iss或者dam
@@ -2962,70 +2608,6 @@ module TencentCloud
2962
2608
  end
2963
2609
  end
2964
2610
 
2965
- # TransByDynamicContractHandler请求参数结构体
2966
- class TransByDynamicContractHandlerRequest < TencentCloud::Common::AbstractModel
2967
- # @param Module: 模块名,固定字段:transaction
2968
- # @type Module: String
2969
- # @param Operation: 操作名,固定字段:trans_by_dynamic_contract
2970
- # @type Operation: String
2971
- # @param GroupPk: 群组编号
2972
- # @type GroupPk: String
2973
- # @param ContractAddress: 合约地址(合约部署成功,可得到合约地址)
2974
- # @type ContractAddress: String
2975
- # @param ContractName: 合约名
2976
- # @type ContractName: String
2977
- # @param AbiInfo: 合约编译后的abi
2978
- # @type AbiInfo: String
2979
- # @param FuncName: 合约被调用方法名
2980
- # @type FuncName: String
2981
- # @param FuncParam: 合约被调用方法的入参
2982
- # @type FuncParam: Array
2983
-
2984
- attr_accessor :Module, :Operation, :GroupPk, :ContractAddress, :ContractName, :AbiInfo, :FuncName, :FuncParam
2985
-
2986
- def initialize(_module=nil, operation=nil, grouppk=nil, contractaddress=nil, contractname=nil, abiinfo=nil, funcname=nil, funcparam=nil)
2987
- @Module = _module
2988
- @Operation = operation
2989
- @GroupPk = grouppk
2990
- @ContractAddress = contractaddress
2991
- @ContractName = contractname
2992
- @AbiInfo = abiinfo
2993
- @FuncName = funcname
2994
- @FuncParam = funcparam
2995
- end
2996
-
2997
- def deserialize(params)
2998
- @Module = params['Module']
2999
- @Operation = params['Operation']
3000
- @GroupPk = params['GroupPk']
3001
- @ContractAddress = params['ContractAddress']
3002
- @ContractName = params['ContractName']
3003
- @AbiInfo = params['AbiInfo']
3004
- @FuncName = params['FuncName']
3005
- @FuncParam = params['FuncParam']
3006
- end
3007
- end
3008
-
3009
- # TransByDynamicContractHandler返回参数结构体
3010
- class TransByDynamicContractHandlerResponse < TencentCloud::Common::AbstractModel
3011
- # @param TransactionRsp: 交易结果json字符串
3012
- # @type TransactionRsp: String
3013
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3014
- # @type RequestId: String
3015
-
3016
- attr_accessor :TransactionRsp, :RequestId
3017
-
3018
- def initialize(transactionrsp=nil, requestid=nil)
3019
- @TransactionRsp = transactionrsp
3020
- @RequestId = requestid
3021
- end
3022
-
3023
- def deserialize(params)
3024
- @TransactionRsp = params['TransactionRsp']
3025
- @RequestId = params['RequestId']
3026
- end
3027
- end
3028
-
3029
2611
  # 交易列表项信息
3030
2612
  class TransactionItem < TencentCloud::Common::AbstractModel
3031
2613
  # @param TransactionId: 交易ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tbaas
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.384
4
+ version: 3.0.385
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common