tencentcloud-sdk-btoe 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-btoe.rb +14 -0
- data/lib/v20210303/client.rb +349 -0
- data/lib/v20210303/models.rb +732 -0
- data/lib/v20210514/client.rb +349 -0
- data/lib/v20210514/models.rb +697 -0
- metadata +68 -0
@@ -0,0 +1,732 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Btoe
|
19
|
+
module V20210303
|
20
|
+
# CreateAudioDeposit请求参数结构体
|
21
|
+
class CreateAudioDepositRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
23
|
+
# @type EvidenceName: String
|
24
|
+
# @param FileName: 对应数据Base64文件名称
|
25
|
+
# @type FileName: String
|
26
|
+
# @param EvidenceHash: 文件hash
|
27
|
+
# @type EvidenceHash: String
|
28
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
29
|
+
# @type BusinessId: String
|
30
|
+
# @param FileContent: 数据Base64编码,大小不超过5M
|
31
|
+
# @type FileContent: String
|
32
|
+
# @param FileUrl: 资源访问链接 与fileContent必须二选一
|
33
|
+
# @type FileUrl: String
|
34
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
35
|
+
# @type HashType: Integer
|
36
|
+
# @param EvidenceDescription: 存证描述
|
37
|
+
# @type EvidenceDescription: String
|
38
|
+
|
39
|
+
attr_accessor :EvidenceName, :FileName, :EvidenceHash, :BusinessId, :FileContent, :FileUrl, :HashType, :EvidenceDescription
|
40
|
+
|
41
|
+
def initialize(evidencename=nil, filename=nil, evidencehash=nil, businessid=nil, filecontent=nil, fileurl=nil, hashtype=nil, evidencedescription=nil)
|
42
|
+
@EvidenceName = evidencename
|
43
|
+
@FileName = filename
|
44
|
+
@EvidenceHash = evidencehash
|
45
|
+
@BusinessId = businessid
|
46
|
+
@FileContent = filecontent
|
47
|
+
@FileUrl = fileurl
|
48
|
+
@HashType = hashtype
|
49
|
+
@EvidenceDescription = evidencedescription
|
50
|
+
end
|
51
|
+
|
52
|
+
def deserialize(params)
|
53
|
+
@EvidenceName = params['EvidenceName']
|
54
|
+
@FileName = params['FileName']
|
55
|
+
@EvidenceHash = params['EvidenceHash']
|
56
|
+
@BusinessId = params['BusinessId']
|
57
|
+
@FileContent = params['FileContent']
|
58
|
+
@FileUrl = params['FileUrl']
|
59
|
+
@HashType = params['HashType']
|
60
|
+
@EvidenceDescription = params['EvidenceDescription']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# CreateAudioDeposit返回参数结构体
|
65
|
+
class CreateAudioDepositResponse < TencentCloud::Common::AbstractModel
|
66
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
67
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
68
|
+
# @type BusinessId: String
|
69
|
+
# @param EvidenceId: 请求成功,返回存证编码,用于查询存证后续业务数据
|
70
|
+
# @type EvidenceId: String
|
71
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
72
|
+
# @type RequestId: String
|
73
|
+
|
74
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
75
|
+
|
76
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
77
|
+
@BusinessId = businessid
|
78
|
+
@EvidenceId = evidenceid
|
79
|
+
@RequestId = requestid
|
80
|
+
end
|
81
|
+
|
82
|
+
def deserialize(params)
|
83
|
+
@BusinessId = params['BusinessId']
|
84
|
+
@EvidenceId = params['EvidenceId']
|
85
|
+
@RequestId = params['RequestId']
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# CreateDataDeposit请求参数结构体
|
90
|
+
class CreateDataDepositRequest < TencentCloud::Common::AbstractModel
|
91
|
+
# @param EvidenceInfo: 业务数据明文(json格式字符串),最大256kb
|
92
|
+
# @type EvidenceInfo: String
|
93
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
94
|
+
# @type EvidenceName: String
|
95
|
+
# @param EvidenceHash: 数据hash
|
96
|
+
# @type EvidenceHash: String
|
97
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
98
|
+
# @type BusinessId: String
|
99
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
100
|
+
# @type HashType: Integer
|
101
|
+
# @param EvidenceDescription: 存证描述
|
102
|
+
# @type EvidenceDescription: String
|
103
|
+
|
104
|
+
attr_accessor :EvidenceInfo, :EvidenceName, :EvidenceHash, :BusinessId, :HashType, :EvidenceDescription
|
105
|
+
|
106
|
+
def initialize(evidenceinfo=nil, evidencename=nil, evidencehash=nil, businessid=nil, hashtype=nil, evidencedescription=nil)
|
107
|
+
@EvidenceInfo = evidenceinfo
|
108
|
+
@EvidenceName = evidencename
|
109
|
+
@EvidenceHash = evidencehash
|
110
|
+
@BusinessId = businessid
|
111
|
+
@HashType = hashtype
|
112
|
+
@EvidenceDescription = evidencedescription
|
113
|
+
end
|
114
|
+
|
115
|
+
def deserialize(params)
|
116
|
+
@EvidenceInfo = params['EvidenceInfo']
|
117
|
+
@EvidenceName = params['EvidenceName']
|
118
|
+
@EvidenceHash = params['EvidenceHash']
|
119
|
+
@BusinessId = params['BusinessId']
|
120
|
+
@HashType = params['HashType']
|
121
|
+
@EvidenceDescription = params['EvidenceDescription']
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# CreateDataDeposit返回参数结构体
|
126
|
+
class CreateDataDepositResponse < TencentCloud::Common::AbstractModel
|
127
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
128
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
129
|
+
# @type BusinessId: String
|
130
|
+
# @param EvidenceId: 请求成功,返回存证编码,用于查询存证后续业务数据
|
131
|
+
# @type EvidenceId: String
|
132
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
133
|
+
# @type RequestId: String
|
134
|
+
|
135
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
136
|
+
|
137
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
138
|
+
@BusinessId = businessid
|
139
|
+
@EvidenceId = evidenceid
|
140
|
+
@RequestId = requestid
|
141
|
+
end
|
142
|
+
|
143
|
+
def deserialize(params)
|
144
|
+
@BusinessId = params['BusinessId']
|
145
|
+
@EvidenceId = params['EvidenceId']
|
146
|
+
@RequestId = params['RequestId']
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# CreateDocDeposit请求参数结构体
|
151
|
+
class CreateDocDepositRequest < TencentCloud::Common::AbstractModel
|
152
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
153
|
+
# @type EvidenceName: String
|
154
|
+
# @param FileName: 对应数据Base64文件名称
|
155
|
+
# @type FileName: String
|
156
|
+
# @param EvidenceHash: 文件hash
|
157
|
+
# @type EvidenceHash: String
|
158
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
159
|
+
# @type BusinessId: String
|
160
|
+
# @param FileContent: 数据Base64编码,大小不超过5M
|
161
|
+
# @type FileContent: String
|
162
|
+
# @param FileUrl: 资源访问链接 与fileContent必须二选一
|
163
|
+
# @type FileUrl: String
|
164
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
165
|
+
# @type HashType: Integer
|
166
|
+
# @param EvidenceDescription: 存证描述
|
167
|
+
# @type EvidenceDescription: String
|
168
|
+
|
169
|
+
attr_accessor :EvidenceName, :FileName, :EvidenceHash, :BusinessId, :FileContent, :FileUrl, :HashType, :EvidenceDescription
|
170
|
+
|
171
|
+
def initialize(evidencename=nil, filename=nil, evidencehash=nil, businessid=nil, filecontent=nil, fileurl=nil, hashtype=nil, evidencedescription=nil)
|
172
|
+
@EvidenceName = evidencename
|
173
|
+
@FileName = filename
|
174
|
+
@EvidenceHash = evidencehash
|
175
|
+
@BusinessId = businessid
|
176
|
+
@FileContent = filecontent
|
177
|
+
@FileUrl = fileurl
|
178
|
+
@HashType = hashtype
|
179
|
+
@EvidenceDescription = evidencedescription
|
180
|
+
end
|
181
|
+
|
182
|
+
def deserialize(params)
|
183
|
+
@EvidenceName = params['EvidenceName']
|
184
|
+
@FileName = params['FileName']
|
185
|
+
@EvidenceHash = params['EvidenceHash']
|
186
|
+
@BusinessId = params['BusinessId']
|
187
|
+
@FileContent = params['FileContent']
|
188
|
+
@FileUrl = params['FileUrl']
|
189
|
+
@HashType = params['HashType']
|
190
|
+
@EvidenceDescription = params['EvidenceDescription']
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# CreateDocDeposit返回参数结构体
|
195
|
+
class CreateDocDepositResponse < TencentCloud::Common::AbstractModel
|
196
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
198
|
+
# @type BusinessId: String
|
199
|
+
# @param EvidenceId: 请求成功,返回存证编码,用于查询存证后续业务数据
|
200
|
+
# @type EvidenceId: String
|
201
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
202
|
+
# @type RequestId: String
|
203
|
+
|
204
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
205
|
+
|
206
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
207
|
+
@BusinessId = businessid
|
208
|
+
@EvidenceId = evidenceid
|
209
|
+
@RequestId = requestid
|
210
|
+
end
|
211
|
+
|
212
|
+
def deserialize(params)
|
213
|
+
@BusinessId = params['BusinessId']
|
214
|
+
@EvidenceId = params['EvidenceId']
|
215
|
+
@RequestId = params['RequestId']
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# CreateHashDepositNoCert请求参数结构体
|
220
|
+
class CreateHashDepositNoCertRequest < TencentCloud::Common::AbstractModel
|
221
|
+
# @param EvidenceHash: 数据hash
|
222
|
+
# @type EvidenceHash: String
|
223
|
+
# @param BusinessId: 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
|
224
|
+
# @type BusinessId: String
|
225
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
226
|
+
# @type HashType: Integer
|
227
|
+
# @param EvidenceInfo: 业务扩展信息
|
228
|
+
# @type EvidenceInfo: String
|
229
|
+
|
230
|
+
attr_accessor :EvidenceHash, :BusinessId, :HashType, :EvidenceInfo
|
231
|
+
|
232
|
+
def initialize(evidencehash=nil, businessid=nil, hashtype=nil, evidenceinfo=nil)
|
233
|
+
@EvidenceHash = evidencehash
|
234
|
+
@BusinessId = businessid
|
235
|
+
@HashType = hashtype
|
236
|
+
@EvidenceInfo = evidenceinfo
|
237
|
+
end
|
238
|
+
|
239
|
+
def deserialize(params)
|
240
|
+
@EvidenceHash = params['EvidenceHash']
|
241
|
+
@BusinessId = params['BusinessId']
|
242
|
+
@HashType = params['HashType']
|
243
|
+
@EvidenceInfo = params['EvidenceInfo']
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# CreateHashDepositNoCert返回参数结构体
|
248
|
+
class CreateHashDepositNoCertResponse < TencentCloud::Common::AbstractModel
|
249
|
+
# @param BusinessId: 透传字段
|
250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
251
|
+
# @type BusinessId: String
|
252
|
+
# @param EvidenceId: 存证编码
|
253
|
+
# @type EvidenceId: String
|
254
|
+
# @param EvidenceTime: 上链时间
|
255
|
+
# @type EvidenceTime: String
|
256
|
+
# @param EvidenceTxHash: 区块链交易哈希
|
257
|
+
# @type EvidenceTxHash: String
|
258
|
+
# @param BlockchainHeight: 区块高度
|
259
|
+
# @type BlockchainHeight: Integer
|
260
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
261
|
+
# @type RequestId: String
|
262
|
+
|
263
|
+
attr_accessor :BusinessId, :EvidenceId, :EvidenceTime, :EvidenceTxHash, :BlockchainHeight, :RequestId
|
264
|
+
|
265
|
+
def initialize(businessid=nil, evidenceid=nil, evidencetime=nil, evidencetxhash=nil, blockchainheight=nil, requestid=nil)
|
266
|
+
@BusinessId = businessid
|
267
|
+
@EvidenceId = evidenceid
|
268
|
+
@EvidenceTime = evidencetime
|
269
|
+
@EvidenceTxHash = evidencetxhash
|
270
|
+
@BlockchainHeight = blockchainheight
|
271
|
+
@RequestId = requestid
|
272
|
+
end
|
273
|
+
|
274
|
+
def deserialize(params)
|
275
|
+
@BusinessId = params['BusinessId']
|
276
|
+
@EvidenceId = params['EvidenceId']
|
277
|
+
@EvidenceTime = params['EvidenceTime']
|
278
|
+
@EvidenceTxHash = params['EvidenceTxHash']
|
279
|
+
@BlockchainHeight = params['BlockchainHeight']
|
280
|
+
@RequestId = params['RequestId']
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
# CreateHashDepositNoSeal请求参数结构体
|
285
|
+
class CreateHashDepositNoSealRequest < TencentCloud::Common::AbstractModel
|
286
|
+
# @param EvidenceHash: 数据hash
|
287
|
+
# @type EvidenceHash: String
|
288
|
+
# @param BusinessId: 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
|
289
|
+
# @type BusinessId: String
|
290
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
291
|
+
# @type HashType: Integer
|
292
|
+
# @param EvidenceInfo: 业务扩展信息
|
293
|
+
# @type EvidenceInfo: String
|
294
|
+
|
295
|
+
attr_accessor :EvidenceHash, :BusinessId, :HashType, :EvidenceInfo
|
296
|
+
|
297
|
+
def initialize(evidencehash=nil, businessid=nil, hashtype=nil, evidenceinfo=nil)
|
298
|
+
@EvidenceHash = evidencehash
|
299
|
+
@BusinessId = businessid
|
300
|
+
@HashType = hashtype
|
301
|
+
@EvidenceInfo = evidenceinfo
|
302
|
+
end
|
303
|
+
|
304
|
+
def deserialize(params)
|
305
|
+
@EvidenceHash = params['EvidenceHash']
|
306
|
+
@BusinessId = params['BusinessId']
|
307
|
+
@HashType = params['HashType']
|
308
|
+
@EvidenceInfo = params['EvidenceInfo']
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# CreateHashDepositNoSeal返回参数结构体
|
313
|
+
class CreateHashDepositNoSealResponse < TencentCloud::Common::AbstractModel
|
314
|
+
# @param BusinessId: 透传字段
|
315
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
316
|
+
# @type BusinessId: String
|
317
|
+
# @param EvidenceId: 存证编码
|
318
|
+
# @type EvidenceId: String
|
319
|
+
# @param EvidenceTime: 上链时间
|
320
|
+
# @type EvidenceTime: String
|
321
|
+
# @param EvidenceTxHash: 区块链交易哈希
|
322
|
+
# @type EvidenceTxHash: String
|
323
|
+
# @param BlockchainHeight: 区块高度
|
324
|
+
# @type BlockchainHeight: Integer
|
325
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
326
|
+
# @type RequestId: String
|
327
|
+
|
328
|
+
attr_accessor :BusinessId, :EvidenceId, :EvidenceTime, :EvidenceTxHash, :BlockchainHeight, :RequestId
|
329
|
+
|
330
|
+
def initialize(businessid=nil, evidenceid=nil, evidencetime=nil, evidencetxhash=nil, blockchainheight=nil, requestid=nil)
|
331
|
+
@BusinessId = businessid
|
332
|
+
@EvidenceId = evidenceid
|
333
|
+
@EvidenceTime = evidencetime
|
334
|
+
@EvidenceTxHash = evidencetxhash
|
335
|
+
@BlockchainHeight = blockchainheight
|
336
|
+
@RequestId = requestid
|
337
|
+
end
|
338
|
+
|
339
|
+
def deserialize(params)
|
340
|
+
@BusinessId = params['BusinessId']
|
341
|
+
@EvidenceId = params['EvidenceId']
|
342
|
+
@EvidenceTime = params['EvidenceTime']
|
343
|
+
@EvidenceTxHash = params['EvidenceTxHash']
|
344
|
+
@BlockchainHeight = params['BlockchainHeight']
|
345
|
+
@RequestId = params['RequestId']
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
# CreateHashDeposit请求参数结构体
|
350
|
+
class CreateHashDepositRequest < TencentCloud::Common::AbstractModel
|
351
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
352
|
+
# @type EvidenceName: String
|
353
|
+
# @param EvidenceHash: 数据hash
|
354
|
+
# @type EvidenceHash: String
|
355
|
+
# @param BusinessId: 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
|
356
|
+
# @type BusinessId: String
|
357
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
358
|
+
# @type HashType: Integer
|
359
|
+
# @param EvidenceDescription: 存证描述
|
360
|
+
# @type EvidenceDescription: String
|
361
|
+
|
362
|
+
attr_accessor :EvidenceName, :EvidenceHash, :BusinessId, :HashType, :EvidenceDescription
|
363
|
+
|
364
|
+
def initialize(evidencename=nil, evidencehash=nil, businessid=nil, hashtype=nil, evidencedescription=nil)
|
365
|
+
@EvidenceName = evidencename
|
366
|
+
@EvidenceHash = evidencehash
|
367
|
+
@BusinessId = businessid
|
368
|
+
@HashType = hashtype
|
369
|
+
@EvidenceDescription = evidencedescription
|
370
|
+
end
|
371
|
+
|
372
|
+
def deserialize(params)
|
373
|
+
@EvidenceName = params['EvidenceName']
|
374
|
+
@EvidenceHash = params['EvidenceHash']
|
375
|
+
@BusinessId = params['BusinessId']
|
376
|
+
@HashType = params['HashType']
|
377
|
+
@EvidenceDescription = params['EvidenceDescription']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# CreateHashDeposit返回参数结构体
|
382
|
+
class CreateHashDepositResponse < TencentCloud::Common::AbstractModel
|
383
|
+
# @param BusinessId: 透传字段
|
384
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
385
|
+
# @type BusinessId: String
|
386
|
+
# @param EvidenceId: 存证编码
|
387
|
+
# @type EvidenceId: String
|
388
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
389
|
+
# @type RequestId: String
|
390
|
+
|
391
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
392
|
+
|
393
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
394
|
+
@BusinessId = businessid
|
395
|
+
@EvidenceId = evidenceid
|
396
|
+
@RequestId = requestid
|
397
|
+
end
|
398
|
+
|
399
|
+
def deserialize(params)
|
400
|
+
@BusinessId = params['BusinessId']
|
401
|
+
@EvidenceId = params['EvidenceId']
|
402
|
+
@RequestId = params['RequestId']
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
# CreateImageDeposit请求参数结构体
|
407
|
+
class CreateImageDepositRequest < TencentCloud::Common::AbstractModel
|
408
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
409
|
+
# @type EvidenceName: String
|
410
|
+
# @param FileName: 对应数据Base64文件名称 test.png
|
411
|
+
# @type FileName: String
|
412
|
+
# @param EvidenceHash: 文件hash
|
413
|
+
# @type EvidenceHash: String
|
414
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
415
|
+
# @type BusinessId: String
|
416
|
+
# @param FileContent: 数据Base64编码,大小不超过5M
|
417
|
+
# @type FileContent: String
|
418
|
+
# @param FileUrl: 资源访问链接 与fileContent必须二选一
|
419
|
+
# @type FileUrl: String
|
420
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
421
|
+
# @type HashType: Integer
|
422
|
+
# @param EvidenceDescription: 存证描述
|
423
|
+
# @type EvidenceDescription: String
|
424
|
+
|
425
|
+
attr_accessor :EvidenceName, :FileName, :EvidenceHash, :BusinessId, :FileContent, :FileUrl, :HashType, :EvidenceDescription
|
426
|
+
|
427
|
+
def initialize(evidencename=nil, filename=nil, evidencehash=nil, businessid=nil, filecontent=nil, fileurl=nil, hashtype=nil, evidencedescription=nil)
|
428
|
+
@EvidenceName = evidencename
|
429
|
+
@FileName = filename
|
430
|
+
@EvidenceHash = evidencehash
|
431
|
+
@BusinessId = businessid
|
432
|
+
@FileContent = filecontent
|
433
|
+
@FileUrl = fileurl
|
434
|
+
@HashType = hashtype
|
435
|
+
@EvidenceDescription = evidencedescription
|
436
|
+
end
|
437
|
+
|
438
|
+
def deserialize(params)
|
439
|
+
@EvidenceName = params['EvidenceName']
|
440
|
+
@FileName = params['FileName']
|
441
|
+
@EvidenceHash = params['EvidenceHash']
|
442
|
+
@BusinessId = params['BusinessId']
|
443
|
+
@FileContent = params['FileContent']
|
444
|
+
@FileUrl = params['FileUrl']
|
445
|
+
@HashType = params['HashType']
|
446
|
+
@EvidenceDescription = params['EvidenceDescription']
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
# CreateImageDeposit返回参数结构体
|
451
|
+
class CreateImageDepositResponse < TencentCloud::Common::AbstractModel
|
452
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
453
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
454
|
+
# @type BusinessId: String
|
455
|
+
# @param EvidenceId: 请求成功,返回存证编码,用于查询存证后续业务数据
|
456
|
+
# @type EvidenceId: String
|
457
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
458
|
+
# @type RequestId: String
|
459
|
+
|
460
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
461
|
+
|
462
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
463
|
+
@BusinessId = businessid
|
464
|
+
@EvidenceId = evidenceid
|
465
|
+
@RequestId = requestid
|
466
|
+
end
|
467
|
+
|
468
|
+
def deserialize(params)
|
469
|
+
@BusinessId = params['BusinessId']
|
470
|
+
@EvidenceId = params['EvidenceId']
|
471
|
+
@RequestId = params['RequestId']
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
# CreateVideoDeposit请求参数结构体
|
476
|
+
class CreateVideoDepositRequest < TencentCloud::Common::AbstractModel
|
477
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
478
|
+
# @type EvidenceName: String
|
479
|
+
# @param FileName: 对应数据Base64文件名称
|
480
|
+
# @type FileName: String
|
481
|
+
# @param EvidenceHash: 文件hash
|
482
|
+
# @type EvidenceHash: String
|
483
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
484
|
+
# @type BusinessId: String
|
485
|
+
# @param FileContent: 数据Base64编码,大小不超过5M
|
486
|
+
# @type FileContent: String
|
487
|
+
# @param FileUrl: 资源访问链接 与fileContent必须二选一
|
488
|
+
# @type FileUrl: String
|
489
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
490
|
+
# @type HashType: Integer
|
491
|
+
# @param EvidenceDescription: 存证描述
|
492
|
+
# @type EvidenceDescription: String
|
493
|
+
|
494
|
+
attr_accessor :EvidenceName, :FileName, :EvidenceHash, :BusinessId, :FileContent, :FileUrl, :HashType, :EvidenceDescription
|
495
|
+
|
496
|
+
def initialize(evidencename=nil, filename=nil, evidencehash=nil, businessid=nil, filecontent=nil, fileurl=nil, hashtype=nil, evidencedescription=nil)
|
497
|
+
@EvidenceName = evidencename
|
498
|
+
@FileName = filename
|
499
|
+
@EvidenceHash = evidencehash
|
500
|
+
@BusinessId = businessid
|
501
|
+
@FileContent = filecontent
|
502
|
+
@FileUrl = fileurl
|
503
|
+
@HashType = hashtype
|
504
|
+
@EvidenceDescription = evidencedescription
|
505
|
+
end
|
506
|
+
|
507
|
+
def deserialize(params)
|
508
|
+
@EvidenceName = params['EvidenceName']
|
509
|
+
@FileName = params['FileName']
|
510
|
+
@EvidenceHash = params['EvidenceHash']
|
511
|
+
@BusinessId = params['BusinessId']
|
512
|
+
@FileContent = params['FileContent']
|
513
|
+
@FileUrl = params['FileUrl']
|
514
|
+
@HashType = params['HashType']
|
515
|
+
@EvidenceDescription = params['EvidenceDescription']
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
# CreateVideoDeposit返回参数结构体
|
520
|
+
class CreateVideoDepositResponse < TencentCloud::Common::AbstractModel
|
521
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
522
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
523
|
+
# @type BusinessId: String
|
524
|
+
# @param EvidenceId: 请求成功,返回存证编码,用于查询存证后续业务数据
|
525
|
+
# @type EvidenceId: String
|
526
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
527
|
+
# @type RequestId: String
|
528
|
+
|
529
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
530
|
+
|
531
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
532
|
+
@BusinessId = businessid
|
533
|
+
@EvidenceId = evidenceid
|
534
|
+
@RequestId = requestid
|
535
|
+
end
|
536
|
+
|
537
|
+
def deserialize(params)
|
538
|
+
@BusinessId = params['BusinessId']
|
539
|
+
@EvidenceId = params['EvidenceId']
|
540
|
+
@RequestId = params['RequestId']
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
# CreateWebpageDeposit请求参数结构体
|
545
|
+
class CreateWebpageDepositRequest < TencentCloud::Common::AbstractModel
|
546
|
+
# @param EvidenceName: 存证名称(长度最大30)
|
547
|
+
# @type EvidenceName: String
|
548
|
+
# @param EvidenceUrl: 网页链接
|
549
|
+
# @type EvidenceUrl: String
|
550
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
551
|
+
# @type BusinessId: String
|
552
|
+
# @param HashType: 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
|
553
|
+
# @type HashType: Integer
|
554
|
+
# @param EvidenceDescription: 存证描述
|
555
|
+
# @type EvidenceDescription: String
|
556
|
+
|
557
|
+
attr_accessor :EvidenceName, :EvidenceUrl, :BusinessId, :HashType, :EvidenceDescription
|
558
|
+
|
559
|
+
def initialize(evidencename=nil, evidenceurl=nil, businessid=nil, hashtype=nil, evidencedescription=nil)
|
560
|
+
@EvidenceName = evidencename
|
561
|
+
@EvidenceUrl = evidenceurl
|
562
|
+
@BusinessId = businessid
|
563
|
+
@HashType = hashtype
|
564
|
+
@EvidenceDescription = evidencedescription
|
565
|
+
end
|
566
|
+
|
567
|
+
def deserialize(params)
|
568
|
+
@EvidenceName = params['EvidenceName']
|
569
|
+
@EvidenceUrl = params['EvidenceUrl']
|
570
|
+
@BusinessId = params['BusinessId']
|
571
|
+
@HashType = params['HashType']
|
572
|
+
@EvidenceDescription = params['EvidenceDescription']
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
# CreateWebpageDeposit返回参数结构体
|
577
|
+
class CreateWebpageDepositResponse < TencentCloud::Common::AbstractModel
|
578
|
+
# @param BusinessId: 业务ID 透传 长度最大不超过64
|
579
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
580
|
+
# @type BusinessId: String
|
581
|
+
# @param EvidenceId: 请求成功,返回存证编码,用于查询存证后续业务数据
|
582
|
+
# @type EvidenceId: String
|
583
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
584
|
+
# @type RequestId: String
|
585
|
+
|
586
|
+
attr_accessor :BusinessId, :EvidenceId, :RequestId
|
587
|
+
|
588
|
+
def initialize(businessid=nil, evidenceid=nil, requestid=nil)
|
589
|
+
@BusinessId = businessid
|
590
|
+
@EvidenceId = evidenceid
|
591
|
+
@RequestId = requestid
|
592
|
+
end
|
593
|
+
|
594
|
+
def deserialize(params)
|
595
|
+
@BusinessId = params['BusinessId']
|
596
|
+
@EvidenceId = params['EvidenceId']
|
597
|
+
@RequestId = params['RequestId']
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
# GetDepositCert请求参数结构体
|
602
|
+
class GetDepositCertRequest < TencentCloud::Common::AbstractModel
|
603
|
+
# @param EvidenceId: 存证编码
|
604
|
+
# @type EvidenceId: String
|
605
|
+
|
606
|
+
attr_accessor :EvidenceId
|
607
|
+
|
608
|
+
def initialize(evidenceid=nil)
|
609
|
+
@EvidenceId = evidenceid
|
610
|
+
end
|
611
|
+
|
612
|
+
def deserialize(params)
|
613
|
+
@EvidenceId = params['EvidenceId']
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
# GetDepositCert返回参数结构体
|
618
|
+
class GetDepositCertResponse < TencentCloud::Common::AbstractModel
|
619
|
+
# @param EvidenceId: 存证编码
|
620
|
+
# @type EvidenceId: String
|
621
|
+
# @param EvidenceCert: 存证证书文件临时链接
|
622
|
+
# @type EvidenceCert: String
|
623
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
624
|
+
# @type RequestId: String
|
625
|
+
|
626
|
+
attr_accessor :EvidenceId, :EvidenceCert, :RequestId
|
627
|
+
|
628
|
+
def initialize(evidenceid=nil, evidencecert=nil, requestid=nil)
|
629
|
+
@EvidenceId = evidenceid
|
630
|
+
@EvidenceCert = evidencecert
|
631
|
+
@RequestId = requestid
|
632
|
+
end
|
633
|
+
|
634
|
+
def deserialize(params)
|
635
|
+
@EvidenceId = params['EvidenceId']
|
636
|
+
@EvidenceCert = params['EvidenceCert']
|
637
|
+
@RequestId = params['RequestId']
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# GetDepositFile请求参数结构体
|
642
|
+
class GetDepositFileRequest < TencentCloud::Common::AbstractModel
|
643
|
+
# @param EvidenceId: 存证编码
|
644
|
+
# @type EvidenceId: String
|
645
|
+
|
646
|
+
attr_accessor :EvidenceId
|
647
|
+
|
648
|
+
def initialize(evidenceid=nil)
|
649
|
+
@EvidenceId = evidenceid
|
650
|
+
end
|
651
|
+
|
652
|
+
def deserialize(params)
|
653
|
+
@EvidenceId = params['EvidenceId']
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
# GetDepositFile返回参数结构体
|
658
|
+
class GetDepositFileResponse < TencentCloud::Common::AbstractModel
|
659
|
+
# @param EvidenceId: 存证编号
|
660
|
+
# @type EvidenceId: String
|
661
|
+
# @param EvidenceFile: 存证文件临时链接
|
662
|
+
# @type EvidenceFile: String
|
663
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
664
|
+
# @type RequestId: String
|
665
|
+
|
666
|
+
attr_accessor :EvidenceId, :EvidenceFile, :RequestId
|
667
|
+
|
668
|
+
def initialize(evidenceid=nil, evidencefile=nil, requestid=nil)
|
669
|
+
@EvidenceId = evidenceid
|
670
|
+
@EvidenceFile = evidencefile
|
671
|
+
@RequestId = requestid
|
672
|
+
end
|
673
|
+
|
674
|
+
def deserialize(params)
|
675
|
+
@EvidenceId = params['EvidenceId']
|
676
|
+
@EvidenceFile = params['EvidenceFile']
|
677
|
+
@RequestId = params['RequestId']
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
681
|
+
# GetDepositInfo请求参数结构体
|
682
|
+
class GetDepositInfoRequest < TencentCloud::Common::AbstractModel
|
683
|
+
# @param EvidenceId: 存证编码
|
684
|
+
# @type EvidenceId: String
|
685
|
+
|
686
|
+
attr_accessor :EvidenceId
|
687
|
+
|
688
|
+
def initialize(evidenceid=nil)
|
689
|
+
@EvidenceId = evidenceid
|
690
|
+
end
|
691
|
+
|
692
|
+
def deserialize(params)
|
693
|
+
@EvidenceId = params['EvidenceId']
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
# GetDepositInfo返回参数结构体
|
698
|
+
class GetDepositInfoResponse < TencentCloud::Common::AbstractModel
|
699
|
+
# @param EvidenceId: 存证编号
|
700
|
+
# @type EvidenceId: String
|
701
|
+
# @param EvidenceTime: 上链时间
|
702
|
+
# @type EvidenceTime: String
|
703
|
+
# @param EvidenceTxHash: 区块链交易哈希
|
704
|
+
# @type EvidenceTxHash: String
|
705
|
+
# @param BlockchainHeight: 区块高度
|
706
|
+
# @type BlockchainHeight: Integer
|
707
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
708
|
+
# @type RequestId: String
|
709
|
+
|
710
|
+
attr_accessor :EvidenceId, :EvidenceTime, :EvidenceTxHash, :BlockchainHeight, :RequestId
|
711
|
+
|
712
|
+
def initialize(evidenceid=nil, evidencetime=nil, evidencetxhash=nil, blockchainheight=nil, requestid=nil)
|
713
|
+
@EvidenceId = evidenceid
|
714
|
+
@EvidenceTime = evidencetime
|
715
|
+
@EvidenceTxHash = evidencetxhash
|
716
|
+
@BlockchainHeight = blockchainheight
|
717
|
+
@RequestId = requestid
|
718
|
+
end
|
719
|
+
|
720
|
+
def deserialize(params)
|
721
|
+
@EvidenceId = params['EvidenceId']
|
722
|
+
@EvidenceTime = params['EvidenceTime']
|
723
|
+
@EvidenceTxHash = params['EvidenceTxHash']
|
724
|
+
@BlockchainHeight = params['BlockchainHeight']
|
725
|
+
@RequestId = params['RequestId']
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
end
|
730
|
+
end
|
731
|
+
end
|
732
|
+
|