tencentcloud-sdk-btoe 1.0.200

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