tencentcloud-sdk-afc 3.0.449 → 3.0.451
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/v20200226/client.rb +24 -0
- data/lib/v20200226/models.rb +94 -0
- 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: 5e9a9431caffea1b21f33d158b94ca3dc28b9a20
|
4
|
+
data.tar.gz: 178c21497eeb4d2d7d2723f0585970bfeeb4c6ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84d44ebf72d8084012ba50ca4d36407db844162cd3fc3bf6987f9cd14dbd75fa397bd18adc59686038bfedfb8feef13385b0ce1174dcd8e60b4b4d74f25e1e83
|
7
|
+
data.tar.gz: d8f12cd8d92e51f38e00f25bcd22bfab01af6c4da0e29a0104e54525bfa7309b9b1d0970b954368ab55378206cd0a607451b6445a74dc62cd8a2b778a2eb0c84
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.451
|
data/lib/v20200226/client.rb
CHANGED
@@ -79,6 +79,30 @@ module TencentCloud
|
|
79
79
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
80
80
|
end
|
81
81
|
|
82
|
+
# 天御信鸽取数平台接口
|
83
|
+
|
84
|
+
# @param request: Request instance for TransportGeneralInterface.
|
85
|
+
# @type request: :class:`Tencentcloud::afc::V20200226::TransportGeneralInterfaceRequest`
|
86
|
+
# @rtype: :class:`Tencentcloud::afc::V20200226::TransportGeneralInterfaceResponse`
|
87
|
+
def TransportGeneralInterface(request)
|
88
|
+
body = send_request('TransportGeneralInterface', request.serialize)
|
89
|
+
response = JSON.parse(body)
|
90
|
+
if response['Response'].key?('Error') == false
|
91
|
+
model = TransportGeneralInterfaceResponse.new
|
92
|
+
model.deserialize(response['Response'])
|
93
|
+
model
|
94
|
+
else
|
95
|
+
code = response['Response']['Error']['Code']
|
96
|
+
message = response['Response']['Error']['Message']
|
97
|
+
reqid = response['Response']['RequestId']
|
98
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
99
|
+
end
|
100
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
101
|
+
raise e
|
102
|
+
rescue StandardError => e
|
103
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
104
|
+
end
|
105
|
+
|
82
106
|
|
83
107
|
end
|
84
108
|
end
|
data/lib/v20200226/models.rb
CHANGED
@@ -552,6 +552,100 @@ module TencentCloud
|
|
552
552
|
end
|
553
553
|
end
|
554
554
|
|
555
|
+
# 天御信鸽取数平台接口入参
|
556
|
+
class TransportGeneralInterfaceInput < TencentCloud::Common::AbstractModel
|
557
|
+
# @param InterfaceName: 公证处请求接口名
|
558
|
+
# @type InterfaceName: String
|
559
|
+
# @param NotarizationInput: 公证处业务详情二层入参
|
560
|
+
# @type NotarizationInput: String
|
561
|
+
# @param NotarizationSign: 业务二层详情入参的哈希签名
|
562
|
+
# @type NotarizationSign: String
|
563
|
+
|
564
|
+
attr_accessor :InterfaceName, :NotarizationInput, :NotarizationSign
|
565
|
+
|
566
|
+
def initialize(interfacename=nil, notarizationinput=nil, notarizationsign=nil)
|
567
|
+
@InterfaceName = interfacename
|
568
|
+
@NotarizationInput = notarizationinput
|
569
|
+
@NotarizationSign = notarizationsign
|
570
|
+
end
|
571
|
+
|
572
|
+
def deserialize(params)
|
573
|
+
@InterfaceName = params['InterfaceName']
|
574
|
+
@NotarizationInput = params['NotarizationInput']
|
575
|
+
@NotarizationSign = params['NotarizationSign']
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
# 天御信鸽取数平台接口出参
|
580
|
+
class TransportGeneralInterfaceOutput < TencentCloud::Common::AbstractModel
|
581
|
+
# @param Code: 错误码
|
582
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
583
|
+
# @type Code: String
|
584
|
+
# @param Message: 回包信息
|
585
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
586
|
+
# @type Message: String
|
587
|
+
# @param NotarizationData: 公证处业务回包
|
588
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
589
|
+
# @type NotarizationData: String
|
590
|
+
|
591
|
+
attr_accessor :Code, :Message, :NotarizationData
|
592
|
+
|
593
|
+
def initialize(code=nil, message=nil, notarizationdata=nil)
|
594
|
+
@Code = code
|
595
|
+
@Message = message
|
596
|
+
@NotarizationData = notarizationdata
|
597
|
+
end
|
598
|
+
|
599
|
+
def deserialize(params)
|
600
|
+
@Code = params['Code']
|
601
|
+
@Message = params['Message']
|
602
|
+
@NotarizationData = params['NotarizationData']
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
# TransportGeneralInterface请求参数结构体
|
607
|
+
class TransportGeneralInterfaceRequest < TencentCloud::Common::AbstractModel
|
608
|
+
# @param BusinessSecurityData: 业务入参
|
609
|
+
# @type BusinessSecurityData: :class:`Tencentcloud::Afc.v20200226.models.TransportGeneralInterfaceInput`
|
610
|
+
|
611
|
+
attr_accessor :BusinessSecurityData
|
612
|
+
|
613
|
+
def initialize(businesssecuritydata=nil)
|
614
|
+
@BusinessSecurityData = businesssecuritydata
|
615
|
+
end
|
616
|
+
|
617
|
+
def deserialize(params)
|
618
|
+
unless params['BusinessSecurityData'].nil?
|
619
|
+
@BusinessSecurityData = TransportGeneralInterfaceInput.new
|
620
|
+
@BusinessSecurityData.deserialize(params['BusinessSecurityData'])
|
621
|
+
end
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
# TransportGeneralInterface返回参数结构体
|
626
|
+
class TransportGeneralInterfaceResponse < TencentCloud::Common::AbstractModel
|
627
|
+
# @param Data: 业务出参
|
628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
629
|
+
# @type Data: :class:`Tencentcloud::Afc.v20200226.models.TransportGeneralInterfaceOutput`
|
630
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
631
|
+
# @type RequestId: String
|
632
|
+
|
633
|
+
attr_accessor :Data, :RequestId
|
634
|
+
|
635
|
+
def initialize(data=nil, requestid=nil)
|
636
|
+
@Data = data
|
637
|
+
@RequestId = requestid
|
638
|
+
end
|
639
|
+
|
640
|
+
def deserialize(params)
|
641
|
+
unless params['Data'].nil?
|
642
|
+
@Data = TransportGeneralInterfaceOutput.new
|
643
|
+
@Data.deserialize(params['Data'])
|
644
|
+
end
|
645
|
+
@RequestId = params['RequestId']
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
555
649
|
end
|
556
650
|
end
|
557
651
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-afc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.451
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|