tencentcloud-sdk-tdid 3.0.617 → 3.0.619

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 123194510736dab2241e9a686ddbce7fb4bd09cc
4
- data.tar.gz: f2e5a05c76066cad5b71d39cefd7cab61e572cb4
3
+ metadata.gz: 5c3b0c82e97ca772c69f34ff0200a35ab1331009
4
+ data.tar.gz: c01d0f4893e2b0e2f49ae330800545403439c97a
5
5
  SHA512:
6
- metadata.gz: 22908708cc74d34056960c4a08e563e687ea65edf17f1df4f67f0f604199ce4600c0918584c834e2a34f0781fc4b95fc3581b6a2dba7482857d3bcdf9424371d
7
- data.tar.gz: 0fe6bac7b9bc46f4ec985e02ddfc1781540ac7a106b0807cdd5d428a61ca9017083711c7adfc88adaeac43f312059e49d6ac6fe2897e0d2597c3730d63b5bdca
6
+ metadata.gz: 036d463224f9153e2ef78d5ac8d63106b6eb36a13566695fe20468db90c215b120beaf11269305064ef34ae5451d7b89ebfc5efd81d78cf5cfb464c4ecefcf48
7
+ data.tar.gz: 107266374fd2ed1e8e3279c21090444db2c4c31ac4591e1331a0ce4207520138ee668d051843a964d893f8acf35a35c219a0bf364f2961bb817ce8101d79e65d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.617
1
+ 3.0.619
@@ -29,32 +29,6 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 下线已有内测接口,待上线正式版本的接口
33
-
34
- # DID添加标签
35
-
36
- # @param request: Request instance for AddLabel.
37
- # @type request: :class:`Tencentcloud::tdid::V20210519::AddLabelRequest`
38
- # @rtype: :class:`Tencentcloud::tdid::V20210519::AddLabelResponse`
39
- def AddLabel(request)
40
- body = send_request('AddLabel', request.serialize)
41
- response = JSON.parse(body)
42
- if response['Response'].key?('Error') == false
43
- model = AddLabelResponse.new
44
- model.deserialize(response['Response'])
45
- model
46
- else
47
- code = response['Response']['Error']['Code']
48
- message = response['Response']['Error']['Message']
49
- reqid = response['Response']['RequestId']
50
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
51
- end
52
- rescue TencentCloud::Common::TencentCloudSDKException => e
53
- raise e
54
- rescue StandardError => e
55
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
56
- end
57
-
58
32
  # 该接口不再使用
59
33
 
60
34
  # 检查区块链信息
@@ -211,32 +185,6 @@ module TencentCloud
211
185
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
212
186
  end
213
187
 
214
- # 该接口已废弃
215
-
216
- # 本机构DID详情
217
-
218
- # @param request: Request instance for GetAgencyTDid.
219
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetAgencyTDidRequest`
220
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetAgencyTDidResponse`
221
- def GetAgencyTDid(request)
222
- body = send_request('GetAgencyTDid', request.serialize)
223
- response = JSON.parse(body)
224
- if response['Response'].key?('Error') == false
225
- model = GetAgencyTDidResponse.new
226
- model.deserialize(response['Response'])
227
- model
228
- else
229
- code = response['Response']['Error']['Code']
230
- message = response['Response']['Error']['Message']
231
- reqid = response['Response']['RequestId']
232
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
233
- end
234
- rescue TencentCloud::Common::TencentCloudSDKException => e
235
- raise e
236
- rescue StandardError => e
237
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
238
- end
239
-
240
188
  # 该接口不再使用
241
189
 
242
190
  # 获取权威机构信息
@@ -263,58 +211,6 @@ module TencentCloud
263
211
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
264
212
  end
265
213
 
266
- # 下线已有内测接口,待上线正式版本的接口
267
-
268
- # 获取联盟bcos网络列表
269
-
270
- # @param request: Request instance for GetConsortiumClusterList.
271
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetConsortiumClusterListRequest`
272
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetConsortiumClusterListResponse`
273
- def GetConsortiumClusterList(request)
274
- body = send_request('GetConsortiumClusterList', request.serialize)
275
- response = JSON.parse(body)
276
- if response['Response'].key?('Error') == false
277
- model = GetConsortiumClusterListResponse.new
278
- model.deserialize(response['Response'])
279
- model
280
- else
281
- code = response['Response']['Error']['Code']
282
- message = response['Response']['Error']['Message']
283
- reqid = response['Response']['RequestId']
284
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
285
- end
286
- rescue TencentCloud::Common::TencentCloudSDKException => e
287
- raise e
288
- rescue StandardError => e
289
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
290
- end
291
-
292
- # 下线已有内测接口,待上线正式版本的接口
293
-
294
- # 获取联盟列表
295
-
296
- # @param request: Request instance for GetConsortiumList.
297
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetConsortiumListRequest`
298
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetConsortiumListResponse`
299
- def GetConsortiumList(request)
300
- body = send_request('GetConsortiumList', request.serialize)
301
- response = JSON.parse(body)
302
- if response['Response'].key?('Error') == false
303
- model = GetConsortiumListResponse.new
304
- model.deserialize(response['Response'])
305
- model
306
- else
307
- code = response['Response']['Error']['Code']
308
- message = response['Response']['Error']['Message']
309
- reqid = response['Response']['RequestId']
310
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
311
- end
312
- rescue TencentCloud::Common::TencentCloudSDKException => e
313
- raise e
314
- rescue StandardError => e
315
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
316
- end
317
-
318
214
  # 该接口不再使用
319
215
 
320
216
  # 凭证模版详情
@@ -341,32 +237,6 @@ module TencentCloud
341
237
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
238
  end
343
239
 
344
- # 下线已有内测接口,待上线正式版本的接口
345
-
346
- # 凭证颁发按机构排行
347
-
348
- # @param request: Request instance for GetCredentialCptRank.
349
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetCredentialCptRankRequest`
350
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetCredentialCptRankResponse`
351
- def GetCredentialCptRank(request)
352
- body = send_request('GetCredentialCptRank', request.serialize)
353
- response = JSON.parse(body)
354
- if response['Response'].key?('Error') == false
355
- model = GetCredentialCptRankResponse.new
356
- model.deserialize(response['Response'])
357
- model
358
- else
359
- code = response['Response']['Error']['Code']
360
- message = response['Response']['Error']['Message']
361
- reqid = response['Response']['RequestId']
362
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
363
- end
364
- rescue TencentCloud::Common::TencentCloudSDKException => e
365
- raise e
366
- rescue StandardError => e
367
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
368
- end
369
-
370
240
  # 该接口不再使用
371
241
 
372
242
  # 获取凭证链上状态信息
@@ -17,114 +17,6 @@
17
17
  module TencentCloud
18
18
  module Tdid
19
19
  module V20210519
20
- # AddLabel请求参数结构体
21
- class AddLabelRequest < TencentCloud::Common::AbstractModel
22
- # @param LabelId: 标签ID
23
- # @type LabelId: Integer
24
- # @param Did: tdid
25
- # @type Did: String
26
-
27
- attr_accessor :LabelId, :Did
28
-
29
- def initialize(labelid=nil, did=nil)
30
- @LabelId = labelid
31
- @Did = did
32
- end
33
-
34
- def deserialize(params)
35
- @LabelId = params['LabelId']
36
- @Did = params['Did']
37
- end
38
- end
39
-
40
- # AddLabel返回参数结构体
41
- class AddLabelResponse < TencentCloud::Common::AbstractModel
42
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
43
- # @type RequestId: String
44
-
45
- attr_accessor :RequestId
46
-
47
- def initialize(requestid=nil)
48
- @RequestId = requestid
49
- end
50
-
51
- def deserialize(params)
52
- @RequestId = params['RequestId']
53
- end
54
- end
55
-
56
- # bcos网络信息
57
- class BcosClusterItem < TencentCloud::Common::AbstractModel
58
- # @param ChainId: 网络索引id
59
- # @type ChainId: Integer
60
- # @param ChainName: 网络名称
61
- # @type ChainName: String
62
- # @param AgencyCount: 机构数量
63
- # @type AgencyCount: Integer
64
- # @param ConsortiumId: 联盟id
65
- # @type ConsortiumId: Integer
66
- # @param CreateTime: 创建时间
67
- # @type CreateTime: String
68
- # @param ExpireTime: 过期时间
69
- # @type ExpireTime: String
70
- # @param ChainStatus: 网络状态
71
- # @type ChainStatus: Integer
72
- # @param ResourceId: 资源 id
73
- # @type ResourceId: String
74
- # @param ClusterId: 集群id
75
- # @type ClusterId: String
76
- # @param ConsortiumName: 组织名称
77
- # @type ConsortiumName: String
78
- # @param AgencyId: 机构id
79
- # @type AgencyId: Integer
80
- # @param AutoRenewFlag: 续费状态
81
- # @type AutoRenewFlag: Integer
82
- # @param TotalNetworkNode: 网络模式
83
- # @type TotalNetworkNode: Integer
84
- # @param TotalCreateNode: 创建节点数
85
- # @type TotalCreateNode: Integer
86
- # @param TotalGroups: 总群组数量
87
- # @type TotalGroups: Integer
88
-
89
- attr_accessor :ChainId, :ChainName, :AgencyCount, :ConsortiumId, :CreateTime, :ExpireTime, :ChainStatus, :ResourceId, :ClusterId, :ConsortiumName, :AgencyId, :AutoRenewFlag, :TotalNetworkNode, :TotalCreateNode, :TotalGroups
90
-
91
- 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)
92
- @ChainId = chainid
93
- @ChainName = chainname
94
- @AgencyCount = agencycount
95
- @ConsortiumId = consortiumid
96
- @CreateTime = createtime
97
- @ExpireTime = expiretime
98
- @ChainStatus = chainstatus
99
- @ResourceId = resourceid
100
- @ClusterId = clusterid
101
- @ConsortiumName = consortiumname
102
- @AgencyId = agencyid
103
- @AutoRenewFlag = autorenewflag
104
- @TotalNetworkNode = totalnetworknode
105
- @TotalCreateNode = totalcreatenode
106
- @TotalGroups = totalgroups
107
- end
108
-
109
- def deserialize(params)
110
- @ChainId = params['ChainId']
111
- @ChainName = params['ChainName']
112
- @AgencyCount = params['AgencyCount']
113
- @ConsortiumId = params['ConsortiumId']
114
- @CreateTime = params['CreateTime']
115
- @ExpireTime = params['ExpireTime']
116
- @ChainStatus = params['ChainStatus']
117
- @ResourceId = params['ResourceId']
118
- @ClusterId = params['ClusterId']
119
- @ConsortiumName = params['ConsortiumName']
120
- @AgencyId = params['AgencyId']
121
- @AutoRenewFlag = params['AutoRenewFlag']
122
- @TotalNetworkNode = params['TotalNetworkNode']
123
- @TotalCreateNode = params['TotalCreateNode']
124
- @TotalGroups = params['TotalGroups']
125
- end
126
- end
127
-
128
20
  # CheckChain请求参数结构体
129
21
  class CheckChainRequest < TencentCloud::Common::AbstractModel
130
22
  # @param GroupId: 群组ID
@@ -177,58 +69,6 @@ module TencentCloud
177
69
  end
178
70
  end
179
71
 
180
- # 联盟信息
181
- class ConsortiumItem < TencentCloud::Common::AbstractModel
182
- # @param Id: 联盟id
183
- # @type Id: Integer
184
- # @param Name: 联盟名称
185
- # @type Name: String
186
-
187
- attr_accessor :Id, :Name
188
-
189
- def initialize(id=nil, name=nil)
190
- @Id = id
191
- @Name = name
192
- end
193
-
194
- def deserialize(params)
195
- @Id = params['Id']
196
- @Name = params['Name']
197
- end
198
- end
199
-
200
- # 模板颁发量排名
201
- class CptIssueRank < TencentCloud::Common::AbstractModel
202
- # @param CptName: 模板名称
203
- # @type CptName: String
204
- # @param Rank: 名次
205
- # @type Rank: Integer
206
- # @param Count: 颁发量
207
- # @type Count: Integer
208
- # @param ApplyName: 应用名称
209
- # @type ApplyName: String
210
- # @param ApplyId: 应用ID
211
- # @type ApplyId: Integer
212
-
213
- attr_accessor :CptName, :Rank, :Count, :ApplyName, :ApplyId
214
-
215
- def initialize(cptname=nil, rank=nil, count=nil, applyname=nil, applyid=nil)
216
- @CptName = cptname
217
- @Rank = rank
218
- @Count = count
219
- @ApplyName = applyname
220
- @ApplyId = applyid
221
- end
222
-
223
- def deserialize(params)
224
- @CptName = params['CptName']
225
- @Rank = params['Rank']
226
- @Count = params['Count']
227
- @ApplyName = params['ApplyName']
228
- @ApplyId = params['ApplyId']
229
- end
230
- end
231
-
232
72
  # CreateCredential请求参数结构体
233
73
  class CreateCredentialRequest < TencentCloud::Common::AbstractModel
234
74
  # @param FunctionArg: 参数集合,详见示例
@@ -529,53 +369,6 @@ module TencentCloud
529
369
  end
530
370
  end
531
371
 
532
- # GetAgencyTDid请求参数结构体
533
- class GetAgencyTDidRequest < TencentCloud::Common::AbstractModel
534
- # @param ClusterId: 网络ID
535
- # @type ClusterId: String
536
-
537
- attr_accessor :ClusterId
538
-
539
- def initialize(clusterid=nil)
540
- @ClusterId = clusterid
541
- end
542
-
543
- def deserialize(params)
544
- @ClusterId = params['ClusterId']
545
- end
546
- end
547
-
548
- # GetAgencyTDid返回参数结构体
549
- class GetAgencyTDidResponse < TencentCloud::Common::AbstractModel
550
- # @param Prefix: 固定前缀
551
- # @type Prefix: String
552
- # @param Identity: did详情
553
- # @type Identity: Array
554
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
555
- # @type RequestId: String
556
-
557
- attr_accessor :Prefix, :Identity, :RequestId
558
-
559
- def initialize(prefix=nil, identity=nil, requestid=nil)
560
- @Prefix = prefix
561
- @Identity = identity
562
- @RequestId = requestid
563
- end
564
-
565
- def deserialize(params)
566
- @Prefix = params['Prefix']
567
- unless params['Identity'].nil?
568
- @Identity = []
569
- params['Identity'].each do |i|
570
- identity_tmp = Identity.new
571
- identity_tmp.deserialize(i)
572
- @Identity << identity_tmp
573
- end
574
- end
575
- @RequestId = params['RequestId']
576
- end
577
- end
578
-
579
372
  # GetAuthorityIssuer请求参数结构体
580
373
  class GetAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
581
374
  # @param Did: tdid
@@ -636,87 +429,6 @@ module TencentCloud
636
429
  end
637
430
  end
638
431
 
639
- # GetConsortiumClusterList请求参数结构体
640
- class GetConsortiumClusterListRequest < TencentCloud::Common::AbstractModel
641
- # @param ConsortiumId: 联盟id
642
- # @type ConsortiumId: Integer
643
-
644
- attr_accessor :ConsortiumId
645
-
646
- def initialize(consortiumid=nil)
647
- @ConsortiumId = consortiumid
648
- end
649
-
650
- def deserialize(params)
651
- @ConsortiumId = params['ConsortiumId']
652
- end
653
- end
654
-
655
- # GetConsortiumClusterList返回参数结构体
656
- class GetConsortiumClusterListResponse < TencentCloud::Common::AbstractModel
657
- # @param ClusterList: 网络列表
658
- # @type ClusterList: Array
659
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
660
- # @type RequestId: String
661
-
662
- attr_accessor :ClusterList, :RequestId
663
-
664
- def initialize(clusterlist=nil, requestid=nil)
665
- @ClusterList = clusterlist
666
- @RequestId = requestid
667
- end
668
-
669
- def deserialize(params)
670
- unless params['ClusterList'].nil?
671
- @ClusterList = []
672
- params['ClusterList'].each do |i|
673
- bcosclusteritem_tmp = BcosClusterItem.new
674
- bcosclusteritem_tmp.deserialize(i)
675
- @ClusterList << bcosclusteritem_tmp
676
- end
677
- end
678
- @RequestId = params['RequestId']
679
- end
680
- end
681
-
682
- # GetConsortiumList请求参数结构体
683
- class GetConsortiumListRequest < TencentCloud::Common::AbstractModel
684
-
685
-
686
- def initialize()
687
- end
688
-
689
- def deserialize(params)
690
- end
691
- end
692
-
693
- # GetConsortiumList返回参数结构体
694
- class GetConsortiumListResponse < TencentCloud::Common::AbstractModel
695
- # @param ConsortiumList: 联盟列表
696
- # @type ConsortiumList: Array
697
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
698
- # @type RequestId: String
699
-
700
- attr_accessor :ConsortiumList, :RequestId
701
-
702
- def initialize(consortiumlist=nil, requestid=nil)
703
- @ConsortiumList = consortiumlist
704
- @RequestId = requestid
705
- end
706
-
707
- def deserialize(params)
708
- unless params['ConsortiumList'].nil?
709
- @ConsortiumList = []
710
- params['ConsortiumList'].each do |i|
711
- consortiumitem_tmp = ConsortiumItem.new
712
- consortiumitem_tmp.deserialize(i)
713
- @ConsortiumList << consortiumitem_tmp
714
- end
715
- end
716
- @RequestId = params['RequestId']
717
- end
718
- end
719
-
720
432
  # GetCptInfo请求参数结构体
721
433
  class GetCptInfoRequest < TencentCloud::Common::AbstractModel
722
434
  # @param CptIndex: Cpt索引
@@ -753,57 +465,6 @@ module TencentCloud
753
465
  end
754
466
  end
755
467
 
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
764
-
765
- attr_accessor :StartTime, :EndTime, :ClusterId
766
-
767
- def initialize(starttime=nil, endtime=nil, clusterid=nil)
768
- @StartTime = starttime
769
- @EndTime = endtime
770
- @ClusterId = clusterid
771
- end
772
-
773
- def deserialize(params)
774
- @StartTime = params['StartTime']
775
- @EndTime = params['EndTime']
776
- @ClusterId = params['ClusterId']
777
- end
778
- end
779
-
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
786
-
787
- attr_accessor :RankIssueResult, :RequestId
788
-
789
- def initialize(rankissueresult=nil, requestid=nil)
790
- @RankIssueResult = rankissueresult
791
- @RequestId = requestid
792
- end
793
-
794
- def deserialize(params)
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']
804
- end
805
- end
806
-
807
468
  # GetCredentialStatus请求参数结构体
808
469
  class GetCredentialStatusRequest < TencentCloud::Common::AbstractModel
809
470
  # @param CredentialId: 凭证id
@@ -883,38 +544,6 @@ module TencentCloud
883
544
  end
884
545
  end
885
546
 
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
898
-
899
- attr_accessor :AccountIdentifier, :ChainID, :Did, :GroupId, :GroupName
900
-
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
907
- end
908
-
909
- def deserialize(params)
910
- @AccountIdentifier = params['AccountIdentifier']
911
- @ChainID = params['ChainID']
912
- @Did = params['Did']
913
- @GroupId = params['GroupId']
914
- @GroupName = params['GroupName']
915
- end
916
- end
917
-
918
547
  # 验证凭证签名
919
548
  class Proof < TencentCloud::Common::AbstractModel
920
549
  # @param Created: 创建时间
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdid
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.617
4
+ version: 3.0.619
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-20 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common