tencentcloud-sdk-tdid 3.0.598 → 3.0.599

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,86 +53,6 @@ module TencentCloud
53
53
  end
54
54
  end
55
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
56
  # bcos网络信息
137
57
  class BcosClusterItem < TencentCloud::Common::AbstractModel
138
58
  # @param ChainId: 网络索引id
@@ -205,38 +125,6 @@ module TencentCloud
205
125
  end
206
126
  end
207
127
 
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
128
  # CheckChain请求参数结构体
241
129
  class CheckChainRequest < TencentCloud::Common::AbstractModel
242
130
  # @param GroupId: 群组ID
@@ -289,45 +177,6 @@ module TencentCloud
289
177
  end
290
178
  end
291
179
 
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
180
  # 联盟信息
332
181
  class ConsortiumItem < TencentCloud::Common::AbstractModel
333
182
  # @param Id: 联盟id
@@ -348,50 +197,6 @@ module TencentCloud
348
197
  end
349
198
  end
350
199
 
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
200
  # 模板颁发量排名
396
201
  class CptIssueRank < TencentCloud::Common::AbstractModel
397
202
  # @param CptName: 模板名称
@@ -424,74 +229,6 @@ module TencentCloud
424
229
  end
425
230
  end
426
231
 
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
-
495
232
  # CreateCredential请求参数结构体
496
233
  class CreateCredentialRequest < TencentCloud::Common::AbstractModel
497
234
  # @param FunctionArg: 参数集合,详见示例
@@ -546,109 +283,6 @@ module TencentCloud
546
283
  end
547
284
  end
548
285
 
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
565
-
566
- attr_accessor :ConsortiumName, :ConsortiumId, :GroupId, :AgencyName, :AppName, :ClusterId, :GroupName
567
-
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
576
- end
577
-
578
- def deserialize(params)
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']
586
- end
587
- end
588
-
589
- # CreateDidService返回参数结构体
590
- class CreateDidServiceResponse < TencentCloud::Common::AbstractModel
591
- # @param Task: 服务信息
592
- # @type Task: :class:`Tencentcloud::Tdid.v20210519.models.Task`
593
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
594
- # @type RequestId: String
595
-
596
- attr_accessor :Task, :RequestId
597
-
598
- def initialize(task=nil, requestid=nil)
599
- @Task = task
600
- @RequestId = requestid
601
- end
602
-
603
- def deserialize(params)
604
- unless params['Task'].nil?
605
- @Task = Task.new
606
- @Task.deserialize(params['Task'])
607
- end
608
- @RequestId = params['RequestId']
609
- end
610
- end
611
-
612
- # CreateLabel请求参数结构体
613
- class CreateLabelRequest < TencentCloud::Common::AbstractModel
614
- # @param LabelName: 标签名称
615
- # @type LabelName: String
616
- # @param ClusterId: 网络Id
617
- # @type ClusterId: String
618
- # @param GroupId: 群组ID
619
- # @type GroupId: Integer
620
-
621
- attr_accessor :LabelName, :ClusterId, :GroupId
622
-
623
- def initialize(labelname=nil, clusterid=nil, groupid=nil)
624
- @LabelName = labelname
625
- @ClusterId = clusterid
626
- @GroupId = groupid
627
- end
628
-
629
- def deserialize(params)
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
286
  # CreateSelectiveCredential请求参数结构体
653
287
  class CreateSelectiveCredentialRequest < TencentCloud::Common::AbstractModel
654
288
  # @param FunctionArg: 参数集合
@@ -867,50 +501,6 @@ module TencentCloud
867
501
  end
868
502
  end
869
503
 
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
504
  # did区块链网络信息
915
505
  class DidCluster < TencentCloud::Common::AbstractModel
916
506
  # @param ChainId: 链ID
@@ -987,198 +577,6 @@ module TencentCloud
987
577
  end
988
578
  end
989
579
 
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
580
  # 创建凭证入参的FunctionArg
1183
581
  class FunctionArg < TencentCloud::Common::AbstractModel
1184
582
  # @param CptId: CPT ID
@@ -1254,65 +652,6 @@ module TencentCloud
1254
652
  end
1255
653
  end
1256
654
 
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
655
  # GetAuthorityIssuer请求参数结构体
1317
656
  class GetAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
1318
657
  # @param Did: tdid
@@ -1490,61 +829,6 @@ module TencentCloud
1490
829
  end
1491
830
  end
1492
831
 
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
832
  # GetCredentialCptRank请求参数结构体
1549
833
  class GetCredentialCptRankRequest < TencentCloud::Common::AbstractModel
1550
834
  # @param StartTime: 开始时间(支持到天 2021-4-23)
@@ -1596,416 +880,91 @@ module TencentCloud
1596
880
  end
1597
881
  end
1598
882
 
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
883
+ # GetCredentialStatus请求参数结构体
884
+ class GetCredentialStatusRequest < TencentCloud::Common::AbstractModel
885
+ # @param CredentialId: 凭证id
886
+ # @type CredentialId: String
1607
887
 
1608
- attr_accessor :StartTime, :EndTime, :ClusterId
888
+ attr_accessor :CredentialId
1609
889
 
1610
- def initialize(starttime=nil, endtime=nil, clusterid=nil)
1611
- @StartTime = starttime
1612
- @EndTime = endtime
1613
- @ClusterId = clusterid
890
+ def initialize(credentialid=nil)
891
+ @CredentialId = credentialid
1614
892
  end
1615
893
 
1616
894
  def deserialize(params)
1617
- @StartTime = params['StartTime']
1618
- @EndTime = params['EndTime']
1619
- @ClusterId = params['ClusterId']
895
+ @CredentialId = params['CredentialId']
1620
896
  end
1621
897
  end
1622
898
 
1623
- # GetCredentialIssueRank返回参数结构体
1624
- class GetCredentialIssueRankResponse < TencentCloud::Common::AbstractModel
1625
- # @param RankIssueResult: Rank集合
1626
- # @type RankIssueResult: Array
899
+ # GetCredentialStatus返回参数结构体
900
+ class GetCredentialStatusResponse < TencentCloud::Common::AbstractModel
901
+ # @param CredentialStatus: 凭证状态信息
902
+ # @type CredentialStatus: :class:`Tencentcloud::Tdid.v20210519.models.CredentialStatus`
1627
903
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1628
904
  # @type RequestId: String
1629
905
 
1630
- attr_accessor :RankIssueResult, :RequestId
906
+ attr_accessor :CredentialStatus, :RequestId
1631
907
 
1632
- def initialize(rankissueresult=nil, requestid=nil)
1633
- @RankIssueResult = rankissueresult
908
+ def initialize(credentialstatus=nil, requestid=nil)
909
+ @CredentialStatus = credentialstatus
1634
910
  @RequestId = requestid
1635
911
  end
1636
912
 
1637
913
  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
914
+ unless params['CredentialStatus'].nil?
915
+ @CredentialStatus = CredentialStatus.new
916
+ @CredentialStatus.deserialize(params['CredentialStatus'])
1645
917
  end
1646
918
  @RequestId = params['RequestId']
1647
919
  end
1648
920
  end
1649
921
 
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
922
+ # GetDidClusterDetail请求参数结构体
923
+ class GetDidClusterDetailRequest < TencentCloud::Common::AbstractModel
924
+ # @param ClusterId: DID网络ID
1657
925
  # @type ClusterId: String
1658
926
 
1659
- attr_accessor :StartTime, :EndTime, :ClusterId
927
+ attr_accessor :ClusterId
1660
928
 
1661
- def initialize(starttime=nil, endtime=nil, clusterid=nil)
1662
- @StartTime = starttime
1663
- @EndTime = endtime
929
+ def initialize(clusterid=nil)
1664
930
  @ClusterId = clusterid
1665
931
  end
1666
932
 
1667
933
  def deserialize(params)
1668
- @StartTime = params['StartTime']
1669
- @EndTime = params['EndTime']
1670
934
  @ClusterId = params['ClusterId']
1671
935
  end
1672
936
  end
1673
937
 
1674
- # GetCredentialIssueTrend返回参数结构体
1675
- class GetCredentialIssueTrendResponse < TencentCloud::Common::AbstractModel
1676
- # @param Trend: Trend集合
1677
- # @type Trend: Array
938
+ # GetDidClusterDetail返回参数结构体
939
+ class GetDidClusterDetailResponse < TencentCloud::Common::AbstractModel
940
+ # @param ClusterId: 网络ID
941
+ # @type ClusterId: String
942
+ # @param ConsortiumName: 组织名称
943
+ # @type ConsortiumName: String
944
+ # @param ChainAgency: 区块链组织名称
945
+ # @type ChainAgency: String
1678
946
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1679
947
  # @type RequestId: String
1680
948
 
1681
- attr_accessor :Trend, :RequestId
949
+ attr_accessor :ClusterId, :ConsortiumName, :ChainAgency, :RequestId
1682
950
 
1683
- def initialize(trend=nil, requestid=nil)
1684
- @Trend = trend
951
+ def initialize(clusterid=nil, consortiumname=nil, chainagency=nil, requestid=nil)
952
+ @ClusterId = clusterid
953
+ @ConsortiumName = consortiumname
954
+ @ChainAgency = chainagency
1685
955
  @RequestId = requestid
1686
956
  end
1687
957
 
1688
958
  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
959
+ @ClusterId = params['ClusterId']
960
+ @ConsortiumName = params['ConsortiumName']
961
+ @ChainAgency = params['ChainAgency']
1697
962
  @RequestId = params['RequestId']
1698
963
  end
1699
964
  end
1700
965
 
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
966
+ # GetDidClusterList请求参数结构体
967
+ class GetDidClusterListRequest < TencentCloud::Common::AbstractModel
2009
968
 
2010
969
 
2011
970
  def initialize()
@@ -2042,78 +1001,6 @@ module TencentCloud
2042
1001
  end
2043
1002
  end
2044
1003
 
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
1004
  # GetDidDocument请求参数结构体
2118
1005
  class GetDidDocumentRequest < TencentCloud::Common::AbstractModel
2119
1006
  # @param Did: tdid
@@ -2139,447 +1026,18 @@ module TencentCloud
2139
1026
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2140
1027
  # @type RequestId: String
2141
1028
 
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
1029
+ attr_accessor :Name, :Document, :RequestId
2566
1030
 
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
1031
+ def initialize(name=nil, document=nil, requestid=nil)
1032
+ @Name = name
1033
+ @Document = document
1034
+ @RequestId = requestid
2574
1035
  end
2575
1036
 
2576
1037
  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']
1038
+ @Name = params['Name']
1039
+ @Document = params['Document']
1040
+ @RequestId = params['RequestId']
2583
1041
  end
2584
1042
  end
2585
1043
 
@@ -2615,114 +1073,6 @@ module TencentCloud
2615
1073
  end
2616
1074
  end
2617
1075
 
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
1076
  # 验证凭证签名
2727
1077
  class Proof < TencentCloud::Common::AbstractModel
2728
1078
  # @param Created: 创建时间
@@ -2755,130 +1105,6 @@ module TencentCloud
2755
1105
  end
2756
1106
  end
2757
1107
 
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']
2819
- end
2820
- end
2821
-
2822
- # RecognizeAuthorityIssuer返回参数结构体
2823
- class RecognizeAuthorityIssuerResponse < TencentCloud::Common::AbstractModel
2824
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2825
- # @type RequestId: String
2826
-
2827
- attr_accessor :RequestId
2828
-
2829
- def initialize(requestid=nil)
2830
- @RequestId = requestid
2831
- end
2832
-
2833
- def deserialize(params)
2834
- @RequestId = params['RequestId']
2835
- end
2836
- end
2837
-
2838
- # RegisterClaimPolicy请求参数结构体
2839
- class RegisterClaimPolicyRequest < TencentCloud::Common::AbstractModel
2840
- # @param CptIndex: Cpt索引
2841
- # @type CptIndex: Integer
2842
- # @param Policy: 披露策略
2843
- # @type Policy: String
2844
-
2845
- attr_accessor :CptIndex, :Policy
2846
-
2847
- def initialize(cptindex=nil, policy=nil)
2848
- @CptIndex = cptindex
2849
- @Policy = policy
2850
- end
2851
-
2852
- def deserialize(params)
2853
- @CptIndex = params['CptIndex']
2854
- @Policy = params['Policy']
2855
- end
2856
- end
2857
-
2858
- # RegisterClaimPolicy返回参数结构体
2859
- class RegisterClaimPolicyResponse < TencentCloud::Common::AbstractModel
2860
- # @param Id: 披露策略索引
2861
- # @type Id: Integer
2862
- # @param PolicyId: 披露策略ID
2863
- # @type PolicyId: Integer
2864
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2865
- # @type RequestId: String
2866
-
2867
- attr_accessor :Id, :PolicyId, :RequestId
2868
-
2869
- def initialize(id=nil, policyid=nil, requestid=nil)
2870
- @Id = id
2871
- @PolicyId = policyid
2872
- @RequestId = requestid
2873
- end
2874
-
2875
- def deserialize(params)
2876
- @Id = params['Id']
2877
- @PolicyId = params['PolicyId']
2878
- @RequestId = params['RequestId']
2879
- end
2880
- end
2881
-
2882
1108
  # RegisterCpt请求参数结构体
2883
1109
  class RegisterCptRequest < TencentCloud::Common::AbstractModel
2884
1110
  # @param GroupId: 群组ID
@@ -2931,78 +1157,6 @@ module TencentCloud
2931
1157
  end
2932
1158
  end
2933
1159
 
2934
- # RegisterIssuer请求参数结构体
2935
- class RegisterIssuerRequest < TencentCloud::Common::AbstractModel
2936
- # @param Did: tdid
2937
- # @type Did: String
2938
- # @param Name: 权威机构名称
2939
- # @type Name: String
2940
- # @param Description: 备注
2941
- # @type Description: String
2942
-
2943
- attr_accessor :Did, :Name, :Description
2944
-
2945
- def initialize(did=nil, name=nil, description=nil)
2946
- @Did = did
2947
- @Name = name
2948
- @Description = description
2949
- end
2950
-
2951
- def deserialize(params)
2952
- @Did = params['Did']
2953
- @Name = params['Name']
2954
- @Description = params['Description']
2955
- end
2956
- end
2957
-
2958
- # RegisterIssuer返回参数结构体
2959
- class RegisterIssuerResponse < TencentCloud::Common::AbstractModel
2960
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2961
- # @type RequestId: String
2962
-
2963
- attr_accessor :RequestId
2964
-
2965
- def initialize(requestid=nil)
2966
- @RequestId = requestid
2967
- end
2968
-
2969
- def deserialize(params)
2970
- @RequestId = params['RequestId']
2971
- end
2972
- end
2973
-
2974
- # RemoveHash请求参数结构体
2975
- class RemoveHashRequest < TencentCloud::Common::AbstractModel
2976
- # @param Hash: 合约CNS地址
2977
- # @type Hash: String
2978
-
2979
- attr_accessor :Hash
2980
-
2981
- def initialize(hash=nil)
2982
- @Hash = hash
2983
- end
2984
-
2985
- def deserialize(params)
2986
- @Hash = params['Hash']
2987
- end
2988
- end
2989
-
2990
- # RemoveHash返回参数结构体
2991
- class RemoveHashResponse < TencentCloud::Common::AbstractModel
2992
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2993
- # @type RequestId: String
2994
-
2995
- attr_accessor :RequestId
2996
-
2997
- def initialize(requestid=nil)
2998
- @RequestId = requestid
2999
- end
3000
-
3001
- def deserialize(params)
3002
- @RequestId = params['RequestId']
3003
- end
3004
- end
3005
-
3006
1160
  # SetCredentialStatus请求参数结构体
3007
1161
  class SetCredentialStatusRequest < TencentCloud::Common::AbstractModel
3008
1162
  # @param CredentialStatus: 凭证状态
@@ -3038,58 +1192,6 @@ module TencentCloud
3038
1192
  end
3039
1193
  end
3040
1194
 
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
-
3093
1195
  # 创建凭证第二个
3094
1196
  class TransactionArg < TencentCloud::Common::AbstractModel
3095
1197
  # @param InvokerTDid: 凭证did
@@ -3106,26 +1208,6 @@ module TencentCloud
3106
1208
  end
3107
1209
  end
3108
1210
 
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
-
3129
1211
  # VerifyCredential请求参数结构体
3130
1212
  class VerifyCredentialRequest < TencentCloud::Common::AbstractModel
3131
1213
  # @param FunctionArg: 参数集合