tencentcloud-sdk-tdid 3.0.618 → 3.0.620
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 -52
- data/lib/v20210519/models.rb +0 -115
- 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: 49a31bc7c7ff6496f5dd49e3b09033d1eb88e53a
|
4
|
+
data.tar.gz: 6c917736c6537c5f7c3a6057794175d6bd39d205
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e55b1f32966679654a64df1633038661f9fa1ff3eb142a32bb5b16dafae8472cfa4b7b3ecd3105a2406b9af130f8c52986542b198230e99dc6d5f01b6282fe
|
7
|
+
data.tar.gz: 1384e854c5881296720c62e17fc6f34f2428e7788e799c9512ee679b297c8d9db61e9d23ef7bc2d3cef953fd22a36ba9fe8a0a54f29b1ecd86782ba60bd88d67
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.620
|
data/lib/v20210519/client.rb
CHANGED
@@ -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
|
# 获取权威机构信息
|
data/lib/v20210519/models.rb
CHANGED
@@ -17,42 +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
20
|
# CheckChain请求参数结构体
|
57
21
|
class CheckChainRequest < TencentCloud::Common::AbstractModel
|
58
22
|
# @param GroupId: 群组ID
|
@@ -405,53 +369,6 @@ module TencentCloud
|
|
405
369
|
end
|
406
370
|
end
|
407
371
|
|
408
|
-
# GetAgencyTDid请求参数结构体
|
409
|
-
class GetAgencyTDidRequest < TencentCloud::Common::AbstractModel
|
410
|
-
# @param ClusterId: 网络ID
|
411
|
-
# @type ClusterId: String
|
412
|
-
|
413
|
-
attr_accessor :ClusterId
|
414
|
-
|
415
|
-
def initialize(clusterid=nil)
|
416
|
-
@ClusterId = clusterid
|
417
|
-
end
|
418
|
-
|
419
|
-
def deserialize(params)
|
420
|
-
@ClusterId = params['ClusterId']
|
421
|
-
end
|
422
|
-
end
|
423
|
-
|
424
|
-
# GetAgencyTDid返回参数结构体
|
425
|
-
class GetAgencyTDidResponse < TencentCloud::Common::AbstractModel
|
426
|
-
# @param Prefix: 固定前缀
|
427
|
-
# @type Prefix: String
|
428
|
-
# @param Identity: did详情
|
429
|
-
# @type Identity: Array
|
430
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
431
|
-
# @type RequestId: String
|
432
|
-
|
433
|
-
attr_accessor :Prefix, :Identity, :RequestId
|
434
|
-
|
435
|
-
def initialize(prefix=nil, identity=nil, requestid=nil)
|
436
|
-
@Prefix = prefix
|
437
|
-
@Identity = identity
|
438
|
-
@RequestId = requestid
|
439
|
-
end
|
440
|
-
|
441
|
-
def deserialize(params)
|
442
|
-
@Prefix = params['Prefix']
|
443
|
-
unless params['Identity'].nil?
|
444
|
-
@Identity = []
|
445
|
-
params['Identity'].each do |i|
|
446
|
-
identity_tmp = Identity.new
|
447
|
-
identity_tmp.deserialize(i)
|
448
|
-
@Identity << identity_tmp
|
449
|
-
end
|
450
|
-
end
|
451
|
-
@RequestId = params['RequestId']
|
452
|
-
end
|
453
|
-
end
|
454
|
-
|
455
372
|
# GetAuthorityIssuer请求参数结构体
|
456
373
|
class GetAuthorityIssuerRequest < TencentCloud::Common::AbstractModel
|
457
374
|
# @param Did: tdid
|
@@ -627,38 +544,6 @@ module TencentCloud
|
|
627
544
|
end
|
628
545
|
end
|
629
546
|
|
630
|
-
# did详情
|
631
|
-
class Identity < TencentCloud::Common::AbstractModel
|
632
|
-
# @param AccountIdentifier: 账户标识符
|
633
|
-
# @type AccountIdentifier: String
|
634
|
-
# @param ChainID: 链ID
|
635
|
-
# @type ChainID: String
|
636
|
-
# @param Did: 完整tdid
|
637
|
-
# @type Did: String
|
638
|
-
# @param GroupId: 群组ID
|
639
|
-
# @type GroupId: Integer
|
640
|
-
# @param GroupName: 群组名称
|
641
|
-
# @type GroupName: String
|
642
|
-
|
643
|
-
attr_accessor :AccountIdentifier, :ChainID, :Did, :GroupId, :GroupName
|
644
|
-
|
645
|
-
def initialize(accountidentifier=nil, chainid=nil, did=nil, groupid=nil, groupname=nil)
|
646
|
-
@AccountIdentifier = accountidentifier
|
647
|
-
@ChainID = chainid
|
648
|
-
@Did = did
|
649
|
-
@GroupId = groupid
|
650
|
-
@GroupName = groupname
|
651
|
-
end
|
652
|
-
|
653
|
-
def deserialize(params)
|
654
|
-
@AccountIdentifier = params['AccountIdentifier']
|
655
|
-
@ChainID = params['ChainID']
|
656
|
-
@Did = params['Did']
|
657
|
-
@GroupId = params['GroupId']
|
658
|
-
@GroupName = params['GroupName']
|
659
|
-
end
|
660
|
-
end
|
661
|
-
|
662
547
|
# 验证凭证签名
|
663
548
|
class Proof < TencentCloud::Common::AbstractModel
|
664
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.
|
4
|
+
version: 3.0.620
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|