tencentcloud-sdk-tdid 3.0.598 → 3.0.600
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210519/client.rb +38 -792
- data/lib/v20210519/models.rb +136 -2212
- metadata +2 -2
data/lib/v20210519/models.rb
CHANGED
@@ -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,343 +501,31 @@ module TencentCloud
|
|
867
501
|
end
|
868
502
|
end
|
869
503
|
|
870
|
-
#
|
871
|
-
class
|
872
|
-
# @param
|
873
|
-
# @type
|
874
|
-
# @param
|
875
|
-
# @type
|
876
|
-
# @param
|
877
|
-
# @type
|
504
|
+
# 创建凭证入参的FunctionArg
|
505
|
+
class FunctionArg < TencentCloud::Common::AbstractModel
|
506
|
+
# @param CptId: CPT ID
|
507
|
+
# @type CptId: Integer
|
508
|
+
# @param Issuer: 签发者 did
|
509
|
+
# @type Issuer: String
|
510
|
+
# @param ExpirationDate: 过期时间
|
511
|
+
# @type ExpirationDate: String
|
512
|
+
# @param ClaimJson: 声明
|
513
|
+
# @type ClaimJson: String
|
878
514
|
|
879
|
-
attr_accessor :
|
515
|
+
attr_accessor :CptId, :Issuer, :ExpirationDate, :ClaimJson
|
880
516
|
|
881
|
-
def initialize(
|
882
|
-
@
|
883
|
-
@
|
884
|
-
@
|
517
|
+
def initialize(cptid=nil, issuer=nil, expirationdate=nil, claimjson=nil)
|
518
|
+
@CptId = cptid
|
519
|
+
@Issuer = issuer
|
520
|
+
@ExpirationDate = expirationdate
|
521
|
+
@ClaimJson = claimjson
|
885
522
|
end
|
886
523
|
|
887
524
|
def deserialize(params)
|
888
|
-
@
|
889
|
-
@
|
890
|
-
@
|
891
|
-
|
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']
|
525
|
+
@CptId = params['CptId']
|
526
|
+
@Issuer = params['Issuer']
|
527
|
+
@ExpirationDate = params['ExpirationDate']
|
528
|
+
@ClaimJson = params['ClaimJson']
|
1207
529
|
end
|
1208
530
|
end
|
1209
531
|
|
@@ -1254,65 +576,6 @@ module TencentCloud
|
|
1254
576
|
end
|
1255
577
|
end
|
1256
578
|
|
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
579
|
# GetAuthorityIssuer请求参数结构体
|
1317
580
|
class GetAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
|
1318
581
|
# @param Did: tdid
|
@@ -1490,1322 +753,99 @@ module TencentCloud
|
|
1490
753
|
end
|
1491
754
|
end
|
1492
755
|
|
1493
|
-
#
|
1494
|
-
class
|
1495
|
-
# @param
|
1496
|
-
# @type
|
1497
|
-
# @param
|
1498
|
-
# @type
|
1499
|
-
# @param
|
1500
|
-
# @type
|
756
|
+
# GetCredentialCptRank请求参数结构体
|
757
|
+
class GetCredentialCptRankRequest < TencentCloud::Common::AbstractModel
|
758
|
+
# @param StartTime: 开始时间(支持到天 2021-4-23)
|
759
|
+
# @type StartTime: String
|
760
|
+
# @param EndTime: 结束时间(支持到天 2021-4-23)
|
761
|
+
# @type EndTime: String
|
762
|
+
# @param ClusterId: 网络ID
|
763
|
+
# @type ClusterId: String
|
1501
764
|
|
1502
|
-
attr_accessor :
|
765
|
+
attr_accessor :StartTime, :EndTime, :ClusterId
|
1503
766
|
|
1504
|
-
def initialize(
|
1505
|
-
@
|
1506
|
-
@
|
1507
|
-
@
|
767
|
+
def initialize(starttime=nil, endtime=nil, clusterid=nil)
|
768
|
+
@StartTime = starttime
|
769
|
+
@EndTime = endtime
|
770
|
+
@ClusterId = clusterid
|
1508
771
|
end
|
1509
772
|
|
1510
773
|
def deserialize(params)
|
1511
|
-
@
|
1512
|
-
@
|
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']
|
774
|
+
@StartTime = params['StartTime']
|
775
|
+
@EndTime = params['EndTime']
|
2711
776
|
@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
777
|
end
|
2724
778
|
end
|
2725
779
|
|
2726
|
-
#
|
2727
|
-
class
|
2728
|
-
# @param
|
2729
|
-
# @type
|
2730
|
-
# @param
|
2731
|
-
# @type
|
2732
|
-
# @param SaltJson: salt值
|
2733
|
-
# @type SaltJson: String
|
2734
|
-
# @param SignatureValue: 签名
|
2735
|
-
# @type SignatureValue: String
|
2736
|
-
# @param Type: type类型
|
2737
|
-
# @type Type: String
|
780
|
+
# GetCredentialCptRank返回参数结构体
|
781
|
+
class GetCredentialCptRankResponse < TencentCloud::Common::AbstractModel
|
782
|
+
# @param RankIssueResult: Rank集合
|
783
|
+
# @type RankIssueResult: Array
|
784
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
785
|
+
# @type RequestId: String
|
2738
786
|
|
2739
|
-
attr_accessor :
|
787
|
+
attr_accessor :RankIssueResult, :RequestId
|
2740
788
|
|
2741
|
-
def initialize(
|
2742
|
-
@
|
2743
|
-
@
|
2744
|
-
@SaltJson = saltjson
|
2745
|
-
@SignatureValue = signaturevalue
|
2746
|
-
@Type = type
|
789
|
+
def initialize(rankissueresult=nil, requestid=nil)
|
790
|
+
@RankIssueResult = rankissueresult
|
791
|
+
@RequestId = requestid
|
2747
792
|
end
|
2748
793
|
|
2749
794
|
def deserialize(params)
|
2750
|
-
|
2751
|
-
|
2752
|
-
|
2753
|
-
|
2754
|
-
|
795
|
+
unless params['RankIssueResult'].nil?
|
796
|
+
@RankIssueResult = []
|
797
|
+
params['RankIssueResult'].each do |i|
|
798
|
+
cptissuerank_tmp = CptIssueRank.new
|
799
|
+
cptissuerank_tmp.deserialize(i)
|
800
|
+
@RankIssueResult << cptissuerank_tmp
|
801
|
+
end
|
802
|
+
end
|
803
|
+
@RequestId = params['RequestId']
|
2755
804
|
end
|
2756
805
|
end
|
2757
806
|
|
2758
|
-
#
|
2759
|
-
class
|
2760
|
-
# @param
|
2761
|
-
# @type
|
807
|
+
# GetCredentialStatus请求参数结构体
|
808
|
+
class GetCredentialStatusRequest < TencentCloud::Common::AbstractModel
|
809
|
+
# @param CredentialId: 凭证id
|
810
|
+
# @type CredentialId: String
|
2762
811
|
|
2763
|
-
attr_accessor :
|
812
|
+
attr_accessor :CredentialId
|
2764
813
|
|
2765
|
-
def initialize(
|
2766
|
-
@
|
814
|
+
def initialize(credentialid=nil)
|
815
|
+
@CredentialId = credentialid
|
2767
816
|
end
|
2768
817
|
|
2769
818
|
def deserialize(params)
|
2770
|
-
@
|
819
|
+
@CredentialId = params['CredentialId']
|
2771
820
|
end
|
2772
821
|
end
|
2773
822
|
|
2774
|
-
#
|
2775
|
-
class
|
2776
|
-
# @param
|
2777
|
-
# @type
|
2778
|
-
# @param PolicyId: 披露策略ID
|
2779
|
-
# @type PolicyId: Integer
|
2780
|
-
# @param CptId: 凭证模板ID
|
2781
|
-
# @type CptId: Integer
|
2782
|
-
# @param PolicyData: 披露策略的具体信息
|
2783
|
-
# @type PolicyData: String
|
823
|
+
# GetCredentialStatus返回参数结构体
|
824
|
+
class GetCredentialStatusResponse < TencentCloud::Common::AbstractModel
|
825
|
+
# @param CredentialStatus: 凭证状态信息
|
826
|
+
# @type CredentialStatus: :class:`Tencentcloud::Tdid.v20210519.models.CredentialStatus`
|
2784
827
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2785
828
|
# @type RequestId: String
|
2786
829
|
|
2787
|
-
attr_accessor :
|
830
|
+
attr_accessor :CredentialStatus, :RequestId
|
2788
831
|
|
2789
|
-
def initialize(
|
2790
|
-
@
|
2791
|
-
@PolicyId = policyid
|
2792
|
-
@CptId = cptid
|
2793
|
-
@PolicyData = policydata
|
832
|
+
def initialize(credentialstatus=nil, requestid=nil)
|
833
|
+
@CredentialStatus = credentialstatus
|
2794
834
|
@RequestId = requestid
|
2795
835
|
end
|
2796
836
|
|
2797
837
|
def deserialize(params)
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
|
838
|
+
unless params['CredentialStatus'].nil?
|
839
|
+
@CredentialStatus = CredentialStatus.new
|
840
|
+
@CredentialStatus.deserialize(params['CredentialStatus'])
|
841
|
+
end
|
2802
842
|
@RequestId = params['RequestId']
|
2803
843
|
end
|
2804
844
|
end
|
2805
845
|
|
2806
|
-
#
|
2807
|
-
class
|
2808
|
-
# @param Did:
|
846
|
+
# GetDidDocument请求参数结构体
|
847
|
+
class GetDidDocumentRequest < TencentCloud::Common::AbstractModel
|
848
|
+
# @param Did: tdid
|
2809
849
|
# @type Did: String
|
2810
850
|
|
2811
851
|
attr_accessor :Did
|
@@ -2819,63 +859,91 @@ module TencentCloud
|
|
2819
859
|
end
|
2820
860
|
end
|
2821
861
|
|
2822
|
-
#
|
2823
|
-
class
|
862
|
+
# GetDidDocument返回参数结构体
|
863
|
+
class GetDidDocumentResponse < TencentCloud::Common::AbstractModel
|
864
|
+
# @param Name: 名称
|
865
|
+
# @type Name: String
|
866
|
+
# @param Document: DID文档
|
867
|
+
# @type Document: String
|
2824
868
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2825
869
|
# @type RequestId: String
|
2826
870
|
|
2827
|
-
attr_accessor :RequestId
|
871
|
+
attr_accessor :Name, :Document, :RequestId
|
2828
872
|
|
2829
|
-
def initialize(requestid=nil)
|
873
|
+
def initialize(name=nil, document=nil, requestid=nil)
|
874
|
+
@Name = name
|
875
|
+
@Document = document
|
2830
876
|
@RequestId = requestid
|
2831
877
|
end
|
2832
878
|
|
2833
879
|
def deserialize(params)
|
880
|
+
@Name = params['Name']
|
881
|
+
@Document = params['Document']
|
2834
882
|
@RequestId = params['RequestId']
|
2835
883
|
end
|
2836
884
|
end
|
2837
885
|
|
2838
|
-
#
|
2839
|
-
class
|
2840
|
-
# @param
|
2841
|
-
# @type
|
2842
|
-
# @param
|
2843
|
-
# @type
|
886
|
+
# did详情
|
887
|
+
class Identity < TencentCloud::Common::AbstractModel
|
888
|
+
# @param AccountIdentifier: 账户标识符
|
889
|
+
# @type AccountIdentifier: String
|
890
|
+
# @param ChainID: 链ID
|
891
|
+
# @type ChainID: String
|
892
|
+
# @param Did: 完整tdid
|
893
|
+
# @type Did: String
|
894
|
+
# @param GroupId: 群组ID
|
895
|
+
# @type GroupId: Integer
|
896
|
+
# @param GroupName: 群组名称
|
897
|
+
# @type GroupName: String
|
2844
898
|
|
2845
|
-
attr_accessor :
|
899
|
+
attr_accessor :AccountIdentifier, :ChainID, :Did, :GroupId, :GroupName
|
2846
900
|
|
2847
|
-
def initialize(
|
2848
|
-
@
|
2849
|
-
@
|
901
|
+
def initialize(accountidentifier=nil, chainid=nil, did=nil, groupid=nil, groupname=nil)
|
902
|
+
@AccountIdentifier = accountidentifier
|
903
|
+
@ChainID = chainid
|
904
|
+
@Did = did
|
905
|
+
@GroupId = groupid
|
906
|
+
@GroupName = groupname
|
2850
907
|
end
|
2851
908
|
|
2852
909
|
def deserialize(params)
|
2853
|
-
@
|
2854
|
-
@
|
910
|
+
@AccountIdentifier = params['AccountIdentifier']
|
911
|
+
@ChainID = params['ChainID']
|
912
|
+
@Did = params['Did']
|
913
|
+
@GroupId = params['GroupId']
|
914
|
+
@GroupName = params['GroupName']
|
2855
915
|
end
|
2856
916
|
end
|
2857
917
|
|
2858
|
-
#
|
2859
|
-
class
|
2860
|
-
# @param
|
2861
|
-
# @type
|
2862
|
-
# @param
|
2863
|
-
# @type
|
2864
|
-
# @param
|
2865
|
-
# @type
|
918
|
+
# 验证凭证签名
|
919
|
+
class Proof < TencentCloud::Common::AbstractModel
|
920
|
+
# @param Created: 创建时间
|
921
|
+
# @type Created: Integer
|
922
|
+
# @param Creator: 创建着did
|
923
|
+
# @type Creator: String
|
924
|
+
# @param SaltJson: salt值
|
925
|
+
# @type SaltJson: String
|
926
|
+
# @param SignatureValue: 签名
|
927
|
+
# @type SignatureValue: String
|
928
|
+
# @param Type: type类型
|
929
|
+
# @type Type: String
|
2866
930
|
|
2867
|
-
attr_accessor :
|
931
|
+
attr_accessor :Created, :Creator, :SaltJson, :SignatureValue, :Type
|
2868
932
|
|
2869
|
-
def initialize(
|
2870
|
-
@
|
2871
|
-
@
|
2872
|
-
@
|
933
|
+
def initialize(created=nil, creator=nil, saltjson=nil, signaturevalue=nil, type=nil)
|
934
|
+
@Created = created
|
935
|
+
@Creator = creator
|
936
|
+
@SaltJson = saltjson
|
937
|
+
@SignatureValue = signaturevalue
|
938
|
+
@Type = type
|
2873
939
|
end
|
2874
940
|
|
2875
941
|
def deserialize(params)
|
2876
|
-
@
|
2877
|
-
@
|
2878
|
-
@
|
942
|
+
@Created = params['Created']
|
943
|
+
@Creator = params['Creator']
|
944
|
+
@SaltJson = params['SaltJson']
|
945
|
+
@SignatureValue = params['SignatureValue']
|
946
|
+
@Type = params['Type']
|
2879
947
|
end
|
2880
948
|
end
|
2881
949
|
|
@@ -2931,78 +999,6 @@ module TencentCloud
|
|
2931
999
|
end
|
2932
1000
|
end
|
2933
1001
|
|
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
1002
|
# SetCredentialStatus请求参数结构体
|
3007
1003
|
class SetCredentialStatusRequest < TencentCloud::Common::AbstractModel
|
3008
1004
|
# @param CredentialStatus: 凭证状态
|
@@ -3038,58 +1034,6 @@ module TencentCloud
|
|
3038
1034
|
end
|
3039
1035
|
end
|
3040
1036
|
|
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
1037
|
# 创建凭证第二个
|
3094
1038
|
class TransactionArg < TencentCloud::Common::AbstractModel
|
3095
1039
|
# @param InvokerTDid: 凭证did
|
@@ -3106,26 +1050,6 @@ module TencentCloud
|
|
3106
1050
|
end
|
3107
1051
|
end
|
3108
1052
|
|
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
1053
|
# VerifyCredential请求参数结构体
|
3130
1054
|
class VerifyCredentialRequest < TencentCloud::Common::AbstractModel
|
3131
1055
|
# @param FunctionArg: 参数集合
|