tencentcloud-sdk-tdid 3.0.599 → 3.0.600

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: 32702a267313580c9d0485856b0184d9eaa562c2
4
- data.tar.gz: 67d9d67142a705b816cdbc2339e56f3c44da0c78
3
+ metadata.gz: 6e98fc18391096fc97e625d908cba993224c305f
4
+ data.tar.gz: 7688f58728e1681c39a397ea23018398a02b5e1f
5
5
  SHA512:
6
- metadata.gz: 28e24f1590d15e7d5df6fc553bfa799a371c990bb5d4c4c243624e4f8aca64b57f28ddf33cc76cb8b9edc31ff219d1e29dd500fc8e1b667bb0120037e11db7d8
7
- data.tar.gz: b6031383504e91a9983ba9620bcec175adaccc99f0f4a593b5288929adde2a41038b04ac890cf1ad5258bfc4bbae20bcc1db65e8a3684b8820de789464159247
6
+ metadata.gz: e5851631cd1df1eac8efb44c4f342531fc2339f616fe8db011068d2b841d942eab6a3aedc5715cffa45a21a828841815ce249f6dc96df11a1257a34b9d214221
7
+ data.tar.gz: b4c29e5d0c21a45fe2b1abf0a46570365014a737d547cdd46ed8d9b8e7a9e796d58aa3b70480ebe318c0b3c1cd591ab36bd758a5d0b6f1aa5a46e39398a7a720
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.599
1
+ 3.0.600
@@ -55,6 +55,8 @@ module TencentCloud
55
55
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
56
56
  end
57
57
 
58
+ # 该接口不再使用
59
+
58
60
  # 检查区块链信息
59
61
 
60
62
  # @param request: Request instance for CheckChain.
@@ -79,6 +81,8 @@ module TencentCloud
79
81
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
82
  end
81
83
 
84
+ # 该接口不再使用
85
+
82
86
  # 创建凭证
83
87
 
84
88
  # @param request: Request instance for CreateCredential.
@@ -103,6 +107,8 @@ module TencentCloud
103
107
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
104
108
  end
105
109
 
110
+ # 该接口不再使用
111
+
106
112
  # 创建选择性批露凭证
107
113
 
108
114
  # @param request: Request instance for CreateSelectiveCredential.
@@ -127,6 +133,8 @@ module TencentCloud
127
133
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
134
  end
129
135
 
136
+ # 该接口不再使用
137
+
130
138
  # 创建机构DID
131
139
 
132
140
  # @param request: Request instance for CreateTDid.
@@ -151,6 +159,8 @@ module TencentCloud
151
159
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
152
160
  end
153
161
 
162
+ # 该接口不再使用
163
+
154
164
  # 新建DID根据私钥生成Tdid
155
165
 
156
166
  # @param request: Request instance for CreateTDidByPrivateKey.
@@ -175,6 +185,8 @@ module TencentCloud
175
185
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
186
  end
177
187
 
188
+ # 该接口不再使用
189
+
178
190
  # 新建DID根据公钥生成Tdid
179
191
 
180
192
  # @param request: Request instance for CreateTDidByPublicKey.
@@ -225,6 +237,8 @@ module TencentCloud
225
237
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
226
238
  end
227
239
 
240
+ # 该接口不再使用
241
+
228
242
  # 获取权威机构信息
229
243
 
230
244
  # @param request: Request instance for GetAuthorityIssuer.
@@ -301,6 +315,8 @@ module TencentCloud
301
315
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
302
316
  end
303
317
 
318
+ # 该接口不再使用
319
+
304
320
  # 凭证模版详情
305
321
 
306
322
  # @param request: Request instance for GetCptInfo.
@@ -351,6 +367,8 @@ module TencentCloud
351
367
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
352
368
  end
353
369
 
370
+ # 该接口不再使用
371
+
354
372
  # 获取凭证链上状态信息
355
373
 
356
374
  # @param request: Request instance for GetCredentialStatus.
@@ -375,57 +393,7 @@ module TencentCloud
375
393
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
376
394
  end
377
395
 
378
- # 下线已有内测接口,待上线正式版本的接口
379
-
380
- # 获取DID区块链网络详情
381
-
382
- # @param request: Request instance for GetDidClusterDetail.
383
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetDidClusterDetailRequest`
384
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetDidClusterDetailResponse`
385
- def GetDidClusterDetail(request)
386
- body = send_request('GetDidClusterDetail', request.serialize)
387
- response = JSON.parse(body)
388
- if response['Response'].key?('Error') == false
389
- model = GetDidClusterDetailResponse.new
390
- model.deserialize(response['Response'])
391
- model
392
- else
393
- code = response['Response']['Error']['Code']
394
- message = response['Response']['Error']['Message']
395
- reqid = response['Response']['RequestId']
396
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
397
- end
398
- rescue TencentCloud::Common::TencentCloudSDKException => e
399
- raise e
400
- rescue StandardError => e
401
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
402
- end
403
-
404
- # 下线已有内测接口,待上线正式版本的接口
405
-
406
- # 获取用户的DID网络列表
407
-
408
- # @param request: Request instance for GetDidClusterList.
409
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetDidClusterListRequest`
410
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetDidClusterListResponse`
411
- def GetDidClusterList(request)
412
- body = send_request('GetDidClusterList', request.serialize)
413
- response = JSON.parse(body)
414
- if response['Response'].key?('Error') == false
415
- model = GetDidClusterListResponse.new
416
- model.deserialize(response['Response'])
417
- model
418
- else
419
- code = response['Response']['Error']['Code']
420
- message = response['Response']['Error']['Message']
421
- reqid = response['Response']['RequestId']
422
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
423
- end
424
- rescue TencentCloud::Common::TencentCloudSDKException => e
425
- raise e
426
- rescue StandardError => e
427
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
428
- end
396
+ # 该接口不再使用
429
397
 
430
398
  # 查看DID文档
431
399
 
@@ -451,6 +419,8 @@ module TencentCloud
451
419
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
452
420
  end
453
421
 
422
+ # 该接口不再使用
423
+
454
424
  # 凭证模版新建
455
425
 
456
426
  # @param request: Request instance for RegisterCpt.
@@ -475,6 +445,8 @@ module TencentCloud
475
445
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
476
446
  end
477
447
 
448
+ # 该接口不再使用
449
+
478
450
  # 设置凭证链上状态
479
451
 
480
452
  # @param request: Request instance for SetCredentialStatus.
@@ -499,6 +471,8 @@ module TencentCloud
499
471
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
500
472
  end
501
473
 
474
+ # 该接口不再使用
475
+
502
476
  # 验证凭证
503
477
 
504
478
  # @param request: Request instance for VerifyCredential.
@@ -501,82 +501,6 @@ module TencentCloud
501
501
  end
502
502
  end
503
503
 
504
- # did区块链网络信息
505
- class DidCluster < TencentCloud::Common::AbstractModel
506
- # @param ChainId: 链ID
507
- # @type ChainId: Integer
508
- # @param ChainName: 链名称
509
- # @type ChainName: String
510
- # @param AgencyCount: 组织数量
511
- # @type AgencyCount: Integer
512
- # @param ConsortiumId: 联盟ID
513
- # @type ConsortiumId: Integer
514
- # @param CreateTime: 创建时间
515
- # @type CreateTime: String
516
- # @param ExpireTime: 过期时间
517
- # @type ExpireTime: String
518
- # @param ChainStatus: 网络状态
519
- # @type ChainStatus: Integer
520
- # @param ResourceId: 资源ID
521
- # @type ResourceId: String
522
- # @param ClusterId: 网络ID
523
- # @type ClusterId: String
524
- # @param ConsortiumName: 联盟名称
525
- # @type ConsortiumName: String
526
- # @param AgencyId: 组织ID
527
- # @type AgencyId: Integer
528
- # @param AutoRenewFlag: 自动续费
529
- # @type AutoRenewFlag: Integer
530
- # @param TotalNetworkNode: 网络节点总数
531
- # @type TotalNetworkNode: Integer
532
- # @param TotalCreateNode: 本机构节点数
533
- # @type TotalCreateNode: Integer
534
- # @param TotalGroups: 总群组数
535
- # @type TotalGroups: Integer
536
- # @param DidCount: DID总数
537
- # @type DidCount: Integer
538
-
539
- attr_accessor :ChainId, :ChainName, :AgencyCount, :ConsortiumId, :CreateTime, :ExpireTime, :ChainStatus, :ResourceId, :ClusterId, :ConsortiumName, :AgencyId, :AutoRenewFlag, :TotalNetworkNode, :TotalCreateNode, :TotalGroups, :DidCount
540
-
541
- 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)
542
- @ChainId = chainid
543
- @ChainName = chainname
544
- @AgencyCount = agencycount
545
- @ConsortiumId = consortiumid
546
- @CreateTime = createtime
547
- @ExpireTime = expiretime
548
- @ChainStatus = chainstatus
549
- @ResourceId = resourceid
550
- @ClusterId = clusterid
551
- @ConsortiumName = consortiumname
552
- @AgencyId = agencyid
553
- @AutoRenewFlag = autorenewflag
554
- @TotalNetworkNode = totalnetworknode
555
- @TotalCreateNode = totalcreatenode
556
- @TotalGroups = totalgroups
557
- @DidCount = didcount
558
- end
559
-
560
- def deserialize(params)
561
- @ChainId = params['ChainId']
562
- @ChainName = params['ChainName']
563
- @AgencyCount = params['AgencyCount']
564
- @ConsortiumId = params['ConsortiumId']
565
- @CreateTime = params['CreateTime']
566
- @ExpireTime = params['ExpireTime']
567
- @ChainStatus = params['ChainStatus']
568
- @ResourceId = params['ResourceId']
569
- @ClusterId = params['ClusterId']
570
- @ConsortiumName = params['ConsortiumName']
571
- @AgencyId = params['AgencyId']
572
- @AutoRenewFlag = params['AutoRenewFlag']
573
- @TotalNetworkNode = params['TotalNetworkNode']
574
- @TotalCreateNode = params['TotalCreateNode']
575
- @TotalGroups = params['TotalGroups']
576
- @DidCount = params['DidCount']
577
- end
578
- end
579
-
580
504
  # 创建凭证入参的FunctionArg
581
505
  class FunctionArg < TencentCloud::Common::AbstractModel
582
506
  # @param CptId: CPT ID
@@ -919,88 +843,6 @@ module TencentCloud
919
843
  end
920
844
  end
921
845
 
922
- # GetDidClusterDetail请求参数结构体
923
- class GetDidClusterDetailRequest < TencentCloud::Common::AbstractModel
924
- # @param ClusterId: DID网络ID
925
- # @type ClusterId: String
926
-
927
- attr_accessor :ClusterId
928
-
929
- def initialize(clusterid=nil)
930
- @ClusterId = clusterid
931
- end
932
-
933
- def deserialize(params)
934
- @ClusterId = params['ClusterId']
935
- end
936
- end
937
-
938
- # GetDidClusterDetail返回参数结构体
939
- class GetDidClusterDetailResponse < TencentCloud::Common::AbstractModel
940
- # @param ClusterId: 网络ID
941
- # @type ClusterId: String
942
- # @param ConsortiumName: 组织名称
943
- # @type ConsortiumName: String
944
- # @param ChainAgency: 区块链组织名称
945
- # @type ChainAgency: String
946
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
947
- # @type RequestId: String
948
-
949
- attr_accessor :ClusterId, :ConsortiumName, :ChainAgency, :RequestId
950
-
951
- def initialize(clusterid=nil, consortiumname=nil, chainagency=nil, requestid=nil)
952
- @ClusterId = clusterid
953
- @ConsortiumName = consortiumname
954
- @ChainAgency = chainagency
955
- @RequestId = requestid
956
- end
957
-
958
- def deserialize(params)
959
- @ClusterId = params['ClusterId']
960
- @ConsortiumName = params['ConsortiumName']
961
- @ChainAgency = params['ChainAgency']
962
- @RequestId = params['RequestId']
963
- end
964
- end
965
-
966
- # GetDidClusterList请求参数结构体
967
- class GetDidClusterListRequest < TencentCloud::Common::AbstractModel
968
-
969
-
970
- def initialize()
971
- end
972
-
973
- def deserialize(params)
974
- end
975
- end
976
-
977
- # GetDidClusterList返回参数结构体
978
- class GetDidClusterListResponse < TencentCloud::Common::AbstractModel
979
- # @param DidClusterList: DID网络列表
980
- # @type DidClusterList: Array
981
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
982
- # @type RequestId: String
983
-
984
- attr_accessor :DidClusterList, :RequestId
985
-
986
- def initialize(didclusterlist=nil, requestid=nil)
987
- @DidClusterList = didclusterlist
988
- @RequestId = requestid
989
- end
990
-
991
- def deserialize(params)
992
- unless params['DidClusterList'].nil?
993
- @DidClusterList = []
994
- params['DidClusterList'].each do |i|
995
- didcluster_tmp = DidCluster.new
996
- didcluster_tmp.deserialize(i)
997
- @DidClusterList << didcluster_tmp
998
- end
999
- end
1000
- @RequestId = params['RequestId']
1001
- end
1002
- end
1003
-
1004
846
  # GetDidDocument请求参数结构体
1005
847
  class GetDidDocumentRequest < TencentCloud::Common::AbstractModel
1006
848
  # @param Did: tdid
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.599
4
+ version: 3.0.600
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-06-26 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common