tencentcloud-sdk-tbaas 3.0.598 → 3.0.599
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/client.rb +0 -156
- data/lib/v20180416/models.rb +0 -422
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42762f17b1f2e62cdb14088c0e1b26694072f060
|
|
4
|
+
data.tar.gz: 83c531ab0158079b266d538981b2def88c35acc2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f706b13c0f2b366a76d7c25f83a03e1bf950d7e484fb1cf1d9e939de85883346e92b9dbef2576ad6dac8c59a94bd891f3cb069999150dd13d81bfab90edc44b
|
|
7
|
+
data.tar.gz: 3d85ff9f707a623164bc7715fdeba284c2586eacbdc8b6f3e5b57ad85d4b4b079ff1649a235f77f041b7718fe5cb49a4190ffe3b0e1bc07642a22489d82c6766
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.599
|
data/lib/v20180416/client.rb
CHANGED
|
@@ -101,32 +101,6 @@ module TencentCloud
|
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
-
# Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
105
|
-
|
|
106
|
-
# 动态部署并发布Bcos合约
|
|
107
|
-
|
|
108
|
-
# @param request: Request instance for DeployDynamicBcosContract.
|
|
109
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::DeployDynamicBcosContractRequest`
|
|
110
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::DeployDynamicBcosContractResponse`
|
|
111
|
-
def DeployDynamicBcosContract(request)
|
|
112
|
-
body = send_request('DeployDynamicBcosContract', request.serialize)
|
|
113
|
-
response = JSON.parse(body)
|
|
114
|
-
if response['Response'].key?('Error') == false
|
|
115
|
-
model = DeployDynamicBcosContractResponse.new
|
|
116
|
-
model.deserialize(response['Response'])
|
|
117
|
-
model
|
|
118
|
-
else
|
|
119
|
-
code = response['Response']['Error']['Code']
|
|
120
|
-
message = response['Response']['Error']['Message']
|
|
121
|
-
reqid = response['Response']['RequestId']
|
|
122
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
123
|
-
end
|
|
124
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
125
|
-
raise e
|
|
126
|
-
rescue StandardError => e
|
|
127
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
128
|
-
end
|
|
129
|
-
|
|
130
104
|
# 下载用户证书
|
|
131
105
|
|
|
132
106
|
# @param request: Request instance for DownloadUserCert.
|
|
@@ -151,110 +125,6 @@ module TencentCloud
|
|
|
151
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
152
126
|
end
|
|
153
127
|
|
|
154
|
-
# Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
155
|
-
|
|
156
|
-
# 使用块高查询Bcos区块信息
|
|
157
|
-
|
|
158
|
-
# @param request: Request instance for GetBcosBlockByNumber.
|
|
159
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::GetBcosBlockByNumberRequest`
|
|
160
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::GetBcosBlockByNumberResponse`
|
|
161
|
-
def GetBcosBlockByNumber(request)
|
|
162
|
-
body = send_request('GetBcosBlockByNumber', request.serialize)
|
|
163
|
-
response = JSON.parse(body)
|
|
164
|
-
if response['Response'].key?('Error') == false
|
|
165
|
-
model = GetBcosBlockByNumberResponse.new
|
|
166
|
-
model.deserialize(response['Response'])
|
|
167
|
-
model
|
|
168
|
-
else
|
|
169
|
-
code = response['Response']['Error']['Code']
|
|
170
|
-
message = response['Response']['Error']['Message']
|
|
171
|
-
reqid = response['Response']['RequestId']
|
|
172
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
173
|
-
end
|
|
174
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
175
|
-
raise e
|
|
176
|
-
rescue StandardError => e
|
|
177
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
# Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
181
|
-
|
|
182
|
-
# Bcos分页查询当前群组下的区块列表
|
|
183
|
-
|
|
184
|
-
# @param request: Request instance for GetBcosBlockList.
|
|
185
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::GetBcosBlockListRequest`
|
|
186
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::GetBcosBlockListResponse`
|
|
187
|
-
def GetBcosBlockList(request)
|
|
188
|
-
body = send_request('GetBcosBlockList', request.serialize)
|
|
189
|
-
response = JSON.parse(body)
|
|
190
|
-
if response['Response'].key?('Error') == false
|
|
191
|
-
model = GetBcosBlockListResponse.new
|
|
192
|
-
model.deserialize(response['Response'])
|
|
193
|
-
model
|
|
194
|
-
else
|
|
195
|
-
code = response['Response']['Error']['Code']
|
|
196
|
-
message = response['Response']['Error']['Message']
|
|
197
|
-
reqid = response['Response']['RequestId']
|
|
198
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
199
|
-
end
|
|
200
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
201
|
-
raise e
|
|
202
|
-
rescue StandardError => e
|
|
203
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
# Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
207
|
-
|
|
208
|
-
# Bcos根据交易哈希查看交易详细信息
|
|
209
|
-
|
|
210
|
-
# @param request: Request instance for GetBcosTransByHash.
|
|
211
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::GetBcosTransByHashRequest`
|
|
212
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::GetBcosTransByHashResponse`
|
|
213
|
-
def GetBcosTransByHash(request)
|
|
214
|
-
body = send_request('GetBcosTransByHash', request.serialize)
|
|
215
|
-
response = JSON.parse(body)
|
|
216
|
-
if response['Response'].key?('Error') == false
|
|
217
|
-
model = GetBcosTransByHashResponse.new
|
|
218
|
-
model.deserialize(response['Response'])
|
|
219
|
-
model
|
|
220
|
-
else
|
|
221
|
-
code = response['Response']['Error']['Code']
|
|
222
|
-
message = response['Response']['Error']['Message']
|
|
223
|
-
reqid = response['Response']['RequestId']
|
|
224
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
225
|
-
end
|
|
226
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
227
|
-
raise e
|
|
228
|
-
rescue StandardError => e
|
|
229
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
# Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
233
|
-
|
|
234
|
-
# Bcos分页查询当前群组的交易信息列表
|
|
235
|
-
|
|
236
|
-
# @param request: Request instance for GetBcosTransList.
|
|
237
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::GetBcosTransListRequest`
|
|
238
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::GetBcosTransListResponse`
|
|
239
|
-
def GetBcosTransList(request)
|
|
240
|
-
body = send_request('GetBcosTransList', request.serialize)
|
|
241
|
-
response = JSON.parse(body)
|
|
242
|
-
if response['Response'].key?('Error') == false
|
|
243
|
-
model = GetBcosTransListResponse.new
|
|
244
|
-
model.deserialize(response['Response'])
|
|
245
|
-
model
|
|
246
|
-
else
|
|
247
|
-
code = response['Response']['Error']['Code']
|
|
248
|
-
message = response['Response']['Error']['Message']
|
|
249
|
-
reqid = response['Response']['RequestId']
|
|
250
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
251
|
-
end
|
|
252
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
253
|
-
raise e
|
|
254
|
-
rescue StandardError => e
|
|
255
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
256
|
-
end
|
|
257
|
-
|
|
258
128
|
# 查看当前网络下的所有区块列表,分页展示
|
|
259
129
|
|
|
260
130
|
# @param request: Request instance for GetBlockList.
|
|
@@ -615,32 +485,6 @@ module TencentCloud
|
|
|
615
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
616
486
|
end
|
|
617
487
|
|
|
618
|
-
# Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
619
|
-
|
|
620
|
-
# 执行Bcos交易,支持动态部署的合约
|
|
621
|
-
|
|
622
|
-
# @param request: Request instance for InvokeBcosTrans.
|
|
623
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::InvokeBcosTransRequest`
|
|
624
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::InvokeBcosTransResponse`
|
|
625
|
-
def InvokeBcosTrans(request)
|
|
626
|
-
body = send_request('InvokeBcosTrans', request.serialize)
|
|
627
|
-
response = JSON.parse(body)
|
|
628
|
-
if response['Response'].key?('Error') == false
|
|
629
|
-
model = InvokeBcosTransResponse.new
|
|
630
|
-
model.deserialize(response['Response'])
|
|
631
|
-
model
|
|
632
|
-
else
|
|
633
|
-
code = response['Response']['Error']['Code']
|
|
634
|
-
message = response['Response']['Error']['Message']
|
|
635
|
-
reqid = response['Response']['RequestId']
|
|
636
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
637
|
-
end
|
|
638
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
639
|
-
raise e
|
|
640
|
-
rescue StandardError => e
|
|
641
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
642
|
-
end
|
|
643
|
-
|
|
644
488
|
# 调用长安链合约执行交易
|
|
645
489
|
|
|
646
490
|
# @param request: Request instance for InvokeChainMakerContract.
|
data/lib/v20180416/models.rb
CHANGED
|
@@ -137,90 +137,6 @@ module TencentCloud
|
|
|
137
137
|
end
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
# Bcos区块对象
|
|
141
|
-
class BcosBlockObj < TencentCloud::Common::AbstractModel
|
|
142
|
-
# @param BlockHash: 区块哈希
|
|
143
|
-
# @type BlockHash: String
|
|
144
|
-
# @param BlockNumber: 区块高度
|
|
145
|
-
# @type BlockNumber: Integer
|
|
146
|
-
# @param BlockTimestamp: 区块时间戳
|
|
147
|
-
# @type BlockTimestamp: String
|
|
148
|
-
# @param Sealer: 打包节点ID
|
|
149
|
-
# @type Sealer: String
|
|
150
|
-
# @param SealerIndex: 打包节点索引
|
|
151
|
-
# @type SealerIndex: Integer
|
|
152
|
-
# @param CreateTime: 记录保存时间
|
|
153
|
-
# @type CreateTime: String
|
|
154
|
-
# @param TransCount: 交易数量
|
|
155
|
-
# @type TransCount: Integer
|
|
156
|
-
# @param ModifyTime: 记录修改时间
|
|
157
|
-
# @type ModifyTime: String
|
|
158
|
-
|
|
159
|
-
attr_accessor :BlockHash, :BlockNumber, :BlockTimestamp, :Sealer, :SealerIndex, :CreateTime, :TransCount, :ModifyTime
|
|
160
|
-
|
|
161
|
-
def initialize(blockhash=nil, blocknumber=nil, blocktimestamp=nil, sealer=nil, sealerindex=nil, createtime=nil, transcount=nil, modifytime=nil)
|
|
162
|
-
@BlockHash = blockhash
|
|
163
|
-
@BlockNumber = blocknumber
|
|
164
|
-
@BlockTimestamp = blocktimestamp
|
|
165
|
-
@Sealer = sealer
|
|
166
|
-
@SealerIndex = sealerindex
|
|
167
|
-
@CreateTime = createtime
|
|
168
|
-
@TransCount = transcount
|
|
169
|
-
@ModifyTime = modifytime
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
def deserialize(params)
|
|
173
|
-
@BlockHash = params['BlockHash']
|
|
174
|
-
@BlockNumber = params['BlockNumber']
|
|
175
|
-
@BlockTimestamp = params['BlockTimestamp']
|
|
176
|
-
@Sealer = params['Sealer']
|
|
177
|
-
@SealerIndex = params['SealerIndex']
|
|
178
|
-
@CreateTime = params['CreateTime']
|
|
179
|
-
@TransCount = params['TransCount']
|
|
180
|
-
@ModifyTime = params['ModifyTime']
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
# Bcos交易信息对象
|
|
185
|
-
class BcosTransInfo < TencentCloud::Common::AbstractModel
|
|
186
|
-
# @param BlockNumber: 所属区块高度
|
|
187
|
-
# @type BlockNumber: Integer
|
|
188
|
-
# @param BlockTimestamp: 区块时间戳
|
|
189
|
-
# @type BlockTimestamp: String
|
|
190
|
-
# @param TransHash: 交易哈希
|
|
191
|
-
# @type TransHash: String
|
|
192
|
-
# @param TransFrom: 交易发起者
|
|
193
|
-
# @type TransFrom: String
|
|
194
|
-
# @param TransTo: 交易接收者
|
|
195
|
-
# @type TransTo: String
|
|
196
|
-
# @param CreateTime: 落库时间
|
|
197
|
-
# @type CreateTime: String
|
|
198
|
-
# @param ModifyTime: 修改时间
|
|
199
|
-
# @type ModifyTime: String
|
|
200
|
-
|
|
201
|
-
attr_accessor :BlockNumber, :BlockTimestamp, :TransHash, :TransFrom, :TransTo, :CreateTime, :ModifyTime
|
|
202
|
-
|
|
203
|
-
def initialize(blocknumber=nil, blocktimestamp=nil, transhash=nil, transfrom=nil, transto=nil, createtime=nil, modifytime=nil)
|
|
204
|
-
@BlockNumber = blocknumber
|
|
205
|
-
@BlockTimestamp = blocktimestamp
|
|
206
|
-
@TransHash = transhash
|
|
207
|
-
@TransFrom = transfrom
|
|
208
|
-
@TransTo = transto
|
|
209
|
-
@CreateTime = createtime
|
|
210
|
-
@ModifyTime = modifytime
|
|
211
|
-
end
|
|
212
|
-
|
|
213
|
-
def deserialize(params)
|
|
214
|
-
@BlockNumber = params['BlockNumber']
|
|
215
|
-
@BlockTimestamp = params['BlockTimestamp']
|
|
216
|
-
@TransHash = params['TransHash']
|
|
217
|
-
@TransFrom = params['TransFrom']
|
|
218
|
-
@TransTo = params['TransTo']
|
|
219
|
-
@CreateTime = params['CreateTime']
|
|
220
|
-
@ModifyTime = params['ModifyTime']
|
|
221
|
-
end
|
|
222
|
-
end
|
|
223
|
-
|
|
224
140
|
# 区块对象
|
|
225
141
|
class Block < TencentCloud::Common::AbstractModel
|
|
226
142
|
# @param BlockNum: 区块编号
|
|
@@ -471,62 +387,6 @@ module TencentCloud
|
|
|
471
387
|
end
|
|
472
388
|
end
|
|
473
389
|
|
|
474
|
-
# DeployDynamicBcosContract请求参数结构体
|
|
475
|
-
class DeployDynamicBcosContractRequest < TencentCloud::Common::AbstractModel
|
|
476
|
-
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
|
|
477
|
-
# @type ClusterId: String
|
|
478
|
-
# @param GroupId: 群组编号,可在群组列表中获取
|
|
479
|
-
# @type GroupId: Integer
|
|
480
|
-
# @param AbiInfo: 合约编译后的ABI,可在合约详情获取
|
|
481
|
-
# @type AbiInfo: String
|
|
482
|
-
# @param ByteCodeBin: 合约编译得到的字节码,hex编码,可在合约详情获取
|
|
483
|
-
# @type ByteCodeBin: String
|
|
484
|
-
# @param SignUserId: 签名用户编号,可在私钥管理页面获取
|
|
485
|
-
# @type SignUserId: String
|
|
486
|
-
# @param ConstructorParams: 构造函数入参,Json数组,多个参数以逗号分隔(参数为数组时同理),如:["str1",["arr1","arr2"]]
|
|
487
|
-
# @type ConstructorParams: String
|
|
488
|
-
|
|
489
|
-
attr_accessor :ClusterId, :GroupId, :AbiInfo, :ByteCodeBin, :SignUserId, :ConstructorParams
|
|
490
|
-
|
|
491
|
-
def initialize(clusterid=nil, groupid=nil, abiinfo=nil, bytecodebin=nil, signuserid=nil, constructorparams=nil)
|
|
492
|
-
@ClusterId = clusterid
|
|
493
|
-
@GroupId = groupid
|
|
494
|
-
@AbiInfo = abiinfo
|
|
495
|
-
@ByteCodeBin = bytecodebin
|
|
496
|
-
@SignUserId = signuserid
|
|
497
|
-
@ConstructorParams = constructorparams
|
|
498
|
-
end
|
|
499
|
-
|
|
500
|
-
def deserialize(params)
|
|
501
|
-
@ClusterId = params['ClusterId']
|
|
502
|
-
@GroupId = params['GroupId']
|
|
503
|
-
@AbiInfo = params['AbiInfo']
|
|
504
|
-
@ByteCodeBin = params['ByteCodeBin']
|
|
505
|
-
@SignUserId = params['SignUserId']
|
|
506
|
-
@ConstructorParams = params['ConstructorParams']
|
|
507
|
-
end
|
|
508
|
-
end
|
|
509
|
-
|
|
510
|
-
# DeployDynamicBcosContract返回参数结构体
|
|
511
|
-
class DeployDynamicBcosContractResponse < TencentCloud::Common::AbstractModel
|
|
512
|
-
# @param ContractAddress: 部署成功返回的合约地址
|
|
513
|
-
# @type ContractAddress: String
|
|
514
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
515
|
-
# @type RequestId: String
|
|
516
|
-
|
|
517
|
-
attr_accessor :ContractAddress, :RequestId
|
|
518
|
-
|
|
519
|
-
def initialize(contractaddress=nil, requestid=nil)
|
|
520
|
-
@ContractAddress = contractaddress
|
|
521
|
-
@RequestId = requestid
|
|
522
|
-
end
|
|
523
|
-
|
|
524
|
-
def deserialize(params)
|
|
525
|
-
@ContractAddress = params['ContractAddress']
|
|
526
|
-
@RequestId = params['RequestId']
|
|
527
|
-
end
|
|
528
|
-
end
|
|
529
|
-
|
|
530
390
|
# DownloadUserCert请求参数结构体
|
|
531
391
|
class DownloadUserCertRequest < TencentCloud::Common::AbstractModel
|
|
532
392
|
# @param Module: 模块名,固定字段:cert_mng
|
|
@@ -607,228 +467,6 @@ module TencentCloud
|
|
|
607
467
|
end
|
|
608
468
|
end
|
|
609
469
|
|
|
610
|
-
# GetBcosBlockByNumber请求参数结构体
|
|
611
|
-
class GetBcosBlockByNumberRequest < TencentCloud::Common::AbstractModel
|
|
612
|
-
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
|
|
613
|
-
# @type ClusterId: String
|
|
614
|
-
# @param GroupId: 群组编号,可在群组列表中获取
|
|
615
|
-
# @type GroupId: Integer
|
|
616
|
-
# @param BlockNumber: 区块高度,可以从InvokeBcosTrans接口的返回值中解析获取
|
|
617
|
-
# @type BlockNumber: Integer
|
|
618
|
-
|
|
619
|
-
attr_accessor :ClusterId, :GroupId, :BlockNumber
|
|
620
|
-
|
|
621
|
-
def initialize(clusterid=nil, groupid=nil, blocknumber=nil)
|
|
622
|
-
@ClusterId = clusterid
|
|
623
|
-
@GroupId = groupid
|
|
624
|
-
@BlockNumber = blocknumber
|
|
625
|
-
end
|
|
626
|
-
|
|
627
|
-
def deserialize(params)
|
|
628
|
-
@ClusterId = params['ClusterId']
|
|
629
|
-
@GroupId = params['GroupId']
|
|
630
|
-
@BlockNumber = params['BlockNumber']
|
|
631
|
-
end
|
|
632
|
-
end
|
|
633
|
-
|
|
634
|
-
# GetBcosBlockByNumber返回参数结构体
|
|
635
|
-
class GetBcosBlockByNumberResponse < TencentCloud::Common::AbstractModel
|
|
636
|
-
# @param BlockJson: 返回区块json字符串
|
|
637
|
-
# @type BlockJson: String
|
|
638
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
639
|
-
# @type RequestId: String
|
|
640
|
-
|
|
641
|
-
attr_accessor :BlockJson, :RequestId
|
|
642
|
-
|
|
643
|
-
def initialize(blockjson=nil, requestid=nil)
|
|
644
|
-
@BlockJson = blockjson
|
|
645
|
-
@RequestId = requestid
|
|
646
|
-
end
|
|
647
|
-
|
|
648
|
-
def deserialize(params)
|
|
649
|
-
@BlockJson = params['BlockJson']
|
|
650
|
-
@RequestId = params['RequestId']
|
|
651
|
-
end
|
|
652
|
-
end
|
|
653
|
-
|
|
654
|
-
# GetBcosBlockList请求参数结构体
|
|
655
|
-
class GetBcosBlockListRequest < TencentCloud::Common::AbstractModel
|
|
656
|
-
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
|
|
657
|
-
# @type ClusterId: String
|
|
658
|
-
# @param GroupId: 群组编号,可在群组列表中获取
|
|
659
|
-
# @type GroupId: Integer
|
|
660
|
-
# @param PageNumber: 当前页数,默认为1
|
|
661
|
-
# @type PageNumber: Integer
|
|
662
|
-
# @param PageSize: 每页记录数,默认为10
|
|
663
|
-
# @type PageSize: Integer
|
|
664
|
-
# @param BlockNumber: 区块高度,可以从InvokeBcosTrans接口的返回值中解析获取
|
|
665
|
-
# @type BlockNumber: Integer
|
|
666
|
-
# @param BlockHash: 区块哈希,可以从InvokeBcosTrans接口的返回值中解析获取
|
|
667
|
-
# @type BlockHash: String
|
|
668
|
-
|
|
669
|
-
attr_accessor :ClusterId, :GroupId, :PageNumber, :PageSize, :BlockNumber, :BlockHash
|
|
670
|
-
|
|
671
|
-
def initialize(clusterid=nil, groupid=nil, pagenumber=nil, pagesize=nil, blocknumber=nil, blockhash=nil)
|
|
672
|
-
@ClusterId = clusterid
|
|
673
|
-
@GroupId = groupid
|
|
674
|
-
@PageNumber = pagenumber
|
|
675
|
-
@PageSize = pagesize
|
|
676
|
-
@BlockNumber = blocknumber
|
|
677
|
-
@BlockHash = blockhash
|
|
678
|
-
end
|
|
679
|
-
|
|
680
|
-
def deserialize(params)
|
|
681
|
-
@ClusterId = params['ClusterId']
|
|
682
|
-
@GroupId = params['GroupId']
|
|
683
|
-
@PageNumber = params['PageNumber']
|
|
684
|
-
@PageSize = params['PageSize']
|
|
685
|
-
@BlockNumber = params['BlockNumber']
|
|
686
|
-
@BlockHash = params['BlockHash']
|
|
687
|
-
end
|
|
688
|
-
end
|
|
689
|
-
|
|
690
|
-
# GetBcosBlockList返回参数结构体
|
|
691
|
-
class GetBcosBlockListResponse < TencentCloud::Common::AbstractModel
|
|
692
|
-
# @param TotalCount: 总记录数
|
|
693
|
-
# @type TotalCount: Integer
|
|
694
|
-
# @param List: 返回数据列表
|
|
695
|
-
# @type List: Array
|
|
696
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
697
|
-
# @type RequestId: String
|
|
698
|
-
|
|
699
|
-
attr_accessor :TotalCount, :List, :RequestId
|
|
700
|
-
|
|
701
|
-
def initialize(totalcount=nil, list=nil, requestid=nil)
|
|
702
|
-
@TotalCount = totalcount
|
|
703
|
-
@List = list
|
|
704
|
-
@RequestId = requestid
|
|
705
|
-
end
|
|
706
|
-
|
|
707
|
-
def deserialize(params)
|
|
708
|
-
@TotalCount = params['TotalCount']
|
|
709
|
-
unless params['List'].nil?
|
|
710
|
-
@List = []
|
|
711
|
-
params['List'].each do |i|
|
|
712
|
-
bcosblockobj_tmp = BcosBlockObj.new
|
|
713
|
-
bcosblockobj_tmp.deserialize(i)
|
|
714
|
-
@List << bcosblockobj_tmp
|
|
715
|
-
end
|
|
716
|
-
end
|
|
717
|
-
@RequestId = params['RequestId']
|
|
718
|
-
end
|
|
719
|
-
end
|
|
720
|
-
|
|
721
|
-
# GetBcosTransByHash请求参数结构体
|
|
722
|
-
class GetBcosTransByHashRequest < TencentCloud::Common::AbstractModel
|
|
723
|
-
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
|
|
724
|
-
# @type ClusterId: String
|
|
725
|
-
# @param GroupId: 群组编号,可在群组列表中获取
|
|
726
|
-
# @type GroupId: Integer
|
|
727
|
-
# @param TransHash: 交易哈希值,可以从InvokeBcosTrans接口的返回值中解析获取
|
|
728
|
-
# @type TransHash: String
|
|
729
|
-
|
|
730
|
-
attr_accessor :ClusterId, :GroupId, :TransHash
|
|
731
|
-
|
|
732
|
-
def initialize(clusterid=nil, groupid=nil, transhash=nil)
|
|
733
|
-
@ClusterId = clusterid
|
|
734
|
-
@GroupId = groupid
|
|
735
|
-
@TransHash = transhash
|
|
736
|
-
end
|
|
737
|
-
|
|
738
|
-
def deserialize(params)
|
|
739
|
-
@ClusterId = params['ClusterId']
|
|
740
|
-
@GroupId = params['GroupId']
|
|
741
|
-
@TransHash = params['TransHash']
|
|
742
|
-
end
|
|
743
|
-
end
|
|
744
|
-
|
|
745
|
-
# GetBcosTransByHash返回参数结构体
|
|
746
|
-
class GetBcosTransByHashResponse < TencentCloud::Common::AbstractModel
|
|
747
|
-
# @param TransactionJson: 交易信息json字符串
|
|
748
|
-
# @type TransactionJson: String
|
|
749
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
750
|
-
# @type RequestId: String
|
|
751
|
-
|
|
752
|
-
attr_accessor :TransactionJson, :RequestId
|
|
753
|
-
|
|
754
|
-
def initialize(transactionjson=nil, requestid=nil)
|
|
755
|
-
@TransactionJson = transactionjson
|
|
756
|
-
@RequestId = requestid
|
|
757
|
-
end
|
|
758
|
-
|
|
759
|
-
def deserialize(params)
|
|
760
|
-
@TransactionJson = params['TransactionJson']
|
|
761
|
-
@RequestId = params['RequestId']
|
|
762
|
-
end
|
|
763
|
-
end
|
|
764
|
-
|
|
765
|
-
# GetBcosTransList请求参数结构体
|
|
766
|
-
class GetBcosTransListRequest < TencentCloud::Common::AbstractModel
|
|
767
|
-
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
|
|
768
|
-
# @type ClusterId: String
|
|
769
|
-
# @param GroupId: 群组编号,可在群组列表中获取
|
|
770
|
-
# @type GroupId: Integer
|
|
771
|
-
# @param PageNumber: 当前页数,默认是1
|
|
772
|
-
# @type PageNumber: Integer
|
|
773
|
-
# @param PageSize: 每页记录数,默认为10
|
|
774
|
-
# @type PageSize: Integer
|
|
775
|
-
# @param BlockNumber: 区块高度,可以从InvokeBcosTrans接口的返回值中解析获取
|
|
776
|
-
# @type BlockNumber: Integer
|
|
777
|
-
# @param TransHash: 交易哈希,可以从InvokeBcosTrans接口的返回值中解析获取
|
|
778
|
-
# @type TransHash: String
|
|
779
|
-
|
|
780
|
-
attr_accessor :ClusterId, :GroupId, :PageNumber, :PageSize, :BlockNumber, :TransHash
|
|
781
|
-
|
|
782
|
-
def initialize(clusterid=nil, groupid=nil, pagenumber=nil, pagesize=nil, blocknumber=nil, transhash=nil)
|
|
783
|
-
@ClusterId = clusterid
|
|
784
|
-
@GroupId = groupid
|
|
785
|
-
@PageNumber = pagenumber
|
|
786
|
-
@PageSize = pagesize
|
|
787
|
-
@BlockNumber = blocknumber
|
|
788
|
-
@TransHash = transhash
|
|
789
|
-
end
|
|
790
|
-
|
|
791
|
-
def deserialize(params)
|
|
792
|
-
@ClusterId = params['ClusterId']
|
|
793
|
-
@GroupId = params['GroupId']
|
|
794
|
-
@PageNumber = params['PageNumber']
|
|
795
|
-
@PageSize = params['PageSize']
|
|
796
|
-
@BlockNumber = params['BlockNumber']
|
|
797
|
-
@TransHash = params['TransHash']
|
|
798
|
-
end
|
|
799
|
-
end
|
|
800
|
-
|
|
801
|
-
# GetBcosTransList返回参数结构体
|
|
802
|
-
class GetBcosTransListResponse < TencentCloud::Common::AbstractModel
|
|
803
|
-
# @param TotalCount: 总记录数
|
|
804
|
-
# @type TotalCount: Integer
|
|
805
|
-
# @param List: 返回数据列表
|
|
806
|
-
# @type List: Array
|
|
807
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
808
|
-
# @type RequestId: String
|
|
809
|
-
|
|
810
|
-
attr_accessor :TotalCount, :List, :RequestId
|
|
811
|
-
|
|
812
|
-
def initialize(totalcount=nil, list=nil, requestid=nil)
|
|
813
|
-
@TotalCount = totalcount
|
|
814
|
-
@List = list
|
|
815
|
-
@RequestId = requestid
|
|
816
|
-
end
|
|
817
|
-
|
|
818
|
-
def deserialize(params)
|
|
819
|
-
@TotalCount = params['TotalCount']
|
|
820
|
-
unless params['List'].nil?
|
|
821
|
-
@List = []
|
|
822
|
-
params['List'].each do |i|
|
|
823
|
-
bcostransinfo_tmp = BcosTransInfo.new
|
|
824
|
-
bcostransinfo_tmp.deserialize(i)
|
|
825
|
-
@List << bcostransinfo_tmp
|
|
826
|
-
end
|
|
827
|
-
end
|
|
828
|
-
@RequestId = params['RequestId']
|
|
829
|
-
end
|
|
830
|
-
end
|
|
831
|
-
|
|
832
470
|
# GetBlockList请求参数结构体
|
|
833
471
|
class GetBlockListRequest < TencentCloud::Common::AbstractModel
|
|
834
472
|
# @param Module: 模块名称,固定字段:block
|
|
@@ -1955,66 +1593,6 @@ module TencentCloud
|
|
|
1955
1593
|
end
|
|
1956
1594
|
end
|
|
1957
1595
|
|
|
1958
|
-
# InvokeBcosTrans请求参数结构体
|
|
1959
|
-
class InvokeBcosTransRequest < TencentCloud::Common::AbstractModel
|
|
1960
|
-
# @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
|
|
1961
|
-
# @type ClusterId: String
|
|
1962
|
-
# @param GroupId: 群组编号,可在群组列表中获取
|
|
1963
|
-
# @type GroupId: Integer
|
|
1964
|
-
# @param ContractAddress: 合约地址,可在合约详情获取
|
|
1965
|
-
# @type ContractAddress: String
|
|
1966
|
-
# @param AbiInfo: 合约Abi的json数组格式的字符串,可在合约详情获取
|
|
1967
|
-
# @type AbiInfo: String
|
|
1968
|
-
# @param FuncName: 合约方法名
|
|
1969
|
-
# @type FuncName: String
|
|
1970
|
-
# @param SignUserId: 签名用户编号,可在私钥管理页面获取
|
|
1971
|
-
# @type SignUserId: String
|
|
1972
|
-
# @param FuncParam: 合约方法入参,json格式字符串
|
|
1973
|
-
# @type FuncParam: String
|
|
1974
|
-
|
|
1975
|
-
attr_accessor :ClusterId, :GroupId, :ContractAddress, :AbiInfo, :FuncName, :SignUserId, :FuncParam
|
|
1976
|
-
|
|
1977
|
-
def initialize(clusterid=nil, groupid=nil, contractaddress=nil, abiinfo=nil, funcname=nil, signuserid=nil, funcparam=nil)
|
|
1978
|
-
@ClusterId = clusterid
|
|
1979
|
-
@GroupId = groupid
|
|
1980
|
-
@ContractAddress = contractaddress
|
|
1981
|
-
@AbiInfo = abiinfo
|
|
1982
|
-
@FuncName = funcname
|
|
1983
|
-
@SignUserId = signuserid
|
|
1984
|
-
@FuncParam = funcparam
|
|
1985
|
-
end
|
|
1986
|
-
|
|
1987
|
-
def deserialize(params)
|
|
1988
|
-
@ClusterId = params['ClusterId']
|
|
1989
|
-
@GroupId = params['GroupId']
|
|
1990
|
-
@ContractAddress = params['ContractAddress']
|
|
1991
|
-
@AbiInfo = params['AbiInfo']
|
|
1992
|
-
@FuncName = params['FuncName']
|
|
1993
|
-
@SignUserId = params['SignUserId']
|
|
1994
|
-
@FuncParam = params['FuncParam']
|
|
1995
|
-
end
|
|
1996
|
-
end
|
|
1997
|
-
|
|
1998
|
-
# InvokeBcosTrans返回参数结构体
|
|
1999
|
-
class InvokeBcosTransResponse < TencentCloud::Common::AbstractModel
|
|
2000
|
-
# @param TransactionRsp: 交易结果json字符串
|
|
2001
|
-
# @type TransactionRsp: String
|
|
2002
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2003
|
-
# @type RequestId: String
|
|
2004
|
-
|
|
2005
|
-
attr_accessor :TransactionRsp, :RequestId
|
|
2006
|
-
|
|
2007
|
-
def initialize(transactionrsp=nil, requestid=nil)
|
|
2008
|
-
@TransactionRsp = transactionrsp
|
|
2009
|
-
@RequestId = requestid
|
|
2010
|
-
end
|
|
2011
|
-
|
|
2012
|
-
def deserialize(params)
|
|
2013
|
-
@TransactionRsp = params['TransactionRsp']
|
|
2014
|
-
@RequestId = params['RequestId']
|
|
2015
|
-
end
|
|
2016
|
-
end
|
|
2017
|
-
|
|
2018
1596
|
# InvokeChainMakerContract请求参数结构体
|
|
2019
1597
|
class InvokeChainMakerContractRequest < TencentCloud::Common::AbstractModel
|
|
2020
1598
|
# @param ClusterId: 网络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.
|
|
4
|
+
version: 3.0.599
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-06-
|
|
11
|
+
date: 2023-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|