tencentcloud-sdk-tdid 3.0.452 → 3.0.453

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.
@@ -17,6 +17,481 @@
17
17
  module TencentCloud
18
18
  module Tdid
19
19
  module V20210519
20
+ # AddLabel请求参数结构体
21
+ class AddLabelRequest < TencentCloud::Common::AbstractModel
22
+ # @param LabelId: 标签ID
23
+ # @type LabelId: Integer
24
+ # @param Did: tdid
25
+ # @type Did: String
26
+
27
+ attr_accessor :LabelId, :Did
28
+
29
+ def initialize(labelid=nil, did=nil)
30
+ @LabelId = labelid
31
+ @Did = did
32
+ end
33
+
34
+ def deserialize(params)
35
+ @LabelId = params['LabelId']
36
+ @Did = params['Did']
37
+ end
38
+ end
39
+
40
+ # AddLabel返回参数结构体
41
+ class AddLabelResponse < TencentCloud::Common::AbstractModel
42
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
43
+ # @type RequestId: String
44
+
45
+ attr_accessor :RequestId
46
+
47
+ def initialize(requestid=nil)
48
+ @RequestId = requestid
49
+ end
50
+
51
+ def deserialize(params)
52
+ @RequestId = params['RequestId']
53
+ end
54
+ end
55
+
56
+ # 权威机构
57
+ class Authority < TencentCloud::Common::AbstractModel
58
+ # @param Id: 权威机构ID
59
+ # @type Id: Integer
60
+ # @param DidId: Did的ID
61
+ # @type DidId: Integer
62
+ # @param Did: DID具体信息
63
+ # @type Did: String
64
+ # @param Name: 机构名称
65
+ # @type Name: String
66
+ # @param Status: 权威认证 1:已认证,2:未认证
67
+ # @type Status: Integer
68
+ # @param DidServiceId: DID服务ID
69
+ # @type DidServiceId: Integer
70
+ # @param ContractAppId: 应用ID
71
+ # @type ContractAppId: Integer
72
+ # @param Remark: 备注
73
+ # @type Remark: String
74
+ # @param RegisterTime: 注册时间
75
+ # 注意:此字段可能返回 null,表示取不到有效值。
76
+ # @type RegisterTime: String
77
+ # @param RecognizeTime: 认证时间
78
+ # 注意:此字段可能返回 null,表示取不到有效值。
79
+ # @type RecognizeTime: String
80
+ # @param CreateTime: 生成时间
81
+ # 注意:此字段可能返回 null,表示取不到有效值。
82
+ # @type CreateTime: String
83
+ # @param UpdateTime: 更新时间
84
+ # 注意:此字段可能返回 null,表示取不到有效值。
85
+ # @type UpdateTime: String
86
+ # @param ClusterId: 网络ID
87
+ # @type ClusterId: String
88
+ # @param GroupId: 群组ID
89
+ # @type GroupId: Integer
90
+ # @param AppName: 合约名称
91
+ # @type AppName: String
92
+ # @param LabelName: 链上标签
93
+ # @type LabelName: String
94
+
95
+ attr_accessor :Id, :DidId, :Did, :Name, :Status, :DidServiceId, :ContractAppId, :Remark, :RegisterTime, :RecognizeTime, :CreateTime, :UpdateTime, :ClusterId, :GroupId, :AppName, :LabelName
96
+
97
+ def initialize(id=nil, didid=nil, did=nil, name=nil, status=nil, didserviceid=nil, contractappid=nil, remark=nil, registertime=nil, recognizetime=nil, createtime=nil, updatetime=nil, clusterid=nil, groupid=nil, appname=nil, labelname=nil)
98
+ @Id = id
99
+ @DidId = didid
100
+ @Did = did
101
+ @Name = name
102
+ @Status = status
103
+ @DidServiceId = didserviceid
104
+ @ContractAppId = contractappid
105
+ @Remark = remark
106
+ @RegisterTime = registertime
107
+ @RecognizeTime = recognizetime
108
+ @CreateTime = createtime
109
+ @UpdateTime = updatetime
110
+ @ClusterId = clusterid
111
+ @GroupId = groupid
112
+ @AppName = appname
113
+ @LabelName = labelname
114
+ end
115
+
116
+ def deserialize(params)
117
+ @Id = params['Id']
118
+ @DidId = params['DidId']
119
+ @Did = params['Did']
120
+ @Name = params['Name']
121
+ @Status = params['Status']
122
+ @DidServiceId = params['DidServiceId']
123
+ @ContractAppId = params['ContractAppId']
124
+ @Remark = params['Remark']
125
+ @RegisterTime = params['RegisterTime']
126
+ @RecognizeTime = params['RecognizeTime']
127
+ @CreateTime = params['CreateTime']
128
+ @UpdateTime = params['UpdateTime']
129
+ @ClusterId = params['ClusterId']
130
+ @GroupId = params['GroupId']
131
+ @AppName = params['AppName']
132
+ @LabelName = params['LabelName']
133
+ end
134
+ end
135
+
136
+ # bcos网络信息
137
+ class BcosClusterItem < TencentCloud::Common::AbstractModel
138
+ # @param ChainId: 网络索引id
139
+ # @type ChainId: Integer
140
+ # @param ChainName: 网络名称
141
+ # @type ChainName: String
142
+ # @param AgencyCount: 机构数量
143
+ # @type AgencyCount: Integer
144
+ # @param ConsortiumId: 联盟id
145
+ # @type ConsortiumId: Integer
146
+ # @param CreateTime: 创建时间
147
+ # @type CreateTime: String
148
+ # @param ExpireTime: 过期时间
149
+ # @type ExpireTime: String
150
+ # @param ChainStatus: 网络状态
151
+ # @type ChainStatus: Integer
152
+ # @param ResourceId: 资源 id
153
+ # @type ResourceId: String
154
+ # @param ClusterId: 集群id
155
+ # @type ClusterId: String
156
+ # @param ConsortiumName: 组织名称
157
+ # @type ConsortiumName: String
158
+ # @param AgencyId: 机构id
159
+ # @type AgencyId: Integer
160
+ # @param AutoRenewFlag: 续费状态
161
+ # @type AutoRenewFlag: Integer
162
+ # @param TotalNetworkNode: 网络模式
163
+ # @type TotalNetworkNode: Integer
164
+ # @param TotalCreateNode: 创建节点数
165
+ # @type TotalCreateNode: Integer
166
+ # @param TotalGroups: 总群组数量
167
+ # @type TotalGroups: Integer
168
+
169
+ attr_accessor :ChainId, :ChainName, :AgencyCount, :ConsortiumId, :CreateTime, :ExpireTime, :ChainStatus, :ResourceId, :ClusterId, :ConsortiumName, :AgencyId, :AutoRenewFlag, :TotalNetworkNode, :TotalCreateNode, :TotalGroups
170
+
171
+ def initialize(chainid=nil, chainname=nil, agencycount=nil, consortiumid=nil, createtime=nil, expiretime=nil, chainstatus=nil, resourceid=nil, clusterid=nil, consortiumname=nil, agencyid=nil, autorenewflag=nil, totalnetworknode=nil, totalcreatenode=nil, totalgroups=nil)
172
+ @ChainId = chainid
173
+ @ChainName = chainname
174
+ @AgencyCount = agencycount
175
+ @ConsortiumId = consortiumid
176
+ @CreateTime = createtime
177
+ @ExpireTime = expiretime
178
+ @ChainStatus = chainstatus
179
+ @ResourceId = resourceid
180
+ @ClusterId = clusterid
181
+ @ConsortiumName = consortiumname
182
+ @AgencyId = agencyid
183
+ @AutoRenewFlag = autorenewflag
184
+ @TotalNetworkNode = totalnetworknode
185
+ @TotalCreateNode = totalcreatenode
186
+ @TotalGroups = totalgroups
187
+ end
188
+
189
+ def deserialize(params)
190
+ @ChainId = params['ChainId']
191
+ @ChainName = params['ChainName']
192
+ @AgencyCount = params['AgencyCount']
193
+ @ConsortiumId = params['ConsortiumId']
194
+ @CreateTime = params['CreateTime']
195
+ @ExpireTime = params['ExpireTime']
196
+ @ChainStatus = params['ChainStatus']
197
+ @ResourceId = params['ResourceId']
198
+ @ClusterId = params['ClusterId']
199
+ @ConsortiumName = params['ConsortiumName']
200
+ @AgencyId = params['AgencyId']
201
+ @AutoRenewFlag = params['AutoRenewFlag']
202
+ @TotalNetworkNode = params['TotalNetworkNode']
203
+ @TotalCreateNode = params['TotalCreateNode']
204
+ @TotalGroups = params['TotalGroups']
205
+ end
206
+ end
207
+
208
+ # CancelAuthorityIssuer请求参数结构体
209
+ class CancelAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
210
+ # @param Did: did具体信息
211
+ # @type Did: String
212
+
213
+ attr_accessor :Did
214
+
215
+ def initialize(did=nil)
216
+ @Did = did
217
+ end
218
+
219
+ def deserialize(params)
220
+ @Did = params['Did']
221
+ end
222
+ end
223
+
224
+ # CancelAuthorityIssuer返回参数结构体
225
+ class CancelAuthorityIssuerResponse < TencentCloud::Common::AbstractModel
226
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
227
+ # @type RequestId: String
228
+
229
+ attr_accessor :RequestId
230
+
231
+ def initialize(requestid=nil)
232
+ @RequestId = requestid
233
+ end
234
+
235
+ def deserialize(params)
236
+ @RequestId = params['RequestId']
237
+ end
238
+ end
239
+
240
+ # CheckChain请求参数结构体
241
+ class CheckChainRequest < TencentCloud::Common::AbstractModel
242
+ # @param GroupId: 群组ID
243
+ # @type GroupId: Integer
244
+ # @param ClusterId: 网络ID
245
+ # @type ClusterId: String
246
+ # @param AgencyName: did服务机构名称
247
+ # @type AgencyName: String
248
+
249
+ attr_accessor :GroupId, :ClusterId, :AgencyName
250
+
251
+ def initialize(groupid=nil, clusterid=nil, agencyname=nil)
252
+ @GroupId = groupid
253
+ @ClusterId = clusterid
254
+ @AgencyName = agencyname
255
+ end
256
+
257
+ def deserialize(params)
258
+ @GroupId = params['GroupId']
259
+ @ClusterId = params['ClusterId']
260
+ @AgencyName = params['AgencyName']
261
+ end
262
+ end
263
+
264
+ # CheckChain返回参数结构体
265
+ class CheckChainResponse < TencentCloud::Common::AbstractModel
266
+ # @param RoleType: 1为盟主,0为非盟主
267
+ # @type RoleType: Integer
268
+ # @param ChainId: 链ID
269
+ # @type ChainId: String
270
+ # @param AppName: 应用名称
271
+ # @type AppName: String
272
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
273
+ # @type RequestId: String
274
+
275
+ attr_accessor :RoleType, :ChainId, :AppName, :RequestId
276
+
277
+ def initialize(roletype=nil, chainid=nil, appname=nil, requestid=nil)
278
+ @RoleType = roletype
279
+ @ChainId = chainid
280
+ @AppName = appname
281
+ @RequestId = requestid
282
+ end
283
+
284
+ def deserialize(params)
285
+ @RoleType = params['RoleType']
286
+ @ChainId = params['ChainId']
287
+ @AppName = params['AppName']
288
+ @RequestId = params['RequestId']
289
+ end
290
+ end
291
+
292
+ # CheckDidDeploy请求参数结构体
293
+ class CheckDidDeployRequest < TencentCloud::Common::AbstractModel
294
+ # @param TaskId: 任务ID
295
+ # @type TaskId: Integer
296
+
297
+ attr_accessor :TaskId
298
+
299
+ def initialize(taskid=nil)
300
+ @TaskId = taskid
301
+ end
302
+
303
+ def deserialize(params)
304
+ @TaskId = params['TaskId']
305
+ end
306
+ end
307
+
308
+ # CheckDidDeploy返回参数结构体
309
+ class CheckDidDeployResponse < TencentCloud::Common::AbstractModel
310
+ # @param Task: 服务信息
311
+ # @type Task: :class:`Tencentcloud::Tdid.v20210519.models.Task`
312
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
313
+ # @type RequestId: String
314
+
315
+ attr_accessor :Task, :RequestId
316
+
317
+ def initialize(task=nil, requestid=nil)
318
+ @Task = task
319
+ @RequestId = requestid
320
+ end
321
+
322
+ def deserialize(params)
323
+ unless params['Task'].nil?
324
+ @Task = Task.new
325
+ @Task.deserialize(params['Task'])
326
+ end
327
+ @RequestId = params['RequestId']
328
+ end
329
+ end
330
+
331
+ # 联盟信息
332
+ class ConsortiumItem < TencentCloud::Common::AbstractModel
333
+ # @param Id: 联盟id
334
+ # @type Id: Integer
335
+ # @param Name: 联盟名称
336
+ # @type Name: String
337
+
338
+ attr_accessor :Id, :Name
339
+
340
+ def initialize(id=nil, name=nil)
341
+ @Id = id
342
+ @Name = name
343
+ end
344
+
345
+ def deserialize(params)
346
+ @Id = params['Id']
347
+ @Name = params['Name']
348
+ end
349
+ end
350
+
351
+ # 部署合约
352
+ class Contract < TencentCloud::Common::AbstractModel
353
+ # @param ApplyName: 应用名
354
+ # @type ApplyName: String
355
+ # @param Enable: 合约状态 true:已启用 false:未启用
356
+ # @type Enable: Boolean
357
+ # @param Hash: 合约CNS地址
358
+ # @type Hash: String
359
+ # @param HashShow: 合约CNS地址脱敏
360
+ # @type HashShow: String
361
+ # @param WeId: 部署机构DID
362
+ # @type WeId: String
363
+ # @param DeployName: 部署机构名称
364
+ # @type DeployName: String
365
+ # @param GroupId: 部署群组
366
+ # @type GroupId: String
367
+ # @param CreateTime: 部署时间
368
+ # @type CreateTime: String
369
+
370
+ attr_accessor :ApplyName, :Enable, :Hash, :HashShow, :WeId, :DeployName, :GroupId, :CreateTime
371
+
372
+ def initialize(applyname=nil, enable=nil, hash=nil, hashshow=nil, weid=nil, deployname=nil, groupid=nil, createtime=nil)
373
+ @ApplyName = applyname
374
+ @Enable = enable
375
+ @Hash = hash
376
+ @HashShow = hashshow
377
+ @WeId = weid
378
+ @DeployName = deployname
379
+ @GroupId = groupid
380
+ @CreateTime = createtime
381
+ end
382
+
383
+ def deserialize(params)
384
+ @ApplyName = params['ApplyName']
385
+ @Enable = params['Enable']
386
+ @Hash = params['Hash']
387
+ @HashShow = params['HashShow']
388
+ @WeId = params['WeId']
389
+ @DeployName = params['DeployName']
390
+ @GroupId = params['GroupId']
391
+ @CreateTime = params['CreateTime']
392
+ end
393
+ end
394
+
395
+ # 模板颁发量排名
396
+ class CptIssueRank < TencentCloud::Common::AbstractModel
397
+ # @param CptName: 模板名称
398
+ # @type CptName: String
399
+ # @param Rank: 名次
400
+ # @type Rank: Integer
401
+ # @param Count: 颁发量
402
+ # @type Count: Integer
403
+ # @param ApplyName: 应用名称
404
+ # @type ApplyName: String
405
+ # @param ApplyId: 应用ID
406
+ # @type ApplyId: Integer
407
+
408
+ attr_accessor :CptName, :Rank, :Count, :ApplyName, :ApplyId
409
+
410
+ def initialize(cptname=nil, rank=nil, count=nil, applyname=nil, applyid=nil)
411
+ @CptName = cptname
412
+ @Rank = rank
413
+ @Count = count
414
+ @ApplyName = applyname
415
+ @ApplyId = applyid
416
+ end
417
+
418
+ def deserialize(params)
419
+ @CptName = params['CptName']
420
+ @Rank = params['Rank']
421
+ @Count = params['Count']
422
+ @ApplyName = params['ApplyName']
423
+ @ApplyId = params['ApplyId']
424
+ end
425
+ end
426
+
427
+ # cpt集合数据
428
+ class CptListData < TencentCloud::Common::AbstractModel
429
+ # @param Id: ID信息
430
+ # @type Id: Integer
431
+ # @param Name: 模版名称
432
+ # @type Name: String
433
+ # @param ClusterId: 网络ID
434
+ # @type ClusterId: String
435
+ # @param GroupId: 群组ID
436
+ # @type GroupId: Integer
437
+ # @param ServiceId: 服务ID
438
+ # @type ServiceId: Integer
439
+ # @param ContractAppId: 合约应用ID
440
+ # @type ContractAppId: Integer
441
+ # @param CptId: 凭证模板ID
442
+ # @type CptId: Integer
443
+ # @param CptType: 模板类型,1: 系统模板,2: 用户模板,3:普通模板
444
+ # @type CptType: Integer
445
+ # @param Description: 凭证模版描述
446
+ # @type Description: String
447
+ # @param CptJson: 凭证模板Json
448
+ # @type CptJson: String
449
+ # @param CreateTime: 创建时间
450
+ # @type CreateTime: String
451
+ # @param UpdateTime: 更新时间
452
+ # @type UpdateTime: String
453
+ # @param CreatorDid: 创建者DID
454
+ # @type CreatorDid: String
455
+ # @param AppName: 应用名称
456
+ # @type AppName: String
457
+
458
+ attr_accessor :Id, :Name, :ClusterId, :GroupId, :ServiceId, :ContractAppId, :CptId, :CptType, :Description, :CptJson, :CreateTime, :UpdateTime, :CreatorDid, :AppName
459
+
460
+ def initialize(id=nil, name=nil, clusterid=nil, groupid=nil, serviceid=nil, contractappid=nil, cptid=nil, cpttype=nil, description=nil, cptjson=nil, createtime=nil, updatetime=nil, creatordid=nil, appname=nil)
461
+ @Id = id
462
+ @Name = name
463
+ @ClusterId = clusterid
464
+ @GroupId = groupid
465
+ @ServiceId = serviceid
466
+ @ContractAppId = contractappid
467
+ @CptId = cptid
468
+ @CptType = cpttype
469
+ @Description = description
470
+ @CptJson = cptjson
471
+ @CreateTime = createtime
472
+ @UpdateTime = updatetime
473
+ @CreatorDid = creatordid
474
+ @AppName = appname
475
+ end
476
+
477
+ def deserialize(params)
478
+ @Id = params['Id']
479
+ @Name = params['Name']
480
+ @ClusterId = params['ClusterId']
481
+ @GroupId = params['GroupId']
482
+ @ServiceId = params['ServiceId']
483
+ @ContractAppId = params['ContractAppId']
484
+ @CptId = params['CptId']
485
+ @CptType = params['CptType']
486
+ @Description = params['Description']
487
+ @CptJson = params['CptJson']
488
+ @CreateTime = params['CreateTime']
489
+ @UpdateTime = params['UpdateTime']
490
+ @CreatorDid = params['CreatorDid']
491
+ @AppName = params['AppName']
492
+ end
493
+ end
494
+
20
495
  # CreateCredential请求参数结构体
21
496
  class CreateCredentialRequest < TencentCloud::Common::AbstractModel
22
497
  # @param FunctionArg: 参数集合,详见示例
@@ -71,340 +546,2463 @@ module TencentCloud
71
546
  end
72
547
  end
73
548
 
74
- # CreateSelectiveCredential请求参数结构体
75
- class CreateSelectiveCredentialRequest < TencentCloud::Common::AbstractModel
76
- # @param FunctionArg: 参数集合
77
- # @type FunctionArg: :class:`Tencentcloud::Tdid.v20210519.models.VerifyFunctionArg`
78
- # @param PolicyId: 批露策略id
79
- # @type PolicyId: Integer
549
+ # CreateDidService请求参数结构体
550
+ class CreateDidServiceRequest < TencentCloud::Common::AbstractModel
551
+ # @param ConsortiumName: 联盟名称
552
+ # @type ConsortiumName: String
553
+ # @param ConsortiumId: 联盟ID
554
+ # @type ConsortiumId: Integer
555
+ # @param GroupId: 群组ID
556
+ # @type GroupId: Integer
557
+ # @param AgencyName: 机构名称
558
+ # @type AgencyName: String
559
+ # @param AppName: 应用名称
560
+ # @type AppName: String
561
+ # @param ClusterId: 网络ID
562
+ # @type ClusterId: String
563
+ # @param GroupName: 群组名称
564
+ # @type GroupName: String
80
565
 
81
- attr_accessor :FunctionArg, :PolicyId
566
+ attr_accessor :ConsortiumName, :ConsortiumId, :GroupId, :AgencyName, :AppName, :ClusterId, :GroupName
82
567
 
83
- def initialize(functionarg=nil, policyid=nil)
84
- @FunctionArg = functionarg
85
- @PolicyId = policyid
568
+ def initialize(consortiumname=nil, consortiumid=nil, groupid=nil, agencyname=nil, appname=nil, clusterid=nil, groupname=nil)
569
+ @ConsortiumName = consortiumname
570
+ @ConsortiumId = consortiumid
571
+ @GroupId = groupid
572
+ @AgencyName = agencyname
573
+ @AppName = appname
574
+ @ClusterId = clusterid
575
+ @GroupName = groupname
86
576
  end
87
577
 
88
578
  def deserialize(params)
89
- unless params['FunctionArg'].nil?
90
- @FunctionArg = VerifyFunctionArg.new
91
- @FunctionArg.deserialize(params['FunctionArg'])
92
- end
93
- @PolicyId = params['PolicyId']
579
+ @ConsortiumName = params['ConsortiumName']
580
+ @ConsortiumId = params['ConsortiumId']
581
+ @GroupId = params['GroupId']
582
+ @AgencyName = params['AgencyName']
583
+ @AppName = params['AppName']
584
+ @ClusterId = params['ClusterId']
585
+ @GroupName = params['GroupName']
94
586
  end
95
587
  end
96
588
 
97
- # CreateSelectiveCredential返回参数结构体
98
- class CreateSelectiveCredentialResponse < TencentCloud::Common::AbstractModel
99
- # @param CredentialData: 凭证字符串
100
- # @type CredentialData: String
589
+ # CreateDidService返回参数结构体
590
+ class CreateDidServiceResponse < TencentCloud::Common::AbstractModel
591
+ # @param Task: 服务信息
592
+ # @type Task: :class:`Tencentcloud::Tdid.v20210519.models.Task`
101
593
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
102
594
  # @type RequestId: String
103
595
 
104
- attr_accessor :CredentialData, :RequestId
596
+ attr_accessor :Task, :RequestId
105
597
 
106
- def initialize(credentialdata=nil, requestid=nil)
107
- @CredentialData = credentialdata
598
+ def initialize(task=nil, requestid=nil)
599
+ @Task = task
108
600
  @RequestId = requestid
109
601
  end
110
602
 
111
603
  def deserialize(params)
112
- @CredentialData = params['CredentialData']
604
+ unless params['Task'].nil?
605
+ @Task = Task.new
606
+ @Task.deserialize(params['Task'])
607
+ end
113
608
  @RequestId = params['RequestId']
114
609
  end
115
610
  end
116
611
 
117
- # CreateTDidByPublicKey请求参数结构体
118
- class CreateTDidByPublicKeyRequest < TencentCloud::Common::AbstractModel
119
- # @param ClusterId: 网络ID
612
+ # CreateLabel请求参数结构体
613
+ class CreateLabelRequest < TencentCloud::Common::AbstractModel
614
+ # @param LabelName: 标签名称
615
+ # @type LabelName: String
616
+ # @param ClusterId: 网络Id
120
617
  # @type ClusterId: String
121
618
  # @param GroupId: 群组ID
122
619
  # @type GroupId: Integer
123
- # @param PublicKey: 身份公钥
124
- # @type PublicKey: String
125
- # @param EncryptPubKey: 加密公钥
126
- # @type EncryptPubKey: String
127
620
 
128
- attr_accessor :ClusterId, :GroupId, :PublicKey, :EncryptPubKey
621
+ attr_accessor :LabelName, :ClusterId, :GroupId
129
622
 
130
- def initialize(clusterid=nil, groupid=nil, publickey=nil, encryptpubkey=nil)
623
+ def initialize(labelname=nil, clusterid=nil, groupid=nil)
624
+ @LabelName = labelname
131
625
  @ClusterId = clusterid
132
626
  @GroupId = groupid
133
- @PublicKey = publickey
134
- @EncryptPubKey = encryptpubkey
135
627
  end
136
628
 
137
629
  def deserialize(params)
138
- @ClusterId = params['ClusterId']
139
- @GroupId = params['GroupId']
140
- @PublicKey = params['PublicKey']
141
- @EncryptPubKey = params['EncryptPubKey']
630
+ @LabelName = params['LabelName']
631
+ @ClusterId = params['ClusterId']
632
+ @GroupId = params['GroupId']
633
+ end
634
+ end
635
+
636
+ # CreateLabel返回参数结构体
637
+ class CreateLabelResponse < TencentCloud::Common::AbstractModel
638
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
639
+ # @type RequestId: String
640
+
641
+ attr_accessor :RequestId
642
+
643
+ def initialize(requestid=nil)
644
+ @RequestId = requestid
645
+ end
646
+
647
+ def deserialize(params)
648
+ @RequestId = params['RequestId']
649
+ end
650
+ end
651
+
652
+ # CreateSelectiveCredential请求参数结构体
653
+ class CreateSelectiveCredentialRequest < TencentCloud::Common::AbstractModel
654
+ # @param FunctionArg: 参数集合
655
+ # @type FunctionArg: :class:`Tencentcloud::Tdid.v20210519.models.VerifyFunctionArg`
656
+ # @param PolicyId: 批露策略id
657
+ # @type PolicyId: Integer
658
+
659
+ attr_accessor :FunctionArg, :PolicyId
660
+
661
+ def initialize(functionarg=nil, policyid=nil)
662
+ @FunctionArg = functionarg
663
+ @PolicyId = policyid
664
+ end
665
+
666
+ def deserialize(params)
667
+ unless params['FunctionArg'].nil?
668
+ @FunctionArg = VerifyFunctionArg.new
669
+ @FunctionArg.deserialize(params['FunctionArg'])
670
+ end
671
+ @PolicyId = params['PolicyId']
672
+ end
673
+ end
674
+
675
+ # CreateSelectiveCredential返回参数结构体
676
+ class CreateSelectiveCredentialResponse < TencentCloud::Common::AbstractModel
677
+ # @param CredentialData: 凭证字符串
678
+ # @type CredentialData: String
679
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ # @type RequestId: String
681
+
682
+ attr_accessor :CredentialData, :RequestId
683
+
684
+ def initialize(credentialdata=nil, requestid=nil)
685
+ @CredentialData = credentialdata
686
+ @RequestId = requestid
687
+ end
688
+
689
+ def deserialize(params)
690
+ @CredentialData = params['CredentialData']
691
+ @RequestId = params['RequestId']
692
+ end
693
+ end
694
+
695
+ # CreateTDidByPrivateKey请求参数结构体
696
+ class CreateTDidByPrivateKeyRequest < TencentCloud::Common::AbstractModel
697
+ # @param ClusterId: 网络ID
698
+ # @type ClusterId: String
699
+ # @param GroupId: 群组ID
700
+ # @type GroupId: Integer
701
+ # @param PrivateKey: 私钥
702
+ # @type PrivateKey: String
703
+
704
+ attr_accessor :ClusterId, :GroupId, :PrivateKey
705
+
706
+ def initialize(clusterid=nil, groupid=nil, privatekey=nil)
707
+ @ClusterId = clusterid
708
+ @GroupId = groupid
709
+ @PrivateKey = privatekey
710
+ end
711
+
712
+ def deserialize(params)
713
+ @ClusterId = params['ClusterId']
714
+ @GroupId = params['GroupId']
715
+ @PrivateKey = params['PrivateKey']
716
+ end
717
+ end
718
+
719
+ # CreateTDidByPrivateKey返回参数结构体
720
+ class CreateTDidByPrivateKeyResponse < TencentCloud::Common::AbstractModel
721
+ # @param Did: did的具体信息
722
+ # @type Did: String
723
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
724
+ # @type RequestId: String
725
+
726
+ attr_accessor :Did, :RequestId
727
+
728
+ def initialize(did=nil, requestid=nil)
729
+ @Did = did
730
+ @RequestId = requestid
731
+ end
732
+
733
+ def deserialize(params)
734
+ @Did = params['Did']
735
+ @RequestId = params['RequestId']
736
+ end
737
+ end
738
+
739
+ # CreateTDidByPublicKey请求参数结构体
740
+ class CreateTDidByPublicKeyRequest < TencentCloud::Common::AbstractModel
741
+ # @param ClusterId: 网络ID
742
+ # @type ClusterId: String
743
+ # @param GroupId: 群组ID
744
+ # @type GroupId: Integer
745
+ # @param PublicKey: 身份公钥
746
+ # @type PublicKey: String
747
+ # @param EncryptPubKey: 加密公钥
748
+ # @type EncryptPubKey: String
749
+
750
+ attr_accessor :ClusterId, :GroupId, :PublicKey, :EncryptPubKey
751
+
752
+ def initialize(clusterid=nil, groupid=nil, publickey=nil, encryptpubkey=nil)
753
+ @ClusterId = clusterid
754
+ @GroupId = groupid
755
+ @PublicKey = publickey
756
+ @EncryptPubKey = encryptpubkey
757
+ end
758
+
759
+ def deserialize(params)
760
+ @ClusterId = params['ClusterId']
761
+ @GroupId = params['GroupId']
762
+ @PublicKey = params['PublicKey']
763
+ @EncryptPubKey = params['EncryptPubKey']
764
+ end
765
+ end
766
+
767
+ # CreateTDidByPublicKey返回参数结构体
768
+ class CreateTDidByPublicKeyResponse < TencentCloud::Common::AbstractModel
769
+ # @param Did: did具体信息
770
+ # @type Did: String
771
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
772
+ # @type RequestId: String
773
+
774
+ attr_accessor :Did, :RequestId
775
+
776
+ def initialize(did=nil, requestid=nil)
777
+ @Did = did
778
+ @RequestId = requestid
779
+ end
780
+
781
+ def deserialize(params)
782
+ @Did = params['Did']
783
+ @RequestId = params['RequestId']
784
+ end
785
+ end
786
+
787
+ # CreateTDid请求参数结构体
788
+ class CreateTDidRequest < TencentCloud::Common::AbstractModel
789
+ # @param GroupId: 群组ID
790
+ # @type GroupId: Integer
791
+ # @param ClusterId: 网络ID
792
+ # @type ClusterId: String
793
+ # @param Relegation: 部署机构为1,否则为0
794
+ # @type Relegation: Integer
795
+
796
+ attr_accessor :GroupId, :ClusterId, :Relegation
797
+
798
+ def initialize(groupid=nil, clusterid=nil, relegation=nil)
799
+ @GroupId = groupid
800
+ @ClusterId = clusterid
801
+ @Relegation = relegation
802
+ end
803
+
804
+ def deserialize(params)
805
+ @GroupId = params['GroupId']
806
+ @ClusterId = params['ClusterId']
807
+ @Relegation = params['Relegation']
808
+ end
809
+ end
810
+
811
+ # CreateTDid返回参数结构体
812
+ class CreateTDidResponse < TencentCloud::Common::AbstractModel
813
+ # @param Did: TDID
814
+ # @type Did: String
815
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
816
+ # @type RequestId: String
817
+
818
+ attr_accessor :Did, :RequestId
819
+
820
+ def initialize(did=nil, requestid=nil)
821
+ @Did = did
822
+ @RequestId = requestid
823
+ end
824
+
825
+ def deserialize(params)
826
+ @Did = params['Did']
827
+ @RequestId = params['RequestId']
828
+ end
829
+ end
830
+
831
+ # 凭证链上状态信息
832
+ class CredentialStatus < TencentCloud::Common::AbstractModel
833
+ # @param CredentialId: 凭证唯一id
834
+ # @type CredentialId: String
835
+ # @param Status: 凭证状态(0:吊销;1:有效)
836
+ # @type Status: Integer
837
+ # @param Issuer: 凭证颁发者Did
838
+ # @type Issuer: String
839
+ # @param Digest: 凭证摘要
840
+ # 注意:此字段可能返回 null,表示取不到有效值。
841
+ # @type Digest: String
842
+ # @param Signature: 凭证签名
843
+ # 注意:此字段可能返回 null,表示取不到有效值。
844
+ # @type Signature: String
845
+ # @param TimeStamp: 更新时间戳
846
+ # 注意:此字段可能返回 null,表示取不到有效值。
847
+ # @type TimeStamp: Integer
848
+
849
+ attr_accessor :CredentialId, :Status, :Issuer, :Digest, :Signature, :TimeStamp
850
+
851
+ def initialize(credentialid=nil, status=nil, issuer=nil, digest=nil, signature=nil, timestamp=nil)
852
+ @CredentialId = credentialid
853
+ @Status = status
854
+ @Issuer = issuer
855
+ @Digest = digest
856
+ @Signature = signature
857
+ @TimeStamp = timestamp
858
+ end
859
+
860
+ def deserialize(params)
861
+ @CredentialId = params['CredentialId']
862
+ @Status = params['Status']
863
+ @Issuer = params['Issuer']
864
+ @Digest = params['Digest']
865
+ @Signature = params['Signature']
866
+ @TimeStamp = params['TimeStamp']
867
+ end
868
+ end
869
+
870
+ # DeployByName请求参数结构体
871
+ class DeployByNameRequest < TencentCloud::Common::AbstractModel
872
+ # @param ApplicationName: 应用名称
873
+ # @type ApplicationName: String
874
+ # @param ClusterId: 网络ID
875
+ # @type ClusterId: String
876
+ # @param GroupId: 群组ID
877
+ # @type GroupId: Integer
878
+
879
+ attr_accessor :ApplicationName, :ClusterId, :GroupId
880
+
881
+ def initialize(applicationname=nil, clusterid=nil, groupid=nil)
882
+ @ApplicationName = applicationname
883
+ @ClusterId = clusterid
884
+ @GroupId = groupid
885
+ end
886
+
887
+ def deserialize(params)
888
+ @ApplicationName = params['ApplicationName']
889
+ @ClusterId = params['ClusterId']
890
+ @GroupId = params['GroupId']
891
+ end
892
+ end
893
+
894
+ # DeployByName返回参数结构体
895
+ class DeployByNameResponse < TencentCloud::Common::AbstractModel
896
+ # @param Hash: 哈希值
897
+ # @type Hash: String
898
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
899
+ # @type RequestId: String
900
+
901
+ attr_accessor :Hash, :RequestId
902
+
903
+ def initialize(hash=nil, requestid=nil)
904
+ @Hash = hash
905
+ @RequestId = requestid
906
+ end
907
+
908
+ def deserialize(params)
909
+ @Hash = params['Hash']
910
+ @RequestId = params['RequestId']
911
+ end
912
+ end
913
+
914
+ # did区块链网络信息
915
+ class DidCluster < TencentCloud::Common::AbstractModel
916
+ # @param ChainId: 链ID
917
+ # @type ChainId: Integer
918
+ # @param ChainName: 链名称
919
+ # @type ChainName: String
920
+ # @param AgencyCount: 组织数量
921
+ # @type AgencyCount: Integer
922
+ # @param ConsortiumId: 联盟ID
923
+ # @type ConsortiumId: Integer
924
+ # @param CreateTime: 创建时间
925
+ # @type CreateTime: String
926
+ # @param ExpireTime: 过期时间
927
+ # @type ExpireTime: String
928
+ # @param ChainStatus: 网络状态
929
+ # @type ChainStatus: Integer
930
+ # @param ResourceId: 资源ID
931
+ # @type ResourceId: String
932
+ # @param ClusterId: 网络ID
933
+ # @type ClusterId: String
934
+ # @param ConsortiumName: 联盟名称
935
+ # @type ConsortiumName: String
936
+ # @param AgencyId: 组织ID
937
+ # @type AgencyId: Integer
938
+ # @param AutoRenewFlag: 自动续费
939
+ # @type AutoRenewFlag: Integer
940
+ # @param TotalNetworkNode: 网络节点总数
941
+ # @type TotalNetworkNode: Integer
942
+ # @param TotalCreateNode: 本机构节点数
943
+ # @type TotalCreateNode: Integer
944
+ # @param TotalGroups: 总群组数
945
+ # @type TotalGroups: Integer
946
+ # @param DidCount: DID总数
947
+ # @type DidCount: Integer
948
+
949
+ attr_accessor :ChainId, :ChainName, :AgencyCount, :ConsortiumId, :CreateTime, :ExpireTime, :ChainStatus, :ResourceId, :ClusterId, :ConsortiumName, :AgencyId, :AutoRenewFlag, :TotalNetworkNode, :TotalCreateNode, :TotalGroups, :DidCount
950
+
951
+ def initialize(chainid=nil, chainname=nil, agencycount=nil, consortiumid=nil, createtime=nil, expiretime=nil, chainstatus=nil, resourceid=nil, clusterid=nil, consortiumname=nil, agencyid=nil, autorenewflag=nil, totalnetworknode=nil, totalcreatenode=nil, totalgroups=nil, didcount=nil)
952
+ @ChainId = chainid
953
+ @ChainName = chainname
954
+ @AgencyCount = agencycount
955
+ @ConsortiumId = consortiumid
956
+ @CreateTime = createtime
957
+ @ExpireTime = expiretime
958
+ @ChainStatus = chainstatus
959
+ @ResourceId = resourceid
960
+ @ClusterId = clusterid
961
+ @ConsortiumName = consortiumname
962
+ @AgencyId = agencyid
963
+ @AutoRenewFlag = autorenewflag
964
+ @TotalNetworkNode = totalnetworknode
965
+ @TotalCreateNode = totalcreatenode
966
+ @TotalGroups = totalgroups
967
+ @DidCount = didcount
968
+ end
969
+
970
+ def deserialize(params)
971
+ @ChainId = params['ChainId']
972
+ @ChainName = params['ChainName']
973
+ @AgencyCount = params['AgencyCount']
974
+ @ConsortiumId = params['ConsortiumId']
975
+ @CreateTime = params['CreateTime']
976
+ @ExpireTime = params['ExpireTime']
977
+ @ChainStatus = params['ChainStatus']
978
+ @ResourceId = params['ResourceId']
979
+ @ClusterId = params['ClusterId']
980
+ @ConsortiumName = params['ConsortiumName']
981
+ @AgencyId = params['AgencyId']
982
+ @AutoRenewFlag = params['AutoRenewFlag']
983
+ @TotalNetworkNode = params['TotalNetworkNode']
984
+ @TotalCreateNode = params['TotalCreateNode']
985
+ @TotalGroups = params['TotalGroups']
986
+ @DidCount = params['DidCount']
987
+ end
988
+ end
989
+
990
+ # DID列表
991
+ class DidData < TencentCloud::Common::AbstractModel
992
+ # @param ServiceId: 服务ID
993
+ # @type ServiceId: Integer
994
+ # @param GroupId: 群组ID
995
+ # @type GroupId: Integer
996
+ # @param AppName: 应用名称
997
+ # @type AppName: String
998
+ # @param Did: did号码
999
+ # @type Did: String
1000
+ # @param Remark: 备注
1001
+ # @type Remark: String
1002
+ # @param AuthorityState: 权威机构认证状态 1未注册 2 未认证 3 已认证
1003
+ # @type AuthorityState: Integer
1004
+ # @param LabelName: DID标签名称
1005
+ # @type LabelName: String
1006
+ # @param CreatedAt: DID创建时间
1007
+ # @type CreatedAt: String
1008
+ # @param ClusterId: 网络ID
1009
+ # @type ClusterId: String
1010
+ # @param AllianceName: 联盟名称
1011
+ # @type AllianceName: String
1012
+ # @param LabelId: DID标签id
1013
+ # @type LabelId: Integer
1014
+
1015
+ attr_accessor :ServiceId, :GroupId, :AppName, :Did, :Remark, :AuthorityState, :LabelName, :CreatedAt, :ClusterId, :AllianceName, :LabelId
1016
+
1017
+ def initialize(serviceid=nil, groupid=nil, appname=nil, did=nil, remark=nil, authoritystate=nil, labelname=nil, createdat=nil, clusterid=nil, alliancename=nil, labelid=nil)
1018
+ @ServiceId = serviceid
1019
+ @GroupId = groupid
1020
+ @AppName = appname
1021
+ @Did = did
1022
+ @Remark = remark
1023
+ @AuthorityState = authoritystate
1024
+ @LabelName = labelname
1025
+ @CreatedAt = createdat
1026
+ @ClusterId = clusterid
1027
+ @AllianceName = alliancename
1028
+ @LabelId = labelid
1029
+ end
1030
+
1031
+ def deserialize(params)
1032
+ @ServiceId = params['ServiceId']
1033
+ @GroupId = params['GroupId']
1034
+ @AppName = params['AppName']
1035
+ @Did = params['Did']
1036
+ @Remark = params['Remark']
1037
+ @AuthorityState = params['AuthorityState']
1038
+ @LabelName = params['LabelName']
1039
+ @CreatedAt = params['CreatedAt']
1040
+ @ClusterId = params['ClusterId']
1041
+ @AllianceName = params['AllianceName']
1042
+ @LabelId = params['LabelId']
1043
+ end
1044
+ end
1045
+
1046
+ # DID服务基本信息
1047
+ class DidServiceInfo < TencentCloud::Common::AbstractModel
1048
+ # @param Id: DID服务索引
1049
+ # @type Id: Integer
1050
+ # @param Appid: 应用ID
1051
+ # @type Appid: Integer
1052
+ # @param Uin: 账号唯一标识
1053
+ # @type Uin: String
1054
+ # @param ConsortiumId: 联盟id
1055
+ # @type ConsortiumId: Integer
1056
+ # @param ConsortiumName: 联盟名称
1057
+ # @type ConsortiumName: String
1058
+ # @param ClusterId: 网络ID
1059
+ # @type ClusterId: String
1060
+ # @param GroupId: 群组ID
1061
+ # @type GroupId: Integer
1062
+ # @param ChainId: 链ID
1063
+ # @type ChainId: String
1064
+ # @param RoleType: 1为盟主,0为非盟主
1065
+ # @type RoleType: Integer
1066
+ # @param AgencyDid: 机构DID
1067
+ # @type AgencyDid: String
1068
+ # @param CreateOrg: 机构名称
1069
+ # @type CreateOrg: String
1070
+ # @param Endpoint: 端点
1071
+ # @type Endpoint: String
1072
+ # @param CreateTime: 生成时间
1073
+ # @type CreateTime: String
1074
+ # @param UpdateTime: 更新时间
1075
+ # @type UpdateTime: String
1076
+ # @param GroupName: 群组名称
1077
+ # @type GroupName: String
1078
+
1079
+ attr_accessor :Id, :Appid, :Uin, :ConsortiumId, :ConsortiumName, :ClusterId, :GroupId, :ChainId, :RoleType, :AgencyDid, :CreateOrg, :Endpoint, :CreateTime, :UpdateTime, :GroupName
1080
+
1081
+ def initialize(id=nil, appid=nil, uin=nil, consortiumid=nil, consortiumname=nil, clusterid=nil, groupid=nil, chainid=nil, roletype=nil, agencydid=nil, createorg=nil, endpoint=nil, createtime=nil, updatetime=nil, groupname=nil)
1082
+ @Id = id
1083
+ @Appid = appid
1084
+ @Uin = uin
1085
+ @ConsortiumId = consortiumid
1086
+ @ConsortiumName = consortiumname
1087
+ @ClusterId = clusterid
1088
+ @GroupId = groupid
1089
+ @ChainId = chainid
1090
+ @RoleType = roletype
1091
+ @AgencyDid = agencydid
1092
+ @CreateOrg = createorg
1093
+ @Endpoint = endpoint
1094
+ @CreateTime = createtime
1095
+ @UpdateTime = updatetime
1096
+ @GroupName = groupname
1097
+ end
1098
+
1099
+ def deserialize(params)
1100
+ @Id = params['Id']
1101
+ @Appid = params['Appid']
1102
+ @Uin = params['Uin']
1103
+ @ConsortiumId = params['ConsortiumId']
1104
+ @ConsortiumName = params['ConsortiumName']
1105
+ @ClusterId = params['ClusterId']
1106
+ @GroupId = params['GroupId']
1107
+ @ChainId = params['ChainId']
1108
+ @RoleType = params['RoleType']
1109
+ @AgencyDid = params['AgencyDid']
1110
+ @CreateOrg = params['CreateOrg']
1111
+ @Endpoint = params['Endpoint']
1112
+ @CreateTime = params['CreateTime']
1113
+ @UpdateTime = params['UpdateTime']
1114
+ @GroupName = params['GroupName']
1115
+ end
1116
+ end
1117
+
1118
+ # DownCpt请求参数结构体
1119
+ class DownCptRequest < TencentCloud::Common::AbstractModel
1120
+ # @param CptIndex: Cpt索引
1121
+ # @type CptIndex: Integer
1122
+
1123
+ attr_accessor :CptIndex
1124
+
1125
+ def initialize(cptindex=nil)
1126
+ @CptIndex = cptindex
1127
+ end
1128
+
1129
+ def deserialize(params)
1130
+ @CptIndex = params['CptIndex']
1131
+ end
1132
+ end
1133
+
1134
+ # DownCpt返回参数结构体
1135
+ class DownCptResponse < TencentCloud::Common::AbstractModel
1136
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1137
+ # @type RequestId: String
1138
+
1139
+ attr_accessor :RequestId
1140
+
1141
+ def initialize(requestid=nil)
1142
+ @RequestId = requestid
1143
+ end
1144
+
1145
+ def deserialize(params)
1146
+ @RequestId = params['RequestId']
1147
+ end
1148
+ end
1149
+
1150
+ # EnableHash请求参数结构体
1151
+ class EnableHashRequest < TencentCloud::Common::AbstractModel
1152
+ # @param Hash: 合约CNS地址
1153
+ # @type Hash: String
1154
+
1155
+ attr_accessor :Hash
1156
+
1157
+ def initialize(hash=nil)
1158
+ @Hash = hash
1159
+ end
1160
+
1161
+ def deserialize(params)
1162
+ @Hash = params['Hash']
1163
+ end
1164
+ end
1165
+
1166
+ # EnableHash返回参数结构体
1167
+ class EnableHashResponse < TencentCloud::Common::AbstractModel
1168
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1169
+ # @type RequestId: String
1170
+
1171
+ attr_accessor :RequestId
1172
+
1173
+ def initialize(requestid=nil)
1174
+ @RequestId = requestid
1175
+ end
1176
+
1177
+ def deserialize(params)
1178
+ @RequestId = params['RequestId']
1179
+ end
1180
+ end
1181
+
1182
+ # 创建凭证入参的FunctionArg
1183
+ class FunctionArg < TencentCloud::Common::AbstractModel
1184
+ # @param CptId: CPT ID
1185
+ # @type CptId: Integer
1186
+ # @param Issuer: 签发者 did
1187
+ # @type Issuer: String
1188
+ # @param ExpirationDate: 过期时间
1189
+ # @type ExpirationDate: String
1190
+ # @param ClaimJson: 声明
1191
+ # @type ClaimJson: String
1192
+
1193
+ attr_accessor :CptId, :Issuer, :ExpirationDate, :ClaimJson
1194
+
1195
+ def initialize(cptid=nil, issuer=nil, expirationdate=nil, claimjson=nil)
1196
+ @CptId = cptid
1197
+ @Issuer = issuer
1198
+ @ExpirationDate = expirationdate
1199
+ @ClaimJson = claimjson
1200
+ end
1201
+
1202
+ def deserialize(params)
1203
+ @CptId = params['CptId']
1204
+ @Issuer = params['Issuer']
1205
+ @ExpirationDate = params['ExpirationDate']
1206
+ @ClaimJson = params['ClaimJson']
1207
+ end
1208
+ end
1209
+
1210
+ # GetAgencyTDid请求参数结构体
1211
+ class GetAgencyTDidRequest < TencentCloud::Common::AbstractModel
1212
+ # @param ClusterId: 网络ID
1213
+ # @type ClusterId: String
1214
+
1215
+ attr_accessor :ClusterId
1216
+
1217
+ def initialize(clusterid=nil)
1218
+ @ClusterId = clusterid
1219
+ end
1220
+
1221
+ def deserialize(params)
1222
+ @ClusterId = params['ClusterId']
1223
+ end
1224
+ end
1225
+
1226
+ # GetAgencyTDid返回参数结构体
1227
+ class GetAgencyTDidResponse < TencentCloud::Common::AbstractModel
1228
+ # @param Prefix: 固定前缀
1229
+ # @type Prefix: String
1230
+ # @param Identity: did详情
1231
+ # @type Identity: Array
1232
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1233
+ # @type RequestId: String
1234
+
1235
+ attr_accessor :Prefix, :Identity, :RequestId
1236
+
1237
+ def initialize(prefix=nil, identity=nil, requestid=nil)
1238
+ @Prefix = prefix
1239
+ @Identity = identity
1240
+ @RequestId = requestid
1241
+ end
1242
+
1243
+ def deserialize(params)
1244
+ @Prefix = params['Prefix']
1245
+ unless params['Identity'].nil?
1246
+ @Identity = []
1247
+ params['Identity'].each do |i|
1248
+ identity_tmp = Identity.new
1249
+ identity_tmp.deserialize(i)
1250
+ @Identity << identity_tmp
1251
+ end
1252
+ end
1253
+ @RequestId = params['RequestId']
1254
+ end
1255
+ end
1256
+
1257
+ # GetAuthoritiesList请求参数结构体
1258
+ class GetAuthoritiesListRequest < TencentCloud::Common::AbstractModel
1259
+ # @param PageNumber: 页码,从1开始
1260
+ # @type PageNumber: Integer
1261
+ # @param PageSize: 每页大小
1262
+ # @type PageSize: Integer
1263
+ # @param Did: Did信息
1264
+ # @type Did: String
1265
+ # @param Status: 权威认证 1:已认证,2:未认证
1266
+ # @type Status: Integer
1267
+
1268
+ attr_accessor :PageNumber, :PageSize, :Did, :Status
1269
+
1270
+ def initialize(pagenumber=nil, pagesize=nil, did=nil, status=nil)
1271
+ @PageNumber = pagenumber
1272
+ @PageSize = pagesize
1273
+ @Did = did
1274
+ @Status = status
1275
+ end
1276
+
1277
+ def deserialize(params)
1278
+ @PageNumber = params['PageNumber']
1279
+ @PageSize = params['PageSize']
1280
+ @Did = params['Did']
1281
+ @Status = params['Status']
1282
+ end
1283
+ end
1284
+
1285
+ # GetAuthoritiesList返回参数结构体
1286
+ class GetAuthoritiesListResponse < TencentCloud::Common::AbstractModel
1287
+ # @param ResultList: 数据集合
1288
+ # @type ResultList: Array
1289
+ # @param AllCount: 总数
1290
+ # @type AllCount: Integer
1291
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1292
+ # @type RequestId: String
1293
+
1294
+ attr_accessor :ResultList, :AllCount, :RequestId
1295
+
1296
+ def initialize(resultlist=nil, allcount=nil, requestid=nil)
1297
+ @ResultList = resultlist
1298
+ @AllCount = allcount
1299
+ @RequestId = requestid
1300
+ end
1301
+
1302
+ def deserialize(params)
1303
+ unless params['ResultList'].nil?
1304
+ @ResultList = []
1305
+ params['ResultList'].each do |i|
1306
+ authority_tmp = Authority.new
1307
+ authority_tmp.deserialize(i)
1308
+ @ResultList << authority_tmp
1309
+ end
1310
+ end
1311
+ @AllCount = params['AllCount']
1312
+ @RequestId = params['RequestId']
1313
+ end
1314
+ end
1315
+
1316
+ # GetAuthorityIssuer请求参数结构体
1317
+ class GetAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
1318
+ # @param Did: tdid
1319
+ # @type Did: String
1320
+
1321
+ attr_accessor :Did
1322
+
1323
+ def initialize(did=nil)
1324
+ @Did = did
1325
+ end
1326
+
1327
+ def deserialize(params)
1328
+ @Did = params['Did']
1329
+ end
1330
+ end
1331
+
1332
+ # GetAuthorityIssuer返回参数结构体
1333
+ class GetAuthorityIssuerResponse < TencentCloud::Common::AbstractModel
1334
+ # @param Name: 名称
1335
+ # @type Name: String
1336
+ # @param ClusterId: 区块链网络id
1337
+ # @type ClusterId: String
1338
+ # @param GroupId: 区块链群组id
1339
+ # @type GroupId: Integer
1340
+ # @param Did: 权威机构did
1341
+ # @type Did: String
1342
+ # @param Remark: 机构备注信息
1343
+ # @type Remark: String
1344
+ # @param RegisterTime: 注册时间
1345
+ # @type RegisterTime: String
1346
+ # @param RecognizeTime: 认证时间
1347
+ # @type RecognizeTime: String
1348
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1349
+ # @type RequestId: String
1350
+
1351
+ attr_accessor :Name, :ClusterId, :GroupId, :Did, :Remark, :RegisterTime, :RecognizeTime, :RequestId
1352
+
1353
+ def initialize(name=nil, clusterid=nil, groupid=nil, did=nil, remark=nil, registertime=nil, recognizetime=nil, requestid=nil)
1354
+ @Name = name
1355
+ @ClusterId = clusterid
1356
+ @GroupId = groupid
1357
+ @Did = did
1358
+ @Remark = remark
1359
+ @RegisterTime = registertime
1360
+ @RecognizeTime = recognizetime
1361
+ @RequestId = requestid
1362
+ end
1363
+
1364
+ def deserialize(params)
1365
+ @Name = params['Name']
1366
+ @ClusterId = params['ClusterId']
1367
+ @GroupId = params['GroupId']
1368
+ @Did = params['Did']
1369
+ @Remark = params['Remark']
1370
+ @RegisterTime = params['RegisterTime']
1371
+ @RecognizeTime = params['RecognizeTime']
1372
+ @RequestId = params['RequestId']
1373
+ end
1374
+ end
1375
+
1376
+ # GetConsortiumClusterList请求参数结构体
1377
+ class GetConsortiumClusterListRequest < TencentCloud::Common::AbstractModel
1378
+ # @param ConsortiumId: 联盟id
1379
+ # @type ConsortiumId: Integer
1380
+
1381
+ attr_accessor :ConsortiumId
1382
+
1383
+ def initialize(consortiumid=nil)
1384
+ @ConsortiumId = consortiumid
1385
+ end
1386
+
1387
+ def deserialize(params)
1388
+ @ConsortiumId = params['ConsortiumId']
1389
+ end
1390
+ end
1391
+
1392
+ # GetConsortiumClusterList返回参数结构体
1393
+ class GetConsortiumClusterListResponse < TencentCloud::Common::AbstractModel
1394
+ # @param ClusterList: 网络列表
1395
+ # @type ClusterList: Array
1396
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1397
+ # @type RequestId: String
1398
+
1399
+ attr_accessor :ClusterList, :RequestId
1400
+
1401
+ def initialize(clusterlist=nil, requestid=nil)
1402
+ @ClusterList = clusterlist
1403
+ @RequestId = requestid
1404
+ end
1405
+
1406
+ def deserialize(params)
1407
+ unless params['ClusterList'].nil?
1408
+ @ClusterList = []
1409
+ params['ClusterList'].each do |i|
1410
+ bcosclusteritem_tmp = BcosClusterItem.new
1411
+ bcosclusteritem_tmp.deserialize(i)
1412
+ @ClusterList << bcosclusteritem_tmp
1413
+ end
1414
+ end
1415
+ @RequestId = params['RequestId']
1416
+ end
1417
+ end
1418
+
1419
+ # GetConsortiumList请求参数结构体
1420
+ class GetConsortiumListRequest < TencentCloud::Common::AbstractModel
1421
+
1422
+
1423
+ def initialize()
1424
+ end
1425
+
1426
+ def deserialize(params)
1427
+ end
1428
+ end
1429
+
1430
+ # GetConsortiumList返回参数结构体
1431
+ class GetConsortiumListResponse < TencentCloud::Common::AbstractModel
1432
+ # @param ConsortiumList: 联盟列表
1433
+ # @type ConsortiumList: Array
1434
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1435
+ # @type RequestId: String
1436
+
1437
+ attr_accessor :ConsortiumList, :RequestId
1438
+
1439
+ def initialize(consortiumlist=nil, requestid=nil)
1440
+ @ConsortiumList = consortiumlist
1441
+ @RequestId = requestid
1442
+ end
1443
+
1444
+ def deserialize(params)
1445
+ unless params['ConsortiumList'].nil?
1446
+ @ConsortiumList = []
1447
+ params['ConsortiumList'].each do |i|
1448
+ consortiumitem_tmp = ConsortiumItem.new
1449
+ consortiumitem_tmp.deserialize(i)
1450
+ @ConsortiumList << consortiumitem_tmp
1451
+ end
1452
+ end
1453
+ @RequestId = params['RequestId']
1454
+ end
1455
+ end
1456
+
1457
+ # GetCptInfo请求参数结构体
1458
+ class GetCptInfoRequest < TencentCloud::Common::AbstractModel
1459
+ # @param CptIndex: Cpt索引
1460
+ # @type CptIndex: Integer
1461
+
1462
+ attr_accessor :CptIndex
1463
+
1464
+ def initialize(cptindex=nil)
1465
+ @CptIndex = cptindex
1466
+ end
1467
+
1468
+ def deserialize(params)
1469
+ @CptIndex = params['CptIndex']
1470
+ end
1471
+ end
1472
+
1473
+ # GetCptInfo返回参数结构体
1474
+ class GetCptInfoResponse < TencentCloud::Common::AbstractModel
1475
+ # @param CptJsonData: CptJsonData的具体信息
1476
+ # @type CptJsonData: String
1477
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1478
+ # @type RequestId: String
1479
+
1480
+ attr_accessor :CptJsonData, :RequestId
1481
+
1482
+ def initialize(cptjsondata=nil, requestid=nil)
1483
+ @CptJsonData = cptjsondata
1484
+ @RequestId = requestid
1485
+ end
1486
+
1487
+ def deserialize(params)
1488
+ @CptJsonData = params['CptJsonData']
1489
+ @RequestId = params['RequestId']
1490
+ end
1491
+ end
1492
+
1493
+ # GetCptList请求参数结构体
1494
+ class GetCptListRequest < TencentCloud::Common::AbstractModel
1495
+ # @param DisplayStart: 起始位置
1496
+ # @type DisplayStart: Integer
1497
+ # @param DisplayLength: 长度
1498
+ # @type DisplayLength: Integer
1499
+ # @param CptType: 模板类型,0: 所有模板,1: 系统模板,2: 用户模板,3:普通模板
1500
+ # @type CptType: Integer
1501
+
1502
+ attr_accessor :DisplayStart, :DisplayLength, :CptType
1503
+
1504
+ def initialize(displaystart=nil, displaylength=nil, cpttype=nil)
1505
+ @DisplayStart = displaystart
1506
+ @DisplayLength = displaylength
1507
+ @CptType = cpttype
1508
+ end
1509
+
1510
+ def deserialize(params)
1511
+ @DisplayStart = params['DisplayStart']
1512
+ @DisplayLength = params['DisplayLength']
1513
+ @CptType = params['CptType']
1514
+ end
1515
+ end
1516
+
1517
+ # GetCptList返回参数结构体
1518
+ class GetCptListResponse < TencentCloud::Common::AbstractModel
1519
+ # @param CptDataList: cpt数据集合
1520
+ # @type CptDataList: Array
1521
+ # @param AllCount: 凭证模板总数
1522
+ # @type AllCount: Integer
1523
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1524
+ # @type RequestId: String
1525
+
1526
+ attr_accessor :CptDataList, :AllCount, :RequestId
1527
+
1528
+ def initialize(cptdatalist=nil, allcount=nil, requestid=nil)
1529
+ @CptDataList = cptdatalist
1530
+ @AllCount = allcount
1531
+ @RequestId = requestid
1532
+ end
1533
+
1534
+ def deserialize(params)
1535
+ unless params['CptDataList'].nil?
1536
+ @CptDataList = []
1537
+ params['CptDataList'].each do |i|
1538
+ cptlistdata_tmp = CptListData.new
1539
+ cptlistdata_tmp.deserialize(i)
1540
+ @CptDataList << cptlistdata_tmp
1541
+ end
1542
+ end
1543
+ @AllCount = params['AllCount']
1544
+ @RequestId = params['RequestId']
1545
+ end
1546
+ end
1547
+
1548
+ # GetCredentialCptRank请求参数结构体
1549
+ class GetCredentialCptRankRequest < TencentCloud::Common::AbstractModel
1550
+ # @param StartTime: 开始时间(支持到天 2021-4-23)
1551
+ # @type StartTime: String
1552
+ # @param EndTime: 结束时间(支持到天 2021-4-23)
1553
+ # @type EndTime: String
1554
+ # @param ClusterId: 网络ID
1555
+ # @type ClusterId: String
1556
+
1557
+ attr_accessor :StartTime, :EndTime, :ClusterId
1558
+
1559
+ def initialize(starttime=nil, endtime=nil, clusterid=nil)
1560
+ @StartTime = starttime
1561
+ @EndTime = endtime
1562
+ @ClusterId = clusterid
1563
+ end
1564
+
1565
+ def deserialize(params)
1566
+ @StartTime = params['StartTime']
1567
+ @EndTime = params['EndTime']
1568
+ @ClusterId = params['ClusterId']
1569
+ end
1570
+ end
1571
+
1572
+ # GetCredentialCptRank返回参数结构体
1573
+ class GetCredentialCptRankResponse < TencentCloud::Common::AbstractModel
1574
+ # @param RankIssueResult: Rank集合
1575
+ # @type RankIssueResult: Array
1576
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1577
+ # @type RequestId: String
1578
+
1579
+ attr_accessor :RankIssueResult, :RequestId
1580
+
1581
+ def initialize(rankissueresult=nil, requestid=nil)
1582
+ @RankIssueResult = rankissueresult
1583
+ @RequestId = requestid
1584
+ end
1585
+
1586
+ def deserialize(params)
1587
+ unless params['RankIssueResult'].nil?
1588
+ @RankIssueResult = []
1589
+ params['RankIssueResult'].each do |i|
1590
+ cptissuerank_tmp = CptIssueRank.new
1591
+ cptissuerank_tmp.deserialize(i)
1592
+ @RankIssueResult << cptissuerank_tmp
1593
+ end
1594
+ end
1595
+ @RequestId = params['RequestId']
1596
+ end
1597
+ end
1598
+
1599
+ # GetCredentialIssueRank请求参数结构体
1600
+ class GetCredentialIssueRankRequest < TencentCloud::Common::AbstractModel
1601
+ # @param StartTime: 开始时间(支持到天 2021-4-23)
1602
+ # @type StartTime: String
1603
+ # @param EndTime: 结束时间(支持到天 2021-4-23)
1604
+ # @type EndTime: String
1605
+ # @param ClusterId: 网络ID
1606
+ # @type ClusterId: String
1607
+
1608
+ attr_accessor :StartTime, :EndTime, :ClusterId
1609
+
1610
+ def initialize(starttime=nil, endtime=nil, clusterid=nil)
1611
+ @StartTime = starttime
1612
+ @EndTime = endtime
1613
+ @ClusterId = clusterid
1614
+ end
1615
+
1616
+ def deserialize(params)
1617
+ @StartTime = params['StartTime']
1618
+ @EndTime = params['EndTime']
1619
+ @ClusterId = params['ClusterId']
1620
+ end
1621
+ end
1622
+
1623
+ # GetCredentialIssueRank返回参数结构体
1624
+ class GetCredentialIssueRankResponse < TencentCloud::Common::AbstractModel
1625
+ # @param RankIssueResult: Rank集合
1626
+ # @type RankIssueResult: Array
1627
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1628
+ # @type RequestId: String
1629
+
1630
+ attr_accessor :RankIssueResult, :RequestId
1631
+
1632
+ def initialize(rankissueresult=nil, requestid=nil)
1633
+ @RankIssueResult = rankissueresult
1634
+ @RequestId = requestid
1635
+ end
1636
+
1637
+ def deserialize(params)
1638
+ unless params['RankIssueResult'].nil?
1639
+ @RankIssueResult = []
1640
+ params['RankIssueResult'].each do |i|
1641
+ cptissuerank_tmp = CptIssueRank.new
1642
+ cptissuerank_tmp.deserialize(i)
1643
+ @RankIssueResult << cptissuerank_tmp
1644
+ end
1645
+ end
1646
+ @RequestId = params['RequestId']
1647
+ end
1648
+ end
1649
+
1650
+ # GetCredentialIssueTrend请求参数结构体
1651
+ class GetCredentialIssueTrendRequest < TencentCloud::Common::AbstractModel
1652
+ # @param StartTime: 开始时间(支持到天 2021-4-23)
1653
+ # @type StartTime: String
1654
+ # @param EndTime: 结束时间(支持到天 2021-4-23)
1655
+ # @type EndTime: String
1656
+ # @param ClusterId: 网络ID
1657
+ # @type ClusterId: String
1658
+
1659
+ attr_accessor :StartTime, :EndTime, :ClusterId
1660
+
1661
+ def initialize(starttime=nil, endtime=nil, clusterid=nil)
1662
+ @StartTime = starttime
1663
+ @EndTime = endtime
1664
+ @ClusterId = clusterid
1665
+ end
1666
+
1667
+ def deserialize(params)
1668
+ @StartTime = params['StartTime']
1669
+ @EndTime = params['EndTime']
1670
+ @ClusterId = params['ClusterId']
1671
+ end
1672
+ end
1673
+
1674
+ # GetCredentialIssueTrend返回参数结构体
1675
+ class GetCredentialIssueTrendResponse < TencentCloud::Common::AbstractModel
1676
+ # @param Trend: Trend集合
1677
+ # @type Trend: Array
1678
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1679
+ # @type RequestId: String
1680
+
1681
+ attr_accessor :Trend, :RequestId
1682
+
1683
+ def initialize(trend=nil, requestid=nil)
1684
+ @Trend = trend
1685
+ @RequestId = requestid
1686
+ end
1687
+
1688
+ def deserialize(params)
1689
+ unless params['Trend'].nil?
1690
+ @Trend = []
1691
+ params['Trend'].each do |i|
1692
+ trend_tmp = Trend.new
1693
+ trend_tmp.deserialize(i)
1694
+ @Trend << trend_tmp
1695
+ end
1696
+ end
1697
+ @RequestId = params['RequestId']
1698
+ end
1699
+ end
1700
+
1701
+ # GetCredentialStatus请求参数结构体
1702
+ class GetCredentialStatusRequest < TencentCloud::Common::AbstractModel
1703
+ # @param CredentialId: 凭证id
1704
+ # @type CredentialId: String
1705
+
1706
+ attr_accessor :CredentialId
1707
+
1708
+ def initialize(credentialid=nil)
1709
+ @CredentialId = credentialid
1710
+ end
1711
+
1712
+ def deserialize(params)
1713
+ @CredentialId = params['CredentialId']
1714
+ end
1715
+ end
1716
+
1717
+ # GetCredentialStatus返回参数结构体
1718
+ class GetCredentialStatusResponse < TencentCloud::Common::AbstractModel
1719
+ # @param CredentialStatus: 凭证状态信息
1720
+ # @type CredentialStatus: :class:`Tencentcloud::Tdid.v20210519.models.CredentialStatus`
1721
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1722
+ # @type RequestId: String
1723
+
1724
+ attr_accessor :CredentialStatus, :RequestId
1725
+
1726
+ def initialize(credentialstatus=nil, requestid=nil)
1727
+ @CredentialStatus = credentialstatus
1728
+ @RequestId = requestid
1729
+ end
1730
+
1731
+ def deserialize(params)
1732
+ unless params['CredentialStatus'].nil?
1733
+ @CredentialStatus = CredentialStatus.new
1734
+ @CredentialStatus.deserialize(params['CredentialStatus'])
1735
+ end
1736
+ @RequestId = params['RequestId']
1737
+ end
1738
+ end
1739
+
1740
+ # GetDataPanel请求参数结构体
1741
+ class GetDataPanelRequest < TencentCloud::Common::AbstractModel
1742
+ # @param ClusterId: 网络ID
1743
+ # @type ClusterId: String
1744
+
1745
+ attr_accessor :ClusterId
1746
+
1747
+ def initialize(clusterid=nil)
1748
+ @ClusterId = clusterid
1749
+ end
1750
+
1751
+ def deserialize(params)
1752
+ @ClusterId = params['ClusterId']
1753
+ end
1754
+ end
1755
+
1756
+ # GetDataPanel返回参数结构体
1757
+ class GetDataPanelResponse < TencentCloud::Common::AbstractModel
1758
+ # @param BlockNetworkCount: 区块链网络数量
1759
+ # @type BlockNetworkCount: Integer
1760
+ # @param BlockNetworkName: 区块链网络名称
1761
+ # @type BlockNetworkName: String
1762
+ # @param BlockHeight: 当前区块高度
1763
+ # @type BlockHeight: Integer
1764
+ # @param BlockNetworkType: 区块链网络类型
1765
+ # @type BlockNetworkType: Integer
1766
+ # @param DidCount: did数量
1767
+ # @type DidCount: Integer
1768
+ # @param CptCount: 凭证模版数量
1769
+ # @type CptCount: Integer
1770
+ # @param CertificatedAuthCount: 已认证权威机构数量
1771
+ # @type CertificatedAuthCount: Integer
1772
+ # @param IssueCptCount: 颁发凭证数量
1773
+ # @type IssueCptCount: Integer
1774
+ # @param NewDidCount: 本周新增DID数量
1775
+ # @type NewDidCount: Integer
1776
+ # @param BcosCount: BCOS网络类型数量
1777
+ # @type BcosCount: Integer
1778
+ # @param FabricCount: Fabric网络类型数量
1779
+ # @type FabricCount: Integer
1780
+ # @param ChainMakerCount: 长安链网络类型数量
1781
+ # @type ChainMakerCount: Integer
1782
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1783
+ # @type RequestId: String
1784
+
1785
+ attr_accessor :BlockNetworkCount, :BlockNetworkName, :BlockHeight, :BlockNetworkType, :DidCount, :CptCount, :CertificatedAuthCount, :IssueCptCount, :NewDidCount, :BcosCount, :FabricCount, :ChainMakerCount, :RequestId
1786
+
1787
+ def initialize(blocknetworkcount=nil, blocknetworkname=nil, blockheight=nil, blocknetworktype=nil, didcount=nil, cptcount=nil, certificatedauthcount=nil, issuecptcount=nil, newdidcount=nil, bcoscount=nil, fabriccount=nil, chainmakercount=nil, requestid=nil)
1788
+ @BlockNetworkCount = blocknetworkcount
1789
+ @BlockNetworkName = blocknetworkname
1790
+ @BlockHeight = blockheight
1791
+ @BlockNetworkType = blocknetworktype
1792
+ @DidCount = didcount
1793
+ @CptCount = cptcount
1794
+ @CertificatedAuthCount = certificatedauthcount
1795
+ @IssueCptCount = issuecptcount
1796
+ @NewDidCount = newdidcount
1797
+ @BcosCount = bcoscount
1798
+ @FabricCount = fabriccount
1799
+ @ChainMakerCount = chainmakercount
1800
+ @RequestId = requestid
1801
+ end
1802
+
1803
+ def deserialize(params)
1804
+ @BlockNetworkCount = params['BlockNetworkCount']
1805
+ @BlockNetworkName = params['BlockNetworkName']
1806
+ @BlockHeight = params['BlockHeight']
1807
+ @BlockNetworkType = params['BlockNetworkType']
1808
+ @DidCount = params['DidCount']
1809
+ @CptCount = params['CptCount']
1810
+ @CertificatedAuthCount = params['CertificatedAuthCount']
1811
+ @IssueCptCount = params['IssueCptCount']
1812
+ @NewDidCount = params['NewDidCount']
1813
+ @BcosCount = params['BcosCount']
1814
+ @FabricCount = params['FabricCount']
1815
+ @ChainMakerCount = params['ChainMakerCount']
1816
+ @RequestId = params['RequestId']
1817
+ end
1818
+ end
1819
+
1820
+ # GetDeployInfo请求参数结构体
1821
+ class GetDeployInfoRequest < TencentCloud::Common::AbstractModel
1822
+ # @param Hash: 合约CNS地址
1823
+ # @type Hash: String
1824
+
1825
+ attr_accessor :Hash
1826
+
1827
+ def initialize(hash=nil)
1828
+ @Hash = hash
1829
+ end
1830
+
1831
+ def deserialize(params)
1832
+ @Hash = params['Hash']
1833
+ end
1834
+ end
1835
+
1836
+ # GetDeployInfo返回参数结构体
1837
+ class GetDeployInfoResponse < TencentCloud::Common::AbstractModel
1838
+ # @param Hash: 合约CNS地址
1839
+ # @type Hash: String
1840
+ # @param GroupId: 合约主群组ID
1841
+ # @type GroupId: String
1842
+ # @param DeployDid: 部署机构DID
1843
+ # @type DeployDid: String
1844
+ # @param SdkVersion: TDID SDK版本
1845
+ # @type SdkVersion: String
1846
+ # @param ContractVersion: TDID 合约版本
1847
+ # @type ContractVersion: String
1848
+ # @param BlockVersion: 区块链节点版本
1849
+ # @type BlockVersion: String
1850
+ # @param BlockIp: 区块链节点IP
1851
+ # @type BlockIp: String
1852
+ # @param DidAddress: DID合约地址
1853
+ # @type DidAddress: String
1854
+ # @param CptAddress: CPT合约地址
1855
+ # @type CptAddress: String
1856
+ # @param AuthorityAddress: Authority Issuer地址
1857
+ # @type AuthorityAddress: String
1858
+ # @param EvidenceAddress: Evidence合约地址
1859
+ # @type EvidenceAddress: String
1860
+ # @param SpecificAddress: Specific Issuer合约地址
1861
+ # @type SpecificAddress: String
1862
+ # @param ChainId: 链ID
1863
+ # @type ChainId: String
1864
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1865
+ # @type RequestId: String
1866
+
1867
+ attr_accessor :Hash, :GroupId, :DeployDid, :SdkVersion, :ContractVersion, :BlockVersion, :BlockIp, :DidAddress, :CptAddress, :AuthorityAddress, :EvidenceAddress, :SpecificAddress, :ChainId, :RequestId
1868
+
1869
+ def initialize(hash=nil, groupid=nil, deploydid=nil, sdkversion=nil, contractversion=nil, blockversion=nil, blockip=nil, didaddress=nil, cptaddress=nil, authorityaddress=nil, evidenceaddress=nil, specificaddress=nil, chainid=nil, requestid=nil)
1870
+ @Hash = hash
1871
+ @GroupId = groupid
1872
+ @DeployDid = deploydid
1873
+ @SdkVersion = sdkversion
1874
+ @ContractVersion = contractversion
1875
+ @BlockVersion = blockversion
1876
+ @BlockIp = blockip
1877
+ @DidAddress = didaddress
1878
+ @CptAddress = cptaddress
1879
+ @AuthorityAddress = authorityaddress
1880
+ @EvidenceAddress = evidenceaddress
1881
+ @SpecificAddress = specificaddress
1882
+ @ChainId = chainid
1883
+ @RequestId = requestid
1884
+ end
1885
+
1886
+ def deserialize(params)
1887
+ @Hash = params['Hash']
1888
+ @GroupId = params['GroupId']
1889
+ @DeployDid = params['DeployDid']
1890
+ @SdkVersion = params['SdkVersion']
1891
+ @ContractVersion = params['ContractVersion']
1892
+ @BlockVersion = params['BlockVersion']
1893
+ @BlockIp = params['BlockIp']
1894
+ @DidAddress = params['DidAddress']
1895
+ @CptAddress = params['CptAddress']
1896
+ @AuthorityAddress = params['AuthorityAddress']
1897
+ @EvidenceAddress = params['EvidenceAddress']
1898
+ @SpecificAddress = params['SpecificAddress']
1899
+ @ChainId = params['ChainId']
1900
+ @RequestId = params['RequestId']
1901
+ end
1902
+ end
1903
+
1904
+ # GetDeployList请求参数结构体
1905
+ class GetDeployListRequest < TencentCloud::Common::AbstractModel
1906
+ # @param ClusterId: 网络ID
1907
+ # @type ClusterId: String
1908
+ # @param GroupId: 群组ID
1909
+ # @type GroupId: Integer
1910
+ # @param DisplayStart: 起始位置
1911
+ # @type DisplayStart: Integer
1912
+ # @param DisplayLength: 长度
1913
+ # @type DisplayLength: Integer
1914
+
1915
+ attr_accessor :ClusterId, :GroupId, :DisplayStart, :DisplayLength
1916
+
1917
+ def initialize(clusterid=nil, groupid=nil, displaystart=nil, displaylength=nil)
1918
+ @ClusterId = clusterid
1919
+ @GroupId = groupid
1920
+ @DisplayStart = displaystart
1921
+ @DisplayLength = displaylength
1922
+ end
1923
+
1924
+ def deserialize(params)
1925
+ @ClusterId = params['ClusterId']
1926
+ @GroupId = params['GroupId']
1927
+ @DisplayStart = params['DisplayStart']
1928
+ @DisplayLength = params['DisplayLength']
1929
+ end
1930
+ end
1931
+
1932
+ # GetDeployList返回参数结构体
1933
+ class GetDeployListResponse < TencentCloud::Common::AbstractModel
1934
+ # @param AllCount: 合约总数
1935
+ # @type AllCount: Integer
1936
+ # @param Result: 合约部署列表
1937
+ # @type Result: Array
1938
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1939
+ # @type RequestId: String
1940
+
1941
+ attr_accessor :AllCount, :Result, :RequestId
1942
+
1943
+ def initialize(allcount=nil, result=nil, requestid=nil)
1944
+ @AllCount = allcount
1945
+ @Result = result
1946
+ @RequestId = requestid
1947
+ end
1948
+
1949
+ def deserialize(params)
1950
+ @AllCount = params['AllCount']
1951
+ unless params['Result'].nil?
1952
+ @Result = []
1953
+ params['Result'].each do |i|
1954
+ contract_tmp = Contract.new
1955
+ contract_tmp.deserialize(i)
1956
+ @Result << contract_tmp
1957
+ end
1958
+ end
1959
+ @RequestId = params['RequestId']
1960
+ end
1961
+ end
1962
+
1963
+ # GetDidClusterDetail请求参数结构体
1964
+ class GetDidClusterDetailRequest < TencentCloud::Common::AbstractModel
1965
+ # @param ClusterId: DID网络ID
1966
+ # @type ClusterId: String
1967
+
1968
+ attr_accessor :ClusterId
1969
+
1970
+ def initialize(clusterid=nil)
1971
+ @ClusterId = clusterid
1972
+ end
1973
+
1974
+ def deserialize(params)
1975
+ @ClusterId = params['ClusterId']
1976
+ end
1977
+ end
1978
+
1979
+ # GetDidClusterDetail返回参数结构体
1980
+ class GetDidClusterDetailResponse < TencentCloud::Common::AbstractModel
1981
+ # @param ClusterId: 网络ID
1982
+ # @type ClusterId: String
1983
+ # @param ConsortiumName: 组织名称
1984
+ # @type ConsortiumName: String
1985
+ # @param ChainAgency: 区块链组织名称
1986
+ # @type ChainAgency: String
1987
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1988
+ # @type RequestId: String
1989
+
1990
+ attr_accessor :ClusterId, :ConsortiumName, :ChainAgency, :RequestId
1991
+
1992
+ def initialize(clusterid=nil, consortiumname=nil, chainagency=nil, requestid=nil)
1993
+ @ClusterId = clusterid
1994
+ @ConsortiumName = consortiumname
1995
+ @ChainAgency = chainagency
1996
+ @RequestId = requestid
1997
+ end
1998
+
1999
+ def deserialize(params)
2000
+ @ClusterId = params['ClusterId']
2001
+ @ConsortiumName = params['ConsortiumName']
2002
+ @ChainAgency = params['ChainAgency']
2003
+ @RequestId = params['RequestId']
2004
+ end
2005
+ end
2006
+
2007
+ # GetDidClusterList请求参数结构体
2008
+ class GetDidClusterListRequest < TencentCloud::Common::AbstractModel
2009
+
2010
+
2011
+ def initialize()
2012
+ end
2013
+
2014
+ def deserialize(params)
2015
+ end
2016
+ end
2017
+
2018
+ # GetDidClusterList返回参数结构体
2019
+ class GetDidClusterListResponse < TencentCloud::Common::AbstractModel
2020
+ # @param DidClusterList: DID网络列表
2021
+ # @type DidClusterList: Array
2022
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2023
+ # @type RequestId: String
2024
+
2025
+ attr_accessor :DidClusterList, :RequestId
2026
+
2027
+ def initialize(didclusterlist=nil, requestid=nil)
2028
+ @DidClusterList = didclusterlist
2029
+ @RequestId = requestid
2030
+ end
2031
+
2032
+ def deserialize(params)
2033
+ unless params['DidClusterList'].nil?
2034
+ @DidClusterList = []
2035
+ params['DidClusterList'].each do |i|
2036
+ didcluster_tmp = DidCluster.new
2037
+ didcluster_tmp.deserialize(i)
2038
+ @DidClusterList << didcluster_tmp
2039
+ end
2040
+ end
2041
+ @RequestId = params['RequestId']
2042
+ end
2043
+ end
2044
+
2045
+ # GetDidDetail请求参数结构体
2046
+ class GetDidDetailRequest < TencentCloud::Common::AbstractModel
2047
+ # @param Did: DID号码的具体信息
2048
+ # @type Did: String
2049
+
2050
+ attr_accessor :Did
2051
+
2052
+ def initialize(did=nil)
2053
+ @Did = did
2054
+ end
2055
+
2056
+ def deserialize(params)
2057
+ @Did = params['Did']
2058
+ end
2059
+ end
2060
+
2061
+ # GetDidDetail返回参数结构体
2062
+ class GetDidDetailResponse < TencentCloud::Common::AbstractModel
2063
+ # @param Did: DID名称
2064
+ # @type Did: String
2065
+ # @param Remark: 备注
2066
+ # @type Remark: String
2067
+ # @param PublicKey: 公钥
2068
+ # @type PublicKey: String
2069
+ # @param AuthorityState: 权威认证
2070
+ # @type AuthorityState: Integer
2071
+ # @param ConsortiumId: 联盟ID
2072
+ # @type ConsortiumId: Integer
2073
+ # @param ConsortiumName: 联盟名称
2074
+ # @type ConsortiumName: String
2075
+ # @param GroupId: 群组ID
2076
+ # @type GroupId: Integer
2077
+ # @param ClusterId: 网络ID
2078
+ # @type ClusterId: String
2079
+ # @param ResChainId: bcos资源ID
2080
+ # @type ResChainId: String
2081
+ # @param CreateTime: 创建时间
2082
+ # @type CreateTime: String
2083
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2084
+ # @type RequestId: String
2085
+
2086
+ attr_accessor :Did, :Remark, :PublicKey, :AuthorityState, :ConsortiumId, :ConsortiumName, :GroupId, :ClusterId, :ResChainId, :CreateTime, :RequestId
2087
+
2088
+ def initialize(did=nil, remark=nil, publickey=nil, authoritystate=nil, consortiumid=nil, consortiumname=nil, groupid=nil, clusterid=nil, reschainid=nil, createtime=nil, requestid=nil)
2089
+ @Did = did
2090
+ @Remark = remark
2091
+ @PublicKey = publickey
2092
+ @AuthorityState = authoritystate
2093
+ @ConsortiumId = consortiumid
2094
+ @ConsortiumName = consortiumname
2095
+ @GroupId = groupid
2096
+ @ClusterId = clusterid
2097
+ @ResChainId = reschainid
2098
+ @CreateTime = createtime
2099
+ @RequestId = requestid
2100
+ end
2101
+
2102
+ def deserialize(params)
2103
+ @Did = params['Did']
2104
+ @Remark = params['Remark']
2105
+ @PublicKey = params['PublicKey']
2106
+ @AuthorityState = params['AuthorityState']
2107
+ @ConsortiumId = params['ConsortiumId']
2108
+ @ConsortiumName = params['ConsortiumName']
2109
+ @GroupId = params['GroupId']
2110
+ @ClusterId = params['ClusterId']
2111
+ @ResChainId = params['ResChainId']
2112
+ @CreateTime = params['CreateTime']
2113
+ @RequestId = params['RequestId']
2114
+ end
2115
+ end
2116
+
2117
+ # GetDidDocument请求参数结构体
2118
+ class GetDidDocumentRequest < TencentCloud::Common::AbstractModel
2119
+ # @param Did: tdid
2120
+ # @type Did: String
2121
+
2122
+ attr_accessor :Did
2123
+
2124
+ def initialize(did=nil)
2125
+ @Did = did
2126
+ end
2127
+
2128
+ def deserialize(params)
2129
+ @Did = params['Did']
2130
+ end
2131
+ end
2132
+
2133
+ # GetDidDocument返回参数结构体
2134
+ class GetDidDocumentResponse < TencentCloud::Common::AbstractModel
2135
+ # @param Name: 名称
2136
+ # @type Name: String
2137
+ # @param Document: DID文档
2138
+ # @type Document: String
2139
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2140
+ # @type RequestId: String
2141
+
2142
+ attr_accessor :Name, :Document, :RequestId
2143
+
2144
+ def initialize(name=nil, document=nil, requestid=nil)
2145
+ @Name = name
2146
+ @Document = document
2147
+ @RequestId = requestid
2148
+ end
2149
+
2150
+ def deserialize(params)
2151
+ @Name = params['Name']
2152
+ @Document = params['Document']
2153
+ @RequestId = params['RequestId']
2154
+ end
2155
+ end
2156
+
2157
+ # GetDidList请求参数结构体
2158
+ class GetDidListRequest < TencentCloud::Common::AbstractModel
2159
+ # @param PageSize: 每页大小
2160
+ # @type PageSize: Integer
2161
+ # @param PageNumber: 页码,从1开始
2162
+ # @type PageNumber: Integer
2163
+ # @param Did: Did信息
2164
+ # @type Did: String
2165
+ # @param ClusterId: 网络ID
2166
+ # @type ClusterId: String
2167
+ # @param GroupId: 群组ID
2168
+ # @type GroupId: Integer
2169
+
2170
+ attr_accessor :PageSize, :PageNumber, :Did, :ClusterId, :GroupId
2171
+
2172
+ def initialize(pagesize=nil, pagenumber=nil, did=nil, clusterid=nil, groupid=nil)
2173
+ @PageSize = pagesize
2174
+ @PageNumber = pagenumber
2175
+ @Did = did
2176
+ @ClusterId = clusterid
2177
+ @GroupId = groupid
2178
+ end
2179
+
2180
+ def deserialize(params)
2181
+ @PageSize = params['PageSize']
2182
+ @PageNumber = params['PageNumber']
2183
+ @Did = params['Did']
2184
+ @ClusterId = params['ClusterId']
2185
+ @GroupId = params['GroupId']
2186
+ end
2187
+ end
2188
+
2189
+ # GetDidList返回参数结构体
2190
+ class GetDidListResponse < TencentCloud::Common::AbstractModel
2191
+ # @param DataList: 数据列表
2192
+ # @type DataList: Array
2193
+ # @param AllCount: 数据总条数
2194
+ # @type AllCount: Integer
2195
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2196
+ # @type RequestId: String
2197
+
2198
+ attr_accessor :DataList, :AllCount, :RequestId
2199
+
2200
+ def initialize(datalist=nil, allcount=nil, requestid=nil)
2201
+ @DataList = datalist
2202
+ @AllCount = allcount
2203
+ @RequestId = requestid
2204
+ end
2205
+
2206
+ def deserialize(params)
2207
+ unless params['DataList'].nil?
2208
+ @DataList = []
2209
+ params['DataList'].each do |i|
2210
+ diddata_tmp = DidData.new
2211
+ diddata_tmp.deserialize(i)
2212
+ @DataList << diddata_tmp
2213
+ end
2214
+ end
2215
+ @AllCount = params['AllCount']
2216
+ @RequestId = params['RequestId']
2217
+ end
2218
+ end
2219
+
2220
+ # GetDidRegisterTrend请求参数结构体
2221
+ class GetDidRegisterTrendRequest < TencentCloud::Common::AbstractModel
2222
+ # @param StartTime: 开始时间(支持到天 2021-4-23)
2223
+ # @type StartTime: String
2224
+ # @param EndTime: 结束时间(支持到天 2021-4-23)
2225
+ # @type EndTime: String
2226
+ # @param ClusterId: 网络ID
2227
+ # @type ClusterId: String
2228
+
2229
+ attr_accessor :StartTime, :EndTime, :ClusterId
2230
+
2231
+ def initialize(starttime=nil, endtime=nil, clusterid=nil)
2232
+ @StartTime = starttime
2233
+ @EndTime = endtime
2234
+ @ClusterId = clusterid
2235
+ end
2236
+
2237
+ def deserialize(params)
2238
+ @StartTime = params['StartTime']
2239
+ @EndTime = params['EndTime']
2240
+ @ClusterId = params['ClusterId']
2241
+ end
2242
+ end
2243
+
2244
+ # GetDidRegisterTrend返回参数结构体
2245
+ class GetDidRegisterTrendResponse < TencentCloud::Common::AbstractModel
2246
+ # @param Trend: Trend集合
2247
+ # @type Trend: Array
2248
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2249
+ # @type RequestId: String
2250
+
2251
+ attr_accessor :Trend, :RequestId
2252
+
2253
+ def initialize(trend=nil, requestid=nil)
2254
+ @Trend = trend
2255
+ @RequestId = requestid
2256
+ end
2257
+
2258
+ def deserialize(params)
2259
+ unless params['Trend'].nil?
2260
+ @Trend = []
2261
+ params['Trend'].each do |i|
2262
+ trend_tmp = Trend.new
2263
+ trend_tmp.deserialize(i)
2264
+ @Trend << trend_tmp
2265
+ end
2266
+ end
2267
+ @RequestId = params['RequestId']
2268
+ end
2269
+ end
2270
+
2271
+ # GetDidServiceDetail请求参数结构体
2272
+ class GetDidServiceDetailRequest < TencentCloud::Common::AbstractModel
2273
+ # @param ServiceId: DID服务ID
2274
+ # @type ServiceId: Integer
2275
+
2276
+ attr_accessor :ServiceId
2277
+
2278
+ def initialize(serviceid=nil)
2279
+ @ServiceId = serviceid
2280
+ end
2281
+
2282
+ def deserialize(params)
2283
+ @ServiceId = params['ServiceId']
2284
+ end
2285
+ end
2286
+
2287
+ # GetDidServiceDetail返回参数结构体
2288
+ class GetDidServiceDetailResponse < TencentCloud::Common::AbstractModel
2289
+ # @param DidService: did服务信息
2290
+ # @type DidService: :class:`Tencentcloud::Tdid.v20210519.models.DidServiceInfo`
2291
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2292
+ # @type RequestId: String
2293
+
2294
+ attr_accessor :DidService, :RequestId
2295
+
2296
+ def initialize(didservice=nil, requestid=nil)
2297
+ @DidService = didservice
2298
+ @RequestId = requestid
2299
+ end
2300
+
2301
+ def deserialize(params)
2302
+ unless params['DidService'].nil?
2303
+ @DidService = DidServiceInfo.new
2304
+ @DidService.deserialize(params['DidService'])
2305
+ end
2306
+ @RequestId = params['RequestId']
2307
+ end
2308
+ end
2309
+
2310
+ # GetDidServiceList请求参数结构体
2311
+ class GetDidServiceListRequest < TencentCloud::Common::AbstractModel
2312
+ # @param Type: 1: 以网络维度输出, 0: 以服务维度输出
2313
+ # @type Type: Integer
2314
+
2315
+ attr_accessor :Type
2316
+
2317
+ def initialize(type=nil)
2318
+ @Type = type
2319
+ end
2320
+
2321
+ def deserialize(params)
2322
+ @Type = params['Type']
2323
+ end
2324
+ end
2325
+
2326
+ # GetDidServiceList返回参数结构体
2327
+ class GetDidServiceListResponse < TencentCloud::Common::AbstractModel
2328
+ # @param DidServiceList: DID服务列表
2329
+ # @type DidServiceList: Array
2330
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2331
+ # @type RequestId: String
2332
+
2333
+ attr_accessor :DidServiceList, :RequestId
2334
+
2335
+ def initialize(didservicelist=nil, requestid=nil)
2336
+ @DidServiceList = didservicelist
2337
+ @RequestId = requestid
2338
+ end
2339
+
2340
+ def deserialize(params)
2341
+ unless params['DidServiceList'].nil?
2342
+ @DidServiceList = []
2343
+ params['DidServiceList'].each do |i|
2344
+ didserviceinfo_tmp = DidServiceInfo.new
2345
+ didserviceinfo_tmp.deserialize(i)
2346
+ @DidServiceList << didserviceinfo_tmp
2347
+ end
2348
+ end
2349
+ @RequestId = params['RequestId']
2350
+ end
2351
+ end
2352
+
2353
+ # GetGroupList请求参数结构体
2354
+ class GetGroupListRequest < TencentCloud::Common::AbstractModel
2355
+ # @param Status: 0为未部署DID服务的群组,1为已部署DID服务的群组
2356
+ # @type Status: Integer
2357
+ # @param ClusterId: 网络ID
2358
+ # @type ClusterId: String
2359
+
2360
+ attr_accessor :Status, :ClusterId
2361
+
2362
+ def initialize(status=nil, clusterid=nil)
2363
+ @Status = status
2364
+ @ClusterId = clusterid
2365
+ end
2366
+
2367
+ def deserialize(params)
2368
+ @Status = params['Status']
2369
+ @ClusterId = params['ClusterId']
2370
+ end
2371
+ end
2372
+
2373
+ # GetGroupList返回参数结构体
2374
+ class GetGroupListResponse < TencentCloud::Common::AbstractModel
2375
+ # @param Result: 群组数据集合
2376
+ # @type Result: Array
2377
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2378
+ # @type RequestId: String
2379
+
2380
+ attr_accessor :Result, :RequestId
2381
+
2382
+ def initialize(result=nil, requestid=nil)
2383
+ @Result = result
2384
+ @RequestId = requestid
2385
+ end
2386
+
2387
+ def deserialize(params)
2388
+ unless params['Result'].nil?
2389
+ @Result = []
2390
+ params['Result'].each do |i|
2391
+ group_tmp = Group.new
2392
+ group_tmp.deserialize(i)
2393
+ @Result << group_tmp
2394
+ end
2395
+ end
2396
+ @RequestId = params['RequestId']
2397
+ end
2398
+ end
2399
+
2400
+ # GetLabelList请求参数结构体
2401
+ class GetLabelListRequest < TencentCloud::Common::AbstractModel
2402
+ # @param PageSize: 每页大小
2403
+ # @type PageSize: Integer
2404
+ # @param PageNumber: 页码,从1开始
2405
+ # @type PageNumber: Integer
2406
+ # @param ClusterId: 网络ID
2407
+ # @type ClusterId: String
2408
+ # @param GroupId: 群组ID
2409
+ # @type GroupId: Integer
2410
+
2411
+ attr_accessor :PageSize, :PageNumber, :ClusterId, :GroupId
2412
+
2413
+ def initialize(pagesize=nil, pagenumber=nil, clusterid=nil, groupid=nil)
2414
+ @PageSize = pagesize
2415
+ @PageNumber = pagenumber
2416
+ @ClusterId = clusterid
2417
+ @GroupId = groupid
2418
+ end
2419
+
2420
+ def deserialize(params)
2421
+ @PageSize = params['PageSize']
2422
+ @PageNumber = params['PageNumber']
2423
+ @ClusterId = params['ClusterId']
2424
+ @GroupId = params['GroupId']
2425
+ end
2426
+ end
2427
+
2428
+ # GetLabelList返回参数结构体
2429
+ class GetLabelListResponse < TencentCloud::Common::AbstractModel
2430
+ # @param Result: 数据集合
2431
+ # @type Result: Array
2432
+ # @param TotalCount: 总条数
2433
+ # @type TotalCount: Integer
2434
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2435
+ # @type RequestId: String
2436
+
2437
+ attr_accessor :Result, :TotalCount, :RequestId
2438
+
2439
+ def initialize(result=nil, totalcount=nil, requestid=nil)
2440
+ @Result = result
2441
+ @TotalCount = totalcount
2442
+ @RequestId = requestid
2443
+ end
2444
+
2445
+ def deserialize(params)
2446
+ unless params['Result'].nil?
2447
+ @Result = []
2448
+ params['Result'].each do |i|
2449
+ label_tmp = Label.new
2450
+ label_tmp.deserialize(i)
2451
+ @Result << label_tmp
2452
+ end
2453
+ end
2454
+ @TotalCount = params['TotalCount']
2455
+ @RequestId = params['RequestId']
2456
+ end
2457
+ end
2458
+
2459
+ # GetPolicyList请求参数结构体
2460
+ class GetPolicyListRequest < TencentCloud::Common::AbstractModel
2461
+ # @param DisplayStart: 起始位置
2462
+ # @type DisplayStart: Integer
2463
+ # @param DisplayLength: 长度
2464
+ # @type DisplayLength: Integer
2465
+
2466
+ attr_accessor :DisplayStart, :DisplayLength
2467
+
2468
+ def initialize(displaystart=nil, displaylength=nil)
2469
+ @DisplayStart = displaystart
2470
+ @DisplayLength = displaylength
2471
+ end
2472
+
2473
+ def deserialize(params)
2474
+ @DisplayStart = params['DisplayStart']
2475
+ @DisplayLength = params['DisplayLength']
2476
+ end
2477
+ end
2478
+
2479
+ # GetPolicyList返回参数结构体
2480
+ class GetPolicyListResponse < TencentCloud::Common::AbstractModel
2481
+ # @param PolicyDataList: 策略Policy管理列表
2482
+ # @type PolicyDataList: Array
2483
+ # @param AllCount: 总数
2484
+ # @type AllCount: Integer
2485
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2486
+ # @type RequestId: String
2487
+
2488
+ attr_accessor :PolicyDataList, :AllCount, :RequestId
2489
+
2490
+ def initialize(policydatalist=nil, allcount=nil, requestid=nil)
2491
+ @PolicyDataList = policydatalist
2492
+ @AllCount = allcount
2493
+ @RequestId = requestid
2494
+ end
2495
+
2496
+ def deserialize(params)
2497
+ unless params['PolicyDataList'].nil?
2498
+ @PolicyDataList = []
2499
+ params['PolicyDataList'].each do |i|
2500
+ policy_tmp = Policy.new
2501
+ policy_tmp.deserialize(i)
2502
+ @PolicyDataList << policy_tmp
2503
+ end
2504
+ end
2505
+ @AllCount = params['AllCount']
2506
+ @RequestId = params['RequestId']
2507
+ end
2508
+ end
2509
+
2510
+ # GetPublicKey请求参数结构体
2511
+ class GetPublicKeyRequest < TencentCloud::Common::AbstractModel
2512
+ # @param Did: did的具体号码
2513
+ # @type Did: String
2514
+
2515
+ attr_accessor :Did
2516
+
2517
+ def initialize(did=nil)
2518
+ @Did = did
2519
+ end
2520
+
2521
+ def deserialize(params)
2522
+ @Did = params['Did']
2523
+ end
2524
+ end
2525
+
2526
+ # GetPublicKey返回参数结构体
2527
+ class GetPublicKeyResponse < TencentCloud::Common::AbstractModel
2528
+ # @param Did: DID的具体信息
2529
+ # @type Did: String
2530
+ # @param PublicKey: 公钥
2531
+ # @type PublicKey: String
2532
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2533
+ # @type RequestId: String
2534
+
2535
+ attr_accessor :Did, :PublicKey, :RequestId
2536
+
2537
+ def initialize(did=nil, publickey=nil, requestid=nil)
2538
+ @Did = did
2539
+ @PublicKey = publickey
2540
+ @RequestId = requestid
2541
+ end
2542
+
2543
+ def deserialize(params)
2544
+ @Did = params['Did']
2545
+ @PublicKey = params['PublicKey']
2546
+ @RequestId = params['RequestId']
2547
+ end
2548
+ end
2549
+
2550
+ # 群组
2551
+ class Group < TencentCloud::Common::AbstractModel
2552
+ # @param GroupId: 群组ID
2553
+ # @type GroupId: Integer
2554
+ # @param NodeCount: 节点数量
2555
+ # @type NodeCount: Integer
2556
+ # @param NodeCountOfAgency: 所属机构节点数量
2557
+ # @type NodeCountOfAgency: Integer
2558
+ # @param Description: 群组描述
2559
+ # @type Description: String
2560
+ # @param RoleType: 参与角色,盟主或非盟主
2561
+ # @type RoleType: Integer
2562
+ # @param ChainId: 链id
2563
+ # @type ChainId: String
2564
+
2565
+ attr_accessor :GroupId, :NodeCount, :NodeCountOfAgency, :Description, :RoleType, :ChainId
2566
+
2567
+ def initialize(groupid=nil, nodecount=nil, nodecountofagency=nil, description=nil, roletype=nil, chainid=nil)
2568
+ @GroupId = groupid
2569
+ @NodeCount = nodecount
2570
+ @NodeCountOfAgency = nodecountofagency
2571
+ @Description = description
2572
+ @RoleType = roletype
2573
+ @ChainId = chainid
2574
+ end
2575
+
2576
+ def deserialize(params)
2577
+ @GroupId = params['GroupId']
2578
+ @NodeCount = params['NodeCount']
2579
+ @NodeCountOfAgency = params['NodeCountOfAgency']
2580
+ @Description = params['Description']
2581
+ @RoleType = params['RoleType']
2582
+ @ChainId = params['ChainId']
2583
+ end
2584
+ end
2585
+
2586
+ # did详情
2587
+ class Identity < TencentCloud::Common::AbstractModel
2588
+ # @param AccountIdentifier: 账户标识符
2589
+ # @type AccountIdentifier: String
2590
+ # @param ChainID: 链ID
2591
+ # @type ChainID: String
2592
+ # @param Did: 完整tdid
2593
+ # @type Did: String
2594
+ # @param GroupId: 群组ID
2595
+ # @type GroupId: Integer
2596
+ # @param GroupName: 群组名称
2597
+ # @type GroupName: String
2598
+
2599
+ attr_accessor :AccountIdentifier, :ChainID, :Did, :GroupId, :GroupName
2600
+
2601
+ def initialize(accountidentifier=nil, chainid=nil, did=nil, groupid=nil, groupname=nil)
2602
+ @AccountIdentifier = accountidentifier
2603
+ @ChainID = chainid
2604
+ @Did = did
2605
+ @GroupId = groupid
2606
+ @GroupName = groupname
2607
+ end
2608
+
2609
+ def deserialize(params)
2610
+ @AccountIdentifier = params['AccountIdentifier']
2611
+ @ChainID = params['ChainID']
2612
+ @Did = params['Did']
2613
+ @GroupId = params['GroupId']
2614
+ @GroupName = params['GroupName']
2615
+ end
2616
+ end
2617
+
2618
+ # 标签
2619
+ class Label < TencentCloud::Common::AbstractModel
2620
+ # @param LabelId: 标签ID
2621
+ # @type LabelId: Integer
2622
+ # @param LabelName: 标签名称
2623
+ # @type LabelName: String
2624
+ # @param DidCount: did数量
2625
+ # @type DidCount: Integer
2626
+ # @param Did: 创建者did
2627
+ # @type Did: String
2628
+ # @param ClusterId: 网络ID
2629
+ # @type ClusterId: String
2630
+ # @param CreateTime: 创建时间
2631
+ # @type CreateTime: String
2632
+ # @param GroupId: 群组ID
2633
+ # @type GroupId: Integer
2634
+
2635
+ attr_accessor :LabelId, :LabelName, :DidCount, :Did, :ClusterId, :CreateTime, :GroupId
2636
+
2637
+ def initialize(labelid=nil, labelname=nil, didcount=nil, did=nil, clusterid=nil, createtime=nil, groupid=nil)
2638
+ @LabelId = labelid
2639
+ @LabelName = labelname
2640
+ @DidCount = didcount
2641
+ @Did = did
2642
+ @ClusterId = clusterid
2643
+ @CreateTime = createtime
2644
+ @GroupId = groupid
2645
+ end
2646
+
2647
+ def deserialize(params)
2648
+ @LabelId = params['LabelId']
2649
+ @LabelName = params['LabelName']
2650
+ @DidCount = params['DidCount']
2651
+ @Did = params['Did']
2652
+ @ClusterId = params['ClusterId']
2653
+ @CreateTime = params['CreateTime']
2654
+ @GroupId = params['GroupId']
2655
+ end
2656
+ end
2657
+
2658
+ # 策略管理
2659
+ class Policy < TencentCloud::Common::AbstractModel
2660
+ # @param Id: 披露策略索引
2661
+ # @type Id: Integer
2662
+ # @param Name: 披露策略名称
2663
+ # @type Name: String
2664
+ # @param ClusterId: 网络ID
2665
+ # @type ClusterId: String
2666
+ # @param GroupId: 群组ID
2667
+ # @type GroupId: Integer
2668
+ # @param ServiceId: 服务ID
2669
+ # @type ServiceId: Integer
2670
+ # @param ContractAppId: 合约应用ID
2671
+ # @type ContractAppId: Integer
2672
+ # @param PolicyId: 披露策略ID
2673
+ # @type PolicyId: Integer
2674
+ # @param CptId: 凭证模板ID
2675
+ # @type CptId: Integer
2676
+ # @param PolicyJson: 策略Json
2677
+ # @type PolicyJson: String
2678
+ # @param CreateTime: 生成时间
2679
+ # @type CreateTime: String
2680
+ # @param UpdateTime: 更新时间
2681
+ # @type UpdateTime: String
2682
+ # @param CreatorDid: 创建者DID
2683
+ # @type CreatorDid: String
2684
+ # @param AppName: 应用名称
2685
+ # @type AppName: String
2686
+ # @param CptIndex: 模板索引
2687
+ # @type CptIndex: Integer
2688
+
2689
+ attr_accessor :Id, :Name, :ClusterId, :GroupId, :ServiceId, :ContractAppId, :PolicyId, :CptId, :PolicyJson, :CreateTime, :UpdateTime, :CreatorDid, :AppName, :CptIndex
2690
+
2691
+ def initialize(id=nil, name=nil, clusterid=nil, groupid=nil, serviceid=nil, contractappid=nil, policyid=nil, cptid=nil, policyjson=nil, createtime=nil, updatetime=nil, creatordid=nil, appname=nil, cptindex=nil)
2692
+ @Id = id
2693
+ @Name = name
2694
+ @ClusterId = clusterid
2695
+ @GroupId = groupid
2696
+ @ServiceId = serviceid
2697
+ @ContractAppId = contractappid
2698
+ @PolicyId = policyid
2699
+ @CptId = cptid
2700
+ @PolicyJson = policyjson
2701
+ @CreateTime = createtime
2702
+ @UpdateTime = updatetime
2703
+ @CreatorDid = creatordid
2704
+ @AppName = appname
2705
+ @CptIndex = cptindex
2706
+ end
2707
+
2708
+ def deserialize(params)
2709
+ @Id = params['Id']
2710
+ @Name = params['Name']
2711
+ @ClusterId = params['ClusterId']
2712
+ @GroupId = params['GroupId']
2713
+ @ServiceId = params['ServiceId']
2714
+ @ContractAppId = params['ContractAppId']
2715
+ @PolicyId = params['PolicyId']
2716
+ @CptId = params['CptId']
2717
+ @PolicyJson = params['PolicyJson']
2718
+ @CreateTime = params['CreateTime']
2719
+ @UpdateTime = params['UpdateTime']
2720
+ @CreatorDid = params['CreatorDid']
2721
+ @AppName = params['AppName']
2722
+ @CptIndex = params['CptIndex']
2723
+ end
2724
+ end
2725
+
2726
+ # 验证凭证签名
2727
+ class Proof < TencentCloud::Common::AbstractModel
2728
+ # @param Created: 创建时间
2729
+ # @type Created: Integer
2730
+ # @param Creator: 创建着did
2731
+ # @type Creator: String
2732
+ # @param SaltJson: salt值
2733
+ # @type SaltJson: String
2734
+ # @param SignatureValue: 签名
2735
+ # @type SignatureValue: String
2736
+ # @param Type: type类型
2737
+ # @type Type: String
2738
+
2739
+ attr_accessor :Created, :Creator, :SaltJson, :SignatureValue, :Type
2740
+
2741
+ def initialize(created=nil, creator=nil, saltjson=nil, signaturevalue=nil, type=nil)
2742
+ @Created = created
2743
+ @Creator = creator
2744
+ @SaltJson = saltjson
2745
+ @SignatureValue = signaturevalue
2746
+ @Type = type
2747
+ end
2748
+
2749
+ def deserialize(params)
2750
+ @Created = params['Created']
2751
+ @Creator = params['Creator']
2752
+ @SaltJson = params['SaltJson']
2753
+ @SignatureValue = params['SignatureValue']
2754
+ @Type = params['Type']
2755
+ end
2756
+ end
2757
+
2758
+ # QueryPolicy请求参数结构体
2759
+ class QueryPolicyRequest < TencentCloud::Common::AbstractModel
2760
+ # @param PolicyIndex: policy索引
2761
+ # @type PolicyIndex: Integer
2762
+
2763
+ attr_accessor :PolicyIndex
2764
+
2765
+ def initialize(policyindex=nil)
2766
+ @PolicyIndex = policyindex
2767
+ end
2768
+
2769
+ def deserialize(params)
2770
+ @PolicyIndex = params['PolicyIndex']
2771
+ end
2772
+ end
2773
+
2774
+ # QueryPolicy返回参数结构体
2775
+ class QueryPolicyResponse < TencentCloud::Common::AbstractModel
2776
+ # @param Id: 披露策略索引
2777
+ # @type Id: Integer
2778
+ # @param PolicyId: 披露策略ID
2779
+ # @type PolicyId: Integer
2780
+ # @param CptId: 凭证模板ID
2781
+ # @type CptId: Integer
2782
+ # @param PolicyData: 披露策略的具体信息
2783
+ # @type PolicyData: String
2784
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2785
+ # @type RequestId: String
2786
+
2787
+ attr_accessor :Id, :PolicyId, :CptId, :PolicyData, :RequestId
2788
+
2789
+ def initialize(id=nil, policyid=nil, cptid=nil, policydata=nil, requestid=nil)
2790
+ @Id = id
2791
+ @PolicyId = policyid
2792
+ @CptId = cptid
2793
+ @PolicyData = policydata
2794
+ @RequestId = requestid
2795
+ end
2796
+
2797
+ def deserialize(params)
2798
+ @Id = params['Id']
2799
+ @PolicyId = params['PolicyId']
2800
+ @CptId = params['CptId']
2801
+ @PolicyData = params['PolicyData']
2802
+ @RequestId = params['RequestId']
2803
+ end
2804
+ end
2805
+
2806
+ # RecognizeAuthorityIssuer请求参数结构体
2807
+ class RecognizeAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
2808
+ # @param Did: did具体信息
2809
+ # @type Did: String
2810
+
2811
+ attr_accessor :Did
2812
+
2813
+ def initialize(did=nil)
2814
+ @Did = did
2815
+ end
2816
+
2817
+ def deserialize(params)
2818
+ @Did = params['Did']
142
2819
  end
143
2820
  end
144
2821
 
145
- # CreateTDidByPublicKey返回参数结构体
146
- class CreateTDidByPublicKeyResponse < TencentCloud::Common::AbstractModel
147
- # @param Did: did具体信息
148
- # @type Did: String
2822
+ # RecognizeAuthorityIssuer返回参数结构体
2823
+ class RecognizeAuthorityIssuerResponse < TencentCloud::Common::AbstractModel
149
2824
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
150
2825
  # @type RequestId: String
151
2826
 
152
- attr_accessor :Did, :RequestId
2827
+ attr_accessor :RequestId
153
2828
 
154
- def initialize(did=nil, requestid=nil)
155
- @Did = did
2829
+ def initialize(requestid=nil)
156
2830
  @RequestId = requestid
157
2831
  end
158
2832
 
159
2833
  def deserialize(params)
160
- @Did = params['Did']
161
2834
  @RequestId = params['RequestId']
162
2835
  end
163
2836
  end
164
2837
 
165
- # CreateTDid请求参数结构体
166
- class CreateTDidRequest < TencentCloud::Common::AbstractModel
167
- # @param GroupId: 群组ID
168
- # @type GroupId: Integer
169
- # @param ClusterId: 网络ID
170
- # @type ClusterId: String
171
- # @param Relegation: 部署机构为1,否则为0
172
- # @type Relegation: Integer
2838
+ # RegisterClaimPolicy请求参数结构体
2839
+ class RegisterClaimPolicyRequest < TencentCloud::Common::AbstractModel
2840
+ # @param CptIndex: Cpt索引
2841
+ # @type CptIndex: Integer
2842
+ # @param Policy: 披露策略
2843
+ # @type Policy: String
173
2844
 
174
- attr_accessor :GroupId, :ClusterId, :Relegation
2845
+ attr_accessor :CptIndex, :Policy
175
2846
 
176
- def initialize(groupid=nil, clusterid=nil, relegation=nil)
177
- @GroupId = groupid
178
- @ClusterId = clusterid
179
- @Relegation = relegation
2847
+ def initialize(cptindex=nil, policy=nil)
2848
+ @CptIndex = cptindex
2849
+ @Policy = policy
180
2850
  end
181
2851
 
182
2852
  def deserialize(params)
183
- @GroupId = params['GroupId']
184
- @ClusterId = params['ClusterId']
185
- @Relegation = params['Relegation']
2853
+ @CptIndex = params['CptIndex']
2854
+ @Policy = params['Policy']
186
2855
  end
187
2856
  end
188
2857
 
189
- # CreateTDid返回参数结构体
190
- class CreateTDidResponse < TencentCloud::Common::AbstractModel
191
- # @param Did: TDID
192
- # @type Did: String
2858
+ # RegisterClaimPolicy返回参数结构体
2859
+ class RegisterClaimPolicyResponse < TencentCloud::Common::AbstractModel
2860
+ # @param Id: 披露策略索引
2861
+ # @type Id: Integer
2862
+ # @param PolicyId: 披露策略ID
2863
+ # @type PolicyId: Integer
193
2864
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
194
2865
  # @type RequestId: String
195
2866
 
196
- attr_accessor :Did, :RequestId
2867
+ attr_accessor :Id, :PolicyId, :RequestId
197
2868
 
198
- def initialize(did=nil, requestid=nil)
199
- @Did = did
2869
+ def initialize(id=nil, policyid=nil, requestid=nil)
2870
+ @Id = id
2871
+ @PolicyId = policyid
200
2872
  @RequestId = requestid
201
2873
  end
202
2874
 
203
2875
  def deserialize(params)
204
- @Did = params['Did']
2876
+ @Id = params['Id']
2877
+ @PolicyId = params['PolicyId']
205
2878
  @RequestId = params['RequestId']
206
2879
  end
207
2880
  end
208
2881
 
209
- # 凭证链上状态信息
210
- class CredentialStatus < TencentCloud::Common::AbstractModel
211
- # @param CredentialId: 凭证唯一id
212
- # @type CredentialId: String
213
- # @param Status: 凭证状态(0:吊销;1:有效)
214
- # @type Status: Integer
215
- # @param Issuer: 凭证颁发者Did
216
- # @type Issuer: String
217
- # @param Digest: 凭证摘要
218
- # 注意:此字段可能返回 null,表示取不到有效值。
219
- # @type Digest: String
220
- # @param Signature: 凭证签名
221
- # 注意:此字段可能返回 null,表示取不到有效值。
222
- # @type Signature: String
223
- # @param TimeStamp: 更新时间戳
224
- # 注意:此字段可能返回 null,表示取不到有效值。
225
- # @type TimeStamp: Integer
2882
+ # RegisterCpt请求参数结构体
2883
+ class RegisterCptRequest < TencentCloud::Common::AbstractModel
2884
+ # @param GroupId: 群组ID
2885
+ # @type GroupId: Integer
2886
+ # @param ClusterId: 网络ID
2887
+ # @type ClusterId: String
2888
+ # @param CptJson: CptJson的具体信息
2889
+ # @type CptJson: String
2890
+ # @param CptId: cptId 不填默认自增
2891
+ # @type CptId: Integer
226
2892
 
227
- attr_accessor :CredentialId, :Status, :Issuer, :Digest, :Signature, :TimeStamp
2893
+ attr_accessor :GroupId, :ClusterId, :CptJson, :CptId
228
2894
 
229
- def initialize(credentialid=nil, status=nil, issuer=nil, digest=nil, signature=nil, timestamp=nil)
230
- @CredentialId = credentialid
231
- @Status = status
232
- @Issuer = issuer
233
- @Digest = digest
234
- @Signature = signature
235
- @TimeStamp = timestamp
2895
+ def initialize(groupid=nil, clusterid=nil, cptjson=nil, cptid=nil)
2896
+ @GroupId = groupid
2897
+ @ClusterId = clusterid
2898
+ @CptJson = cptjson
2899
+ @CptId = cptid
236
2900
  end
237
2901
 
238
2902
  def deserialize(params)
239
- @CredentialId = params['CredentialId']
240
- @Status = params['Status']
241
- @Issuer = params['Issuer']
242
- @Digest = params['Digest']
243
- @Signature = params['Signature']
244
- @TimeStamp = params['TimeStamp']
2903
+ @GroupId = params['GroupId']
2904
+ @ClusterId = params['ClusterId']
2905
+ @CptJson = params['CptJson']
2906
+ @CptId = params['CptId']
245
2907
  end
246
2908
  end
247
2909
 
248
- # 创建凭证入参的FunctionArg
249
- class FunctionArg < TencentCloud::Common::AbstractModel
250
- # @param CptId: CPT ID
2910
+ # RegisterCpt返回参数结构体
2911
+ class RegisterCptResponse < TencentCloud::Common::AbstractModel
2912
+ # @param Id: 凭证模板索引
2913
+ # @type Id: Integer
2914
+ # @param CptId: 凭证模板id
251
2915
  # @type CptId: Integer
252
- # @param Issuer: 签发者 did
253
- # @type Issuer: String
254
- # @param ExpirationDate: 过期时间
255
- # @type ExpirationDate: String
256
- # @param ClaimJson: 声明
257
- # @type ClaimJson: String
2916
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2917
+ # @type RequestId: String
258
2918
 
259
- attr_accessor :CptId, :Issuer, :ExpirationDate, :ClaimJson
2919
+ attr_accessor :Id, :CptId, :RequestId
260
2920
 
261
- def initialize(cptid=nil, issuer=nil, expirationdate=nil, claimjson=nil)
2921
+ def initialize(id=nil, cptid=nil, requestid=nil)
2922
+ @Id = id
262
2923
  @CptId = cptid
263
- @Issuer = issuer
264
- @ExpirationDate = expirationdate
265
- @ClaimJson = claimjson
2924
+ @RequestId = requestid
266
2925
  end
267
2926
 
268
2927
  def deserialize(params)
2928
+ @Id = params['Id']
269
2929
  @CptId = params['CptId']
270
- @Issuer = params['Issuer']
271
- @ExpirationDate = params['ExpirationDate']
272
- @ClaimJson = params['ClaimJson']
2930
+ @RequestId = params['RequestId']
273
2931
  end
274
2932
  end
275
2933
 
276
- # GetAuthorityIssuer请求参数结构体
277
- class GetAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
2934
+ # RegisterIssuer请求参数结构体
2935
+ class RegisterIssuerRequest < TencentCloud::Common::AbstractModel
278
2936
  # @param Did: tdid
279
2937
  # @type Did: String
2938
+ # @param Name: 权威机构名称
2939
+ # @type Name: String
2940
+ # @param Description: 备注
2941
+ # @type Description: String
280
2942
 
281
- attr_accessor :Did
2943
+ attr_accessor :Did, :Name, :Description
282
2944
 
283
- def initialize(did=nil)
2945
+ def initialize(did=nil, name=nil, description=nil)
284
2946
  @Did = did
2947
+ @Name = name
2948
+ @Description = description
285
2949
  end
286
2950
 
287
2951
  def deserialize(params)
288
2952
  @Did = params['Did']
2953
+ @Name = params['Name']
2954
+ @Description = params['Description']
289
2955
  end
290
2956
  end
291
2957
 
292
- # GetAuthorityIssuer返回参数结构体
293
- class GetAuthorityIssuerResponse < TencentCloud::Common::AbstractModel
294
- # @param Name: 名称
295
- # @type Name: String
296
- # @param ClusterId: 区块链网络id
297
- # @type ClusterId: String
298
- # @param GroupId: 区块链群组id
299
- # @type GroupId: Integer
300
- # @param Did: 权威机构did
301
- # @type Did: String
302
- # @param Remark: 机构备注信息
303
- # @type Remark: String
304
- # @param RegisterTime: 注册时间
305
- # @type RegisterTime: String
306
- # @param RecognizeTime: 认证时间
307
- # @type RecognizeTime: String
2958
+ # RegisterIssuer返回参数结构体
2959
+ class RegisterIssuerResponse < TencentCloud::Common::AbstractModel
308
2960
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
309
2961
  # @type RequestId: String
310
2962
 
311
- attr_accessor :Name, :ClusterId, :GroupId, :Did, :Remark, :RegisterTime, :RecognizeTime, :RequestId
2963
+ attr_accessor :RequestId
312
2964
 
313
- def initialize(name=nil, clusterid=nil, groupid=nil, did=nil, remark=nil, registertime=nil, recognizetime=nil, requestid=nil)
314
- @Name = name
315
- @ClusterId = clusterid
316
- @GroupId = groupid
317
- @Did = did
318
- @Remark = remark
319
- @RegisterTime = registertime
320
- @RecognizeTime = recognizetime
2965
+ def initialize(requestid=nil)
321
2966
  @RequestId = requestid
322
2967
  end
323
2968
 
324
2969
  def deserialize(params)
325
- @Name = params['Name']
326
- @ClusterId = params['ClusterId']
327
- @GroupId = params['GroupId']
328
- @Did = params['Did']
329
- @Remark = params['Remark']
330
- @RegisterTime = params['RegisterTime']
331
- @RecognizeTime = params['RecognizeTime']
332
2970
  @RequestId = params['RequestId']
333
2971
  end
334
2972
  end
335
2973
 
336
- # GetDidDocument请求参数结构体
337
- class GetDidDocumentRequest < TencentCloud::Common::AbstractModel
338
- # @param Did: tdid
339
- # @type Did: String
2974
+ # RemoveHash请求参数结构体
2975
+ class RemoveHashRequest < TencentCloud::Common::AbstractModel
2976
+ # @param Hash: 合约CNS地址
2977
+ # @type Hash: String
340
2978
 
341
- attr_accessor :Did
2979
+ attr_accessor :Hash
342
2980
 
343
- def initialize(did=nil)
344
- @Did = did
2981
+ def initialize(hash=nil)
2982
+ @Hash = hash
345
2983
  end
346
2984
 
347
2985
  def deserialize(params)
348
- @Did = params['Did']
2986
+ @Hash = params['Hash']
349
2987
  end
350
2988
  end
351
2989
 
352
- # GetDidDocument返回参数结构体
353
- class GetDidDocumentResponse < TencentCloud::Common::AbstractModel
354
- # @param Name: 名称
355
- # @type Name: String
356
- # @param Document: DID文档
357
- # @type Document: String
2990
+ # RemoveHash返回参数结构体
2991
+ class RemoveHashResponse < TencentCloud::Common::AbstractModel
358
2992
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
359
2993
  # @type RequestId: String
360
2994
 
361
- attr_accessor :Name, :Document, :RequestId
2995
+ attr_accessor :RequestId
362
2996
 
363
- def initialize(name=nil, document=nil, requestid=nil)
364
- @Name = name
365
- @Document = document
2997
+ def initialize(requestid=nil)
366
2998
  @RequestId = requestid
367
2999
  end
368
3000
 
369
3001
  def deserialize(params)
370
- @Name = params['Name']
371
- @Document = params['Document']
372
3002
  @RequestId = params['RequestId']
373
3003
  end
374
3004
  end
375
3005
 
376
- # 验证凭证签名
377
- class Proof < TencentCloud::Common::AbstractModel
378
- # @param Created: 创建时间
379
- # @type Created: Integer
380
- # @param Creator: 创建着did
381
- # @type Creator: String
382
- # @param SaltJson: salt值
383
- # @type SaltJson: String
384
- # @param SignatureValue: 签名
385
- # @type SignatureValue: String
386
- # @param Type: type类型
387
- # @type Type: String
388
-
389
- attr_accessor :Created, :Creator, :SaltJson, :SignatureValue, :Type
390
-
391
- def initialize(created=nil, creator=nil, saltjson=nil, signaturevalue=nil, type=nil)
392
- @Created = created
393
- @Creator = creator
394
- @SaltJson = saltjson
395
- @SignatureValue = signaturevalue
396
- @Type = type
397
- end
398
-
399
- def deserialize(params)
400
- @Created = params['Created']
401
- @Creator = params['Creator']
402
- @SaltJson = params['SaltJson']
403
- @SignatureValue = params['SignatureValue']
404
- @Type = params['Type']
405
- end
406
- end
407
-
408
3006
  # SetCredentialStatus请求参数结构体
409
3007
  class SetCredentialStatusRequest < TencentCloud::Common::AbstractModel
410
3008
  # @param CredentialStatus: 凭证状态
@@ -440,6 +3038,58 @@ module TencentCloud
440
3038
  end
441
3039
  end
442
3040
 
3041
+ # CreateDidService、CheckDidDeploy出参
3042
+ class Task < TencentCloud::Common::AbstractModel
3043
+ # @param Id: 任务ID
3044
+ # @type Id: Integer
3045
+ # @param AppId: 应用ID
3046
+ # @type AppId: Integer
3047
+ # @param ClusterId: 网络ID
3048
+ # @type ClusterId: String
3049
+ # @param GroupId: 群组ID
3050
+ # @type GroupId: Integer
3051
+ # @param ServiceId: 服务ID
3052
+ # @type ServiceId: Integer
3053
+ # @param Status: 0: 部署中,1:部署成功,其他失败
3054
+ # @type Status: Integer
3055
+ # @param ErrorCode: 错误码
3056
+ # @type ErrorCode: String
3057
+ # @param ErrorMsg: 错误提示
3058
+ # @type ErrorMsg: String
3059
+ # @param CreateTime: 生成时间
3060
+ # @type CreateTime: String
3061
+ # @param UpdateTime: 更新时间
3062
+ # @type UpdateTime: String
3063
+
3064
+ attr_accessor :Id, :AppId, :ClusterId, :GroupId, :ServiceId, :Status, :ErrorCode, :ErrorMsg, :CreateTime, :UpdateTime
3065
+
3066
+ def initialize(id=nil, appid=nil, clusterid=nil, groupid=nil, serviceid=nil, status=nil, errorcode=nil, errormsg=nil, createtime=nil, updatetime=nil)
3067
+ @Id = id
3068
+ @AppId = appid
3069
+ @ClusterId = clusterid
3070
+ @GroupId = groupid
3071
+ @ServiceId = serviceid
3072
+ @Status = status
3073
+ @ErrorCode = errorcode
3074
+ @ErrorMsg = errormsg
3075
+ @CreateTime = createtime
3076
+ @UpdateTime = updatetime
3077
+ end
3078
+
3079
+ def deserialize(params)
3080
+ @Id = params['Id']
3081
+ @AppId = params['AppId']
3082
+ @ClusterId = params['ClusterId']
3083
+ @GroupId = params['GroupId']
3084
+ @ServiceId = params['ServiceId']
3085
+ @Status = params['Status']
3086
+ @ErrorCode = params['ErrorCode']
3087
+ @ErrorMsg = params['ErrorMsg']
3088
+ @CreateTime = params['CreateTime']
3089
+ @UpdateTime = params['UpdateTime']
3090
+ end
3091
+ end
3092
+
443
3093
  # 创建凭证第二个
444
3094
  class TransactionArg < TencentCloud::Common::AbstractModel
445
3095
  # @param InvokerTDid: 凭证did
@@ -456,6 +3106,26 @@ module TencentCloud
456
3106
  end
457
3107
  end
458
3108
 
3109
+ # 趋势
3110
+ class Trend < TencentCloud::Common::AbstractModel
3111
+ # @param Time: 时间点
3112
+ # @type Time: String
3113
+ # @param Count: 数量
3114
+ # @type Count: Integer
3115
+
3116
+ attr_accessor :Time, :Count
3117
+
3118
+ def initialize(time=nil, count=nil)
3119
+ @Time = time
3120
+ @Count = count
3121
+ end
3122
+
3123
+ def deserialize(params)
3124
+ @Time = params['Time']
3125
+ @Count = params['Count']
3126
+ end
3127
+ end
3128
+
459
3129
  # VerifyCredential请求参数结构体
460
3130
  class VerifyCredentialRequest < TencentCloud::Common::AbstractModel
461
3131
  # @param FunctionArg: 参数集合
@@ -554,6 +3224,33 @@ module TencentCloud
554
3224
  end
555
3225
  end
556
3226
 
3227
+ # VerifyPurchase请求参数结构体
3228
+ class VerifyPurchaseRequest < TencentCloud::Common::AbstractModel
3229
+
3230
+
3231
+ def initialize()
3232
+ end
3233
+
3234
+ def deserialize(params)
3235
+ end
3236
+ end
3237
+
3238
+ # VerifyPurchase返回参数结构体
3239
+ class VerifyPurchaseResponse < TencentCloud::Common::AbstractModel
3240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3241
+ # @type RequestId: String
3242
+
3243
+ attr_accessor :RequestId
3244
+
3245
+ def initialize(requestid=nil)
3246
+ @RequestId = requestid
3247
+ end
3248
+
3249
+ def deserialize(params)
3250
+ @RequestId = params['RequestId']
3251
+ end
3252
+ end
3253
+
557
3254
  end
558
3255
  end
559
3256
  end