tencentcloud-sdk-tdid 3.0.616 → 3.0.618
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210519/client.rb +0 -78
- data/lib/v20210519/models.rb +0 -256
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43df9d0e4d7ed64d9128186edeffc09df7d86af5
|
4
|
+
data.tar.gz: 76472c3cdd1d44f385c17bfe8c4b440c9f5fc258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdf4f52c38fd8a4e87564e1a37b16b4a1497e2ccf1de4c866360dbcbb3c35abbe1714e1da517d572c229dd6bf664f27896d876d65f9243c1847a052655fa49c0
|
7
|
+
data.tar.gz: cb5e1e6315201047b500c77027530106121916b0bf28ff9391deced4c49bb0dbc7749775987454b9fd04694e82775ed0ec27551528307ccb406dc752c935092e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.618
|
data/lib/v20210519/client.rb
CHANGED
@@ -263,58 +263,6 @@ module TencentCloud
|
|
263
263
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
264
264
|
end
|
265
265
|
|
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
266
|
# 该接口不再使用
|
319
267
|
|
320
268
|
# 凭证模版详情
|
@@ -341,32 +289,6 @@ module TencentCloud
|
|
341
289
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
290
|
end
|
343
291
|
|
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
292
|
# 该接口不再使用
|
371
293
|
|
372
294
|
# 获取凭证链上状态信息
|
data/lib/v20210519/models.rb
CHANGED
@@ -53,78 +53,6 @@ module TencentCloud
|
|
53
53
|
end
|
54
54
|
end
|
55
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
56
|
# CheckChain请求参数结构体
|
129
57
|
class CheckChainRequest < TencentCloud::Common::AbstractModel
|
130
58
|
# @param GroupId: 群组ID
|
@@ -177,58 +105,6 @@ module TencentCloud
|
|
177
105
|
end
|
178
106
|
end
|
179
107
|
|
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
108
|
# CreateCredential请求参数结构体
|
233
109
|
class CreateCredentialRequest < TencentCloud::Common::AbstractModel
|
234
110
|
# @param FunctionArg: 参数集合,详见示例
|
@@ -636,87 +512,6 @@ module TencentCloud
|
|
636
512
|
end
|
637
513
|
end
|
638
514
|
|
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
515
|
# GetCptInfo请求参数结构体
|
721
516
|
class GetCptInfoRequest < TencentCloud::Common::AbstractModel
|
722
517
|
# @param CptIndex: Cpt索引
|
@@ -753,57 +548,6 @@ module TencentCloud
|
|
753
548
|
end
|
754
549
|
end
|
755
550
|
|
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
551
|
# GetCredentialStatus请求参数结构体
|
808
552
|
class GetCredentialStatusRequest < TencentCloud::Common::AbstractModel
|
809
553
|
# @param CredentialId: 凭证id
|
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.
|
4
|
+
version: 3.0.618
|
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-
|
11
|
+
date: 2023-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|