tencentcloud-sdk-ds 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-ds.rb +11 -0
- data/lib/v20180523/client.rb +326 -0
- data/lib/v20180523/models.rb +808 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 944c336554559f41281dd5761d27a87180e3d33d
|
4
|
+
data.tar.gz: 7a0e160c998245efbbc5acad0bb70ad55af87665
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: edcebb85659fefe47cf235bd5d6f9c66e5d35730fffae2d30bc4769bf29abd15834334f5722f4b65af7efa89c086a49acebb9296608f36a71344530c5da9ba86
|
7
|
+
data.tar.gz: f64f3ad8cf12ab184bc006e6e5c093a8728098a8b1680a1083c3f109c46ff02b2ed7437cff118a5d5dc45da78e6e557e9bbe78f55310f70c36e9a1544b77a3ea
|
data/lib/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.200
|
@@ -0,0 +1,326 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
|
19
|
+
module TencentCloud
|
20
|
+
module Ds
|
21
|
+
module V20180523
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2018-05-23'
|
26
|
+
api_endpoint = 'ds.tencentcloudapi.com'
|
27
|
+
sdk_version = 'DS_' + File.read(File.expand_path('../VERSION', __dir__)).strip
|
28
|
+
super(credential, region, api_version, api_endpoint, sdk_version, profile)
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
# 检测验证码接口。此接口用于企业电子合同平台通过给用户发送短信验证码,以短信授权方式签署合同。此接口配合发送验证码接口使用。
|
33
|
+
|
34
|
+
# 用户在企业电子合同平台输入收到的验证码后,由企业电子合同平台调用该接口向腾讯云提交确认受托签署合同验证码命令。验证码验证正确时,本次合同签署的授权成功。
|
35
|
+
|
36
|
+
# @param request: Request instance for CheckVcode.
|
37
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::CheckVcodeRequest`
|
38
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::CheckVcodeResponse`
|
39
|
+
def CheckVcode(request)
|
40
|
+
body = send_request('CheckVcode', request.serialize)
|
41
|
+
response = JSON.parse(body)
|
42
|
+
if response['Response'].key?('Error') == false
|
43
|
+
model = CheckVcodeResponse.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
|
+
# 此接口适用于:客户平台通过上传PDF文件作为合同,以备未来进行签署。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。
|
59
|
+
|
60
|
+
# @param request: Request instance for CreateContractByUpload.
|
61
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::CreateContractByUploadRequest`
|
62
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::CreateContractByUploadResponse`
|
63
|
+
def CreateContractByUpload(request)
|
64
|
+
body = send_request('CreateContractByUpload', request.serialize)
|
65
|
+
response = JSON.parse(body)
|
66
|
+
if response['Response'].key?('Error') == false
|
67
|
+
model = CreateContractByUploadResponse.new
|
68
|
+
model.deserialize(response['Response'])
|
69
|
+
model
|
70
|
+
else
|
71
|
+
code = response['Response']['Error']['Code']
|
72
|
+
message = response['Response']['Error']['Message']
|
73
|
+
reqid = response['Response']['RequestId']
|
74
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
75
|
+
end
|
76
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
77
|
+
raise e
|
78
|
+
rescue StandardError => e
|
79
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
80
|
+
end
|
81
|
+
|
82
|
+
# 为企业电子合同平台的最终企业用户进行开户。在企业电子合同平台进行操作的企业用户,企业电子合同平台向腾讯云发送企业用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的企业用户生成一张数字证书。
|
83
|
+
|
84
|
+
# @param request: Request instance for CreateEnterpriseAccount.
|
85
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::CreateEnterpriseAccountRequest`
|
86
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::CreateEnterpriseAccountResponse`
|
87
|
+
def CreateEnterpriseAccount(request)
|
88
|
+
body = send_request('CreateEnterpriseAccount', request.serialize)
|
89
|
+
response = JSON.parse(body)
|
90
|
+
if response['Response'].key?('Error') == false
|
91
|
+
model = CreateEnterpriseAccountResponse.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
|
+
|
106
|
+
# 为企业电子合同平台的最终个人用户进行开户。在企业电子合同平台进行操作的个人用户,企业电子合同平台向腾讯云发送个人用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的个人用户生成一张数字证书。
|
107
|
+
|
108
|
+
# @param request: Request instance for CreatePersonalAccount.
|
109
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::CreatePersonalAccountRequest`
|
110
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::CreatePersonalAccountResponse`
|
111
|
+
def CreatePersonalAccount(request)
|
112
|
+
body = send_request('CreatePersonalAccount', request.serialize)
|
113
|
+
response = JSON.parse(body)
|
114
|
+
if response['Response'].key?('Error') == false
|
115
|
+
model = CreatePersonalAccountResponse.new
|
116
|
+
model.deserialize(response['Response'])
|
117
|
+
model
|
118
|
+
else
|
119
|
+
code = response['Response']['Error']['Code']
|
120
|
+
message = response['Response']['Error']['Message']
|
121
|
+
reqid = response['Response']['RequestId']
|
122
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
123
|
+
end
|
124
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
125
|
+
raise e
|
126
|
+
rescue StandardError => e
|
127
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
128
|
+
end
|
129
|
+
|
130
|
+
# 此接口用于客户电子合同平台增加某用户的印章图片。客户平台可以调用此接口增加某用户的印章图片。
|
131
|
+
|
132
|
+
# @param request: Request instance for CreateSeal.
|
133
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::CreateSealRequest`
|
134
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::CreateSealResponse`
|
135
|
+
def CreateSeal(request)
|
136
|
+
body = send_request('CreateSeal', request.serialize)
|
137
|
+
response = JSON.parse(body)
|
138
|
+
if response['Response'].key?('Error') == false
|
139
|
+
model = CreateSealResponse.new
|
140
|
+
model.deserialize(response['Response'])
|
141
|
+
model
|
142
|
+
else
|
143
|
+
code = response['Response']['Error']['Code']
|
144
|
+
message = response['Response']['Error']['Message']
|
145
|
+
reqid = response['Response']['RequestId']
|
146
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
147
|
+
end
|
148
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
149
|
+
raise e
|
150
|
+
rescue StandardError => e
|
151
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
152
|
+
end
|
153
|
+
|
154
|
+
# 删除企业电子合同平台的最终用户。调用该接口后,腾讯云将删除该用户账号。删除账号后,已经签名的合同不受影响。
|
155
|
+
|
156
|
+
# @param request: Request instance for DeleteAccount.
|
157
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::DeleteAccountRequest`
|
158
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::DeleteAccountResponse`
|
159
|
+
def DeleteAccount(request)
|
160
|
+
body = send_request('DeleteAccount', request.serialize)
|
161
|
+
response = JSON.parse(body)
|
162
|
+
if response['Response'].key?('Error') == false
|
163
|
+
model = DeleteAccountResponse.new
|
164
|
+
model.deserialize(response['Response'])
|
165
|
+
model
|
166
|
+
else
|
167
|
+
code = response['Response']['Error']['Code']
|
168
|
+
message = response['Response']['Error']['Message']
|
169
|
+
reqid = response['Response']['RequestId']
|
170
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
171
|
+
end
|
172
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
173
|
+
raise e
|
174
|
+
rescue StandardError => e
|
175
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
176
|
+
end
|
177
|
+
|
178
|
+
# 删除印章接口,删除指定账号的某个印章
|
179
|
+
|
180
|
+
# @param request: Request instance for DeleteSeal.
|
181
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::DeleteSealRequest`
|
182
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::DeleteSealResponse`
|
183
|
+
def DeleteSeal(request)
|
184
|
+
body = send_request('DeleteSeal', request.serialize)
|
185
|
+
response = JSON.parse(body)
|
186
|
+
if response['Response'].key?('Error') == false
|
187
|
+
model = DeleteSealResponse.new
|
188
|
+
model.deserialize(response['Response'])
|
189
|
+
model
|
190
|
+
else
|
191
|
+
code = response['Response']['Error']['Code']
|
192
|
+
message = response['Response']['Error']['Message']
|
193
|
+
reqid = response['Response']['RequestId']
|
194
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
195
|
+
end
|
196
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
197
|
+
raise e
|
198
|
+
rescue StandardError => e
|
199
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
200
|
+
end
|
201
|
+
|
202
|
+
# 接口使用于:客户平台可使用该接口查询任务执行状态或者执行结果
|
203
|
+
|
204
|
+
# @param request: Request instance for DescribeTaskStatus.
|
205
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::DescribeTaskStatusRequest`
|
206
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::DescribeTaskStatusResponse`
|
207
|
+
def DescribeTaskStatus(request)
|
208
|
+
body = send_request('DescribeTaskStatus', request.serialize)
|
209
|
+
response = JSON.parse(body)
|
210
|
+
if response['Response'].key?('Error') == false
|
211
|
+
model = DescribeTaskStatusResponse.new
|
212
|
+
model.deserialize(response['Response'])
|
213
|
+
model
|
214
|
+
else
|
215
|
+
code = response['Response']['Error']['Code']
|
216
|
+
message = response['Response']['Error']['Message']
|
217
|
+
reqid = response['Response']['RequestId']
|
218
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
219
|
+
end
|
220
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
221
|
+
raise e
|
222
|
+
rescue StandardError => e
|
223
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
224
|
+
end
|
225
|
+
|
226
|
+
# 下载合同接口。调用该接口可以下载签署中和签署完成的合同。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。
|
227
|
+
|
228
|
+
# @param request: Request instance for DownloadContract.
|
229
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::DownloadContractRequest`
|
230
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::DownloadContractResponse`
|
231
|
+
def DownloadContract(request)
|
232
|
+
body = send_request('DownloadContract', request.serialize)
|
233
|
+
response = JSON.parse(body)
|
234
|
+
if response['Response'].key?('Error') == false
|
235
|
+
model = DownloadContractResponse.new
|
236
|
+
model.deserialize(response['Response'])
|
237
|
+
model
|
238
|
+
else
|
239
|
+
code = response['Response']['Error']['Code']
|
240
|
+
message = response['Response']['Error']['Message']
|
241
|
+
reqid = response['Response']['RequestId']
|
242
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
243
|
+
end
|
244
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
245
|
+
raise e
|
246
|
+
rescue StandardError => e
|
247
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
248
|
+
end
|
249
|
+
|
250
|
+
# 发送验证码接口。此接口用于:企业电子合同平台需要腾讯云发送验证码对其用户进行验证时调用,腾讯云将向其用户联系手机(企业电子合同平台为用户开户时通过接口传入)发送验证码,以验证码授权方式签署合同。用户验证工作由企业电子合同平台自身完成。
|
251
|
+
|
252
|
+
# @param request: Request instance for SendVcode.
|
253
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::SendVcodeRequest`
|
254
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::SendVcodeResponse`
|
255
|
+
def SendVcode(request)
|
256
|
+
body = send_request('SendVcode', request.serialize)
|
257
|
+
response = JSON.parse(body)
|
258
|
+
if response['Response'].key?('Error') == false
|
259
|
+
model = SendVcodeResponse.new
|
260
|
+
model.deserialize(response['Response'])
|
261
|
+
model
|
262
|
+
else
|
263
|
+
code = response['Response']['Error']['Code']
|
264
|
+
message = response['Response']['Error']['Message']
|
265
|
+
reqid = response['Response']['RequestId']
|
266
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
267
|
+
end
|
268
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
269
|
+
raise e
|
270
|
+
rescue StandardError => e
|
271
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
272
|
+
end
|
273
|
+
|
274
|
+
# 此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口提供详细的PDF文档签名坐标进行签署。
|
275
|
+
|
276
|
+
# @param request: Request instance for SignContractByCoordinate.
|
277
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::SignContractByCoordinateRequest`
|
278
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::SignContractByCoordinateResponse`
|
279
|
+
def SignContractByCoordinate(request)
|
280
|
+
body = send_request('SignContractByCoordinate', request.serialize)
|
281
|
+
response = JSON.parse(body)
|
282
|
+
if response['Response'].key?('Error') == false
|
283
|
+
model = SignContractByCoordinateResponse.new
|
284
|
+
model.deserialize(response['Response'])
|
285
|
+
model
|
286
|
+
else
|
287
|
+
code = response['Response']['Error']['Code']
|
288
|
+
message = response['Response']['Error']['Message']
|
289
|
+
reqid = response['Response']['RequestId']
|
290
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
291
|
+
end
|
292
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
293
|
+
raise e
|
294
|
+
rescue StandardError => e
|
295
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
296
|
+
end
|
297
|
+
|
298
|
+
# 此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口对PDF合同文档按照关键字和坐标进行签署。
|
299
|
+
|
300
|
+
# @param request: Request instance for SignContractByKeyword.
|
301
|
+
# @type request: :class:`Tencentcloud::ds::V20180523::SignContractByKeywordRequest`
|
302
|
+
# @rtype: :class:`Tencentcloud::ds::V20180523::SignContractByKeywordResponse`
|
303
|
+
def SignContractByKeyword(request)
|
304
|
+
body = send_request('SignContractByKeyword', request.serialize)
|
305
|
+
response = JSON.parse(body)
|
306
|
+
if response['Response'].key?('Error') == false
|
307
|
+
model = SignContractByKeywordResponse.new
|
308
|
+
model.deserialize(response['Response'])
|
309
|
+
model
|
310
|
+
else
|
311
|
+
code = response['Response']['Error']['Code']
|
312
|
+
message = response['Response']['Error']['Message']
|
313
|
+
reqid = response['Response']['RequestId']
|
314
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
315
|
+
end
|
316
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
317
|
+
raise e
|
318
|
+
rescue StandardError => e
|
319
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
320
|
+
end
|
321
|
+
|
322
|
+
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
@@ -0,0 +1,808 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Ds
|
19
|
+
module V20180523
|
20
|
+
# CheckVcode请求参数结构体
|
21
|
+
class CheckVcodeRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Module: 模块名VerifyCode
|
23
|
+
# @type Module: String
|
24
|
+
# @param Operation: 操作名CheckVcode
|
25
|
+
# @type Operation: String
|
26
|
+
# @param AccountResId: 帐号ID
|
27
|
+
# @type AccountResId: String
|
28
|
+
# @param ContractResId: 合同ID
|
29
|
+
# @type ContractResId: String
|
30
|
+
# @param VerifyCode: 验证码
|
31
|
+
# @type VerifyCode: String
|
32
|
+
|
33
|
+
attr_accessor :Module, :Operation, :AccountResId, :ContractResId, :VerifyCode
|
34
|
+
|
35
|
+
def initialize(_module=nil, operation=nil, accountresid=nil, contractresid=nil, verifycode=nil)
|
36
|
+
@Module = _module
|
37
|
+
@Operation = operation
|
38
|
+
@AccountResId = accountresid
|
39
|
+
@ContractResId = contractresid
|
40
|
+
@VerifyCode = verifycode
|
41
|
+
end
|
42
|
+
|
43
|
+
def deserialize(params)
|
44
|
+
@Module = params['Module']
|
45
|
+
@Operation = params['Operation']
|
46
|
+
@AccountResId = params['AccountResId']
|
47
|
+
@ContractResId = params['ContractResId']
|
48
|
+
@VerifyCode = params['VerifyCode']
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# CheckVcode返回参数结构体
|
53
|
+
class CheckVcodeResponse < TencentCloud::Common::AbstractModel
|
54
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
55
|
+
# @type RequestId: String
|
56
|
+
|
57
|
+
attr_accessor :RequestId
|
58
|
+
|
59
|
+
def initialize(requestid=nil)
|
60
|
+
@RequestId = requestid
|
61
|
+
end
|
62
|
+
|
63
|
+
def deserialize(params)
|
64
|
+
@RequestId = params['RequestId']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# CreateContractByUpload请求参数结构体
|
69
|
+
class CreateContractByUploadRequest < TencentCloud::Common::AbstractModel
|
70
|
+
# @param Module: 模块名ContractMng
|
71
|
+
# @type Module: String
|
72
|
+
# @param Operation: 操作名CreateContractByUpload
|
73
|
+
# @type Operation: String
|
74
|
+
# @param SignInfos: 签署人信息
|
75
|
+
# @type SignInfos: Array
|
76
|
+
# @param ContractFile: 合同上传链接地址
|
77
|
+
# @type ContractFile: String
|
78
|
+
# @param ContractName: 合同名称
|
79
|
+
# @type ContractName: String
|
80
|
+
# @param Remarks: 备注
|
81
|
+
# @type Remarks: String
|
82
|
+
# @param Initiator: 合同发起方腾讯云帐号ID(由平台自动填写)
|
83
|
+
# @type Initiator: String
|
84
|
+
# @param ExpireTime: 合同长时间未签署的过期时间
|
85
|
+
# @type ExpireTime: String
|
86
|
+
|
87
|
+
attr_accessor :Module, :Operation, :SignInfos, :ContractFile, :ContractName, :Remarks, :Initiator, :ExpireTime
|
88
|
+
|
89
|
+
def initialize(_module=nil, operation=nil, signinfos=nil, contractfile=nil, contractname=nil, remarks=nil, initiator=nil, expiretime=nil)
|
90
|
+
@Module = _module
|
91
|
+
@Operation = operation
|
92
|
+
@SignInfos = signinfos
|
93
|
+
@ContractFile = contractfile
|
94
|
+
@ContractName = contractname
|
95
|
+
@Remarks = remarks
|
96
|
+
@Initiator = initiator
|
97
|
+
@ExpireTime = expiretime
|
98
|
+
end
|
99
|
+
|
100
|
+
def deserialize(params)
|
101
|
+
@Module = params['Module']
|
102
|
+
@Operation = params['Operation']
|
103
|
+
unless params['SignInfos'].nil?
|
104
|
+
@SignInfos = []
|
105
|
+
params['SignInfos'].each do |i|
|
106
|
+
signinfo_tmp = SignInfo.new
|
107
|
+
signinfo_tmp.deserialize(i)
|
108
|
+
@SignInfos << signinfo_tmp
|
109
|
+
end
|
110
|
+
end
|
111
|
+
@ContractFile = params['ContractFile']
|
112
|
+
@ContractName = params['ContractName']
|
113
|
+
@Remarks = params['Remarks']
|
114
|
+
@Initiator = params['Initiator']
|
115
|
+
@ExpireTime = params['ExpireTime']
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# CreateContractByUpload返回参数结构体
|
120
|
+
class CreateContractByUploadResponse < TencentCloud::Common::AbstractModel
|
121
|
+
# @param TaskId: 任务ID
|
122
|
+
# @type TaskId: Integer
|
123
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
124
|
+
# @type RequestId: String
|
125
|
+
|
126
|
+
attr_accessor :TaskId, :RequestId
|
127
|
+
|
128
|
+
def initialize(taskid=nil, requestid=nil)
|
129
|
+
@TaskId = taskid
|
130
|
+
@RequestId = requestid
|
131
|
+
end
|
132
|
+
|
133
|
+
def deserialize(params)
|
134
|
+
@TaskId = params['TaskId']
|
135
|
+
@RequestId = params['RequestId']
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# CreateEnterpriseAccount请求参数结构体
|
140
|
+
class CreateEnterpriseAccountRequest < TencentCloud::Common::AbstractModel
|
141
|
+
# @param Module: 模块名AccountMng
|
142
|
+
# @type Module: String
|
143
|
+
# @param Operation: 操作名CreateEnterpriseAccount
|
144
|
+
# @type Operation: String
|
145
|
+
# @param Name: 企业用户名称
|
146
|
+
# @type Name: String
|
147
|
+
# @param IdentType: 企业用户证件类型,8代表营业执照,详情请见常见问题
|
148
|
+
# @type IdentType: Integer
|
149
|
+
# @param IdentNo: 企业用户营业执照号码
|
150
|
+
# @type IdentNo: String
|
151
|
+
# @param MobilePhone: 企业联系人手机号
|
152
|
+
# @type MobilePhone: String
|
153
|
+
# @param TransactorName: 经办人姓名
|
154
|
+
# @type TransactorName: String
|
155
|
+
# @param TransactorIdentType: 经办人证件类型,0代表身份证
|
156
|
+
# @type TransactorIdentType: Integer
|
157
|
+
# @param TransactorIdentNo: 经办人证件号码
|
158
|
+
# @type TransactorIdentNo: String
|
159
|
+
# @param TransactorPhone: 经办人手机号
|
160
|
+
# @type TransactorPhone: String
|
161
|
+
# @param Email: 企业联系人邮箱
|
162
|
+
# @type Email: String
|
163
|
+
|
164
|
+
attr_accessor :Module, :Operation, :Name, :IdentType, :IdentNo, :MobilePhone, :TransactorName, :TransactorIdentType, :TransactorIdentNo, :TransactorPhone, :Email
|
165
|
+
|
166
|
+
def initialize(_module=nil, operation=nil, name=nil, identtype=nil, identno=nil, mobilephone=nil, transactorname=nil, transactoridenttype=nil, transactoridentno=nil, transactorphone=nil, email=nil)
|
167
|
+
@Module = _module
|
168
|
+
@Operation = operation
|
169
|
+
@Name = name
|
170
|
+
@IdentType = identtype
|
171
|
+
@IdentNo = identno
|
172
|
+
@MobilePhone = mobilephone
|
173
|
+
@TransactorName = transactorname
|
174
|
+
@TransactorIdentType = transactoridenttype
|
175
|
+
@TransactorIdentNo = transactoridentno
|
176
|
+
@TransactorPhone = transactorphone
|
177
|
+
@Email = email
|
178
|
+
end
|
179
|
+
|
180
|
+
def deserialize(params)
|
181
|
+
@Module = params['Module']
|
182
|
+
@Operation = params['Operation']
|
183
|
+
@Name = params['Name']
|
184
|
+
@IdentType = params['IdentType']
|
185
|
+
@IdentNo = params['IdentNo']
|
186
|
+
@MobilePhone = params['MobilePhone']
|
187
|
+
@TransactorName = params['TransactorName']
|
188
|
+
@TransactorIdentType = params['TransactorIdentType']
|
189
|
+
@TransactorIdentNo = params['TransactorIdentNo']
|
190
|
+
@TransactorPhone = params['TransactorPhone']
|
191
|
+
@Email = params['Email']
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# CreateEnterpriseAccount返回参数结构体
|
196
|
+
class CreateEnterpriseAccountResponse < TencentCloud::Common::AbstractModel
|
197
|
+
# @param AccountResId: 帐号ID
|
198
|
+
# @type AccountResId: String
|
199
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
200
|
+
# @type RequestId: String
|
201
|
+
|
202
|
+
attr_accessor :AccountResId, :RequestId
|
203
|
+
|
204
|
+
def initialize(accountresid=nil, requestid=nil)
|
205
|
+
@AccountResId = accountresid
|
206
|
+
@RequestId = requestid
|
207
|
+
end
|
208
|
+
|
209
|
+
def deserialize(params)
|
210
|
+
@AccountResId = params['AccountResId']
|
211
|
+
@RequestId = params['RequestId']
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# CreatePersonalAccount请求参数结构体
|
216
|
+
class CreatePersonalAccountRequest < TencentCloud::Common::AbstractModel
|
217
|
+
# @param Module: 模块名AccountMng
|
218
|
+
# @type Module: String
|
219
|
+
# @param Operation: 操作名CreatePersonalAccount
|
220
|
+
# @type Operation: String
|
221
|
+
# @param Name: 个人用户姓名
|
222
|
+
# @type Name: String
|
223
|
+
# @param IdentType: 个人用户证件类型,0代表身份证,详情请见常见问题
|
224
|
+
# @type IdentType: Integer
|
225
|
+
# @param IdentNo: 个人用户证件号码
|
226
|
+
# @type IdentNo: String
|
227
|
+
# @param MobilePhone: 个人用户手机号
|
228
|
+
# @type MobilePhone: String
|
229
|
+
|
230
|
+
attr_accessor :Module, :Operation, :Name, :IdentType, :IdentNo, :MobilePhone
|
231
|
+
|
232
|
+
def initialize(_module=nil, operation=nil, name=nil, identtype=nil, identno=nil, mobilephone=nil)
|
233
|
+
@Module = _module
|
234
|
+
@Operation = operation
|
235
|
+
@Name = name
|
236
|
+
@IdentType = identtype
|
237
|
+
@IdentNo = identno
|
238
|
+
@MobilePhone = mobilephone
|
239
|
+
end
|
240
|
+
|
241
|
+
def deserialize(params)
|
242
|
+
@Module = params['Module']
|
243
|
+
@Operation = params['Operation']
|
244
|
+
@Name = params['Name']
|
245
|
+
@IdentType = params['IdentType']
|
246
|
+
@IdentNo = params['IdentNo']
|
247
|
+
@MobilePhone = params['MobilePhone']
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
# CreatePersonalAccount返回参数结构体
|
252
|
+
class CreatePersonalAccountResponse < TencentCloud::Common::AbstractModel
|
253
|
+
# @param AccountResId: 账号ID
|
254
|
+
# @type AccountResId: String
|
255
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
256
|
+
# @type RequestId: String
|
257
|
+
|
258
|
+
attr_accessor :AccountResId, :RequestId
|
259
|
+
|
260
|
+
def initialize(accountresid=nil, requestid=nil)
|
261
|
+
@AccountResId = accountresid
|
262
|
+
@RequestId = requestid
|
263
|
+
end
|
264
|
+
|
265
|
+
def deserialize(params)
|
266
|
+
@AccountResId = params['AccountResId']
|
267
|
+
@RequestId = params['RequestId']
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
# CreateSeal请求参数结构体
|
272
|
+
class CreateSealRequest < TencentCloud::Common::AbstractModel
|
273
|
+
# @param Module: 模块名SealMng
|
274
|
+
# @type Module: String
|
275
|
+
# @param Operation: 操作名CreateSeal
|
276
|
+
# @type Operation: String
|
277
|
+
# @param AccountResId: 帐号ID
|
278
|
+
# @type AccountResId: String
|
279
|
+
# @param ImgUrl: 签章链接,图片必须为png格式
|
280
|
+
# @type ImgUrl: String
|
281
|
+
# @param ImgData: 图片数据,base64编码
|
282
|
+
# @type ImgData: String
|
283
|
+
|
284
|
+
attr_accessor :Module, :Operation, :AccountResId, :ImgUrl, :ImgData
|
285
|
+
|
286
|
+
def initialize(_module=nil, operation=nil, accountresid=nil, imgurl=nil, imgdata=nil)
|
287
|
+
@Module = _module
|
288
|
+
@Operation = operation
|
289
|
+
@AccountResId = accountresid
|
290
|
+
@ImgUrl = imgurl
|
291
|
+
@ImgData = imgdata
|
292
|
+
end
|
293
|
+
|
294
|
+
def deserialize(params)
|
295
|
+
@Module = params['Module']
|
296
|
+
@Operation = params['Operation']
|
297
|
+
@AccountResId = params['AccountResId']
|
298
|
+
@ImgUrl = params['ImgUrl']
|
299
|
+
@ImgData = params['ImgData']
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
# CreateSeal返回参数结构体
|
304
|
+
class CreateSealResponse < TencentCloud::Common::AbstractModel
|
305
|
+
# @param SealResId: 签章ID
|
306
|
+
# @type SealResId: String
|
307
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
308
|
+
# @type RequestId: String
|
309
|
+
|
310
|
+
attr_accessor :SealResId, :RequestId
|
311
|
+
|
312
|
+
def initialize(sealresid=nil, requestid=nil)
|
313
|
+
@SealResId = sealresid
|
314
|
+
@RequestId = requestid
|
315
|
+
end
|
316
|
+
|
317
|
+
def deserialize(params)
|
318
|
+
@SealResId = params['SealResId']
|
319
|
+
@RequestId = params['RequestId']
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# DeleteAccount请求参数结构体
|
324
|
+
class DeleteAccountRequest < TencentCloud::Common::AbstractModel
|
325
|
+
# @param Module: 模块名AccountMng
|
326
|
+
# @type Module: String
|
327
|
+
# @param Operation: 操作名DeleteAccount
|
328
|
+
# @type Operation: String
|
329
|
+
# @param AccountList: 帐号ID列表
|
330
|
+
# @type AccountList: Array
|
331
|
+
|
332
|
+
attr_accessor :Module, :Operation, :AccountList
|
333
|
+
|
334
|
+
def initialize(_module=nil, operation=nil, accountlist=nil)
|
335
|
+
@Module = _module
|
336
|
+
@Operation = operation
|
337
|
+
@AccountList = accountlist
|
338
|
+
end
|
339
|
+
|
340
|
+
def deserialize(params)
|
341
|
+
@Module = params['Module']
|
342
|
+
@Operation = params['Operation']
|
343
|
+
@AccountList = params['AccountList']
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# DeleteAccount返回参数结构体
|
348
|
+
class DeleteAccountResponse < TencentCloud::Common::AbstractModel
|
349
|
+
# @param DelSuccessList: 删除成功帐号ID列表
|
350
|
+
# @type DelSuccessList: Array
|
351
|
+
# @param DelFailedList: 删除失败帐号ID列表
|
352
|
+
# @type DelFailedList: Array
|
353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
354
|
+
# @type RequestId: String
|
355
|
+
|
356
|
+
attr_accessor :DelSuccessList, :DelFailedList, :RequestId
|
357
|
+
|
358
|
+
def initialize(delsuccesslist=nil, delfailedlist=nil, requestid=nil)
|
359
|
+
@DelSuccessList = delsuccesslist
|
360
|
+
@DelFailedList = delfailedlist
|
361
|
+
@RequestId = requestid
|
362
|
+
end
|
363
|
+
|
364
|
+
def deserialize(params)
|
365
|
+
@DelSuccessList = params['DelSuccessList']
|
366
|
+
@DelFailedList = params['DelFailedList']
|
367
|
+
@RequestId = params['RequestId']
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
# DeleteSeal请求参数结构体
|
372
|
+
class DeleteSealRequest < TencentCloud::Common::AbstractModel
|
373
|
+
# @param Module: 模块名SealMng
|
374
|
+
# @type Module: String
|
375
|
+
# @param Operation: 操作名DeleteSeal
|
376
|
+
# @type Operation: String
|
377
|
+
# @param AccountResId: 帐号ID
|
378
|
+
# @type AccountResId: String
|
379
|
+
# @param SealResId: 签章ID
|
380
|
+
# @type SealResId: String
|
381
|
+
|
382
|
+
attr_accessor :Module, :Operation, :AccountResId, :SealResId
|
383
|
+
|
384
|
+
def initialize(_module=nil, operation=nil, accountresid=nil, sealresid=nil)
|
385
|
+
@Module = _module
|
386
|
+
@Operation = operation
|
387
|
+
@AccountResId = accountresid
|
388
|
+
@SealResId = sealresid
|
389
|
+
end
|
390
|
+
|
391
|
+
def deserialize(params)
|
392
|
+
@Module = params['Module']
|
393
|
+
@Operation = params['Operation']
|
394
|
+
@AccountResId = params['AccountResId']
|
395
|
+
@SealResId = params['SealResId']
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# DeleteSeal返回参数结构体
|
400
|
+
class DeleteSealResponse < TencentCloud::Common::AbstractModel
|
401
|
+
# @param SealResId: 签章ID
|
402
|
+
# @type SealResId: String
|
403
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
404
|
+
# @type RequestId: String
|
405
|
+
|
406
|
+
attr_accessor :SealResId, :RequestId
|
407
|
+
|
408
|
+
def initialize(sealresid=nil, requestid=nil)
|
409
|
+
@SealResId = sealresid
|
410
|
+
@RequestId = requestid
|
411
|
+
end
|
412
|
+
|
413
|
+
def deserialize(params)
|
414
|
+
@SealResId = params['SealResId']
|
415
|
+
@RequestId = params['RequestId']
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# DescribeTaskStatus请求参数结构体
|
420
|
+
class DescribeTaskStatusRequest < TencentCloud::Common::AbstractModel
|
421
|
+
# @param Module: 模块名CommonMng
|
422
|
+
# @type Module: String
|
423
|
+
# @param Operation: 操作名DescribeTaskStatus
|
424
|
+
# @type Operation: String
|
425
|
+
# @param TaskId: 任务ID
|
426
|
+
# @type TaskId: Integer
|
427
|
+
|
428
|
+
attr_accessor :Module, :Operation, :TaskId
|
429
|
+
|
430
|
+
def initialize(_module=nil, operation=nil, taskid=nil)
|
431
|
+
@Module = _module
|
432
|
+
@Operation = operation
|
433
|
+
@TaskId = taskid
|
434
|
+
end
|
435
|
+
|
436
|
+
def deserialize(params)
|
437
|
+
@Module = params['Module']
|
438
|
+
@Operation = params['Operation']
|
439
|
+
@TaskId = params['TaskId']
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
# DescribeTaskStatus返回参数结构体
|
444
|
+
class DescribeTaskStatusResponse < TencentCloud::Common::AbstractModel
|
445
|
+
# @param TaskResult: 任务结果
|
446
|
+
# @type TaskResult: String
|
447
|
+
# @param TaskType: 任务类型,010代表合同上传结果,020代表合同下载结果
|
448
|
+
# @type TaskType: String
|
449
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
450
|
+
# @type RequestId: String
|
451
|
+
|
452
|
+
attr_accessor :TaskResult, :TaskType, :RequestId
|
453
|
+
|
454
|
+
def initialize(taskresult=nil, tasktype=nil, requestid=nil)
|
455
|
+
@TaskResult = taskresult
|
456
|
+
@TaskType = tasktype
|
457
|
+
@RequestId = requestid
|
458
|
+
end
|
459
|
+
|
460
|
+
def deserialize(params)
|
461
|
+
@TaskResult = params['TaskResult']
|
462
|
+
@TaskType = params['TaskType']
|
463
|
+
@RequestId = params['RequestId']
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
# DownloadContract请求参数结构体
|
468
|
+
class DownloadContractRequest < TencentCloud::Common::AbstractModel
|
469
|
+
# @param Module: 模块名ContractMng
|
470
|
+
# @type Module: String
|
471
|
+
# @param Operation: 操作名DownloadContract
|
472
|
+
# @type Operation: String
|
473
|
+
# @param ContractResId: 合同ID
|
474
|
+
# @type ContractResId: String
|
475
|
+
|
476
|
+
attr_accessor :Module, :Operation, :ContractResId
|
477
|
+
|
478
|
+
def initialize(_module=nil, operation=nil, contractresid=nil)
|
479
|
+
@Module = _module
|
480
|
+
@Operation = operation
|
481
|
+
@ContractResId = contractresid
|
482
|
+
end
|
483
|
+
|
484
|
+
def deserialize(params)
|
485
|
+
@Module = params['Module']
|
486
|
+
@Operation = params['Operation']
|
487
|
+
@ContractResId = params['ContractResId']
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# DownloadContract返回参数结构体
|
492
|
+
class DownloadContractResponse < TencentCloud::Common::AbstractModel
|
493
|
+
# @param TaskId: 任务ID
|
494
|
+
# @type TaskId: Integer
|
495
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
496
|
+
# @type RequestId: String
|
497
|
+
|
498
|
+
attr_accessor :TaskId, :RequestId
|
499
|
+
|
500
|
+
def initialize(taskid=nil, requestid=nil)
|
501
|
+
@TaskId = taskid
|
502
|
+
@RequestId = requestid
|
503
|
+
end
|
504
|
+
|
505
|
+
def deserialize(params)
|
506
|
+
@TaskId = params['TaskId']
|
507
|
+
@RequestId = params['RequestId']
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
# SendVcode请求参数结构体
|
512
|
+
class SendVcodeRequest < TencentCloud::Common::AbstractModel
|
513
|
+
# @param Module: 模块名VerifyCode
|
514
|
+
# @type Module: String
|
515
|
+
# @param Operation: 操作名SendVcode
|
516
|
+
# @type Operation: String
|
517
|
+
# @param ContractResId: 合同ID
|
518
|
+
# @type ContractResId: String
|
519
|
+
# @param AccountResId: 帐号ID
|
520
|
+
# @type AccountResId: String
|
521
|
+
|
522
|
+
attr_accessor :Module, :Operation, :ContractResId, :AccountResId
|
523
|
+
|
524
|
+
def initialize(_module=nil, operation=nil, contractresid=nil, accountresid=nil)
|
525
|
+
@Module = _module
|
526
|
+
@Operation = operation
|
527
|
+
@ContractResId = contractresid
|
528
|
+
@AccountResId = accountresid
|
529
|
+
end
|
530
|
+
|
531
|
+
def deserialize(params)
|
532
|
+
@Module = params['Module']
|
533
|
+
@Operation = params['Operation']
|
534
|
+
@ContractResId = params['ContractResId']
|
535
|
+
@AccountResId = params['AccountResId']
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# SendVcode返回参数结构体
|
540
|
+
class SendVcodeResponse < TencentCloud::Common::AbstractModel
|
541
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
542
|
+
# @type RequestId: String
|
543
|
+
|
544
|
+
attr_accessor :RequestId
|
545
|
+
|
546
|
+
def initialize(requestid=nil)
|
547
|
+
@RequestId = requestid
|
548
|
+
end
|
549
|
+
|
550
|
+
def deserialize(params)
|
551
|
+
@RequestId = params['RequestId']
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
# SignContractByCoordinate请求参数结构体
|
556
|
+
class SignContractByCoordinateRequest < TencentCloud::Common::AbstractModel
|
557
|
+
# @param Module: 模块名ContractMng
|
558
|
+
# @type Module: String
|
559
|
+
# @param Operation: 操作名SignContractByCoordinate
|
560
|
+
# @type Operation: String
|
561
|
+
# @param ContractResId: 合同ID
|
562
|
+
# @type ContractResId: String
|
563
|
+
# @param AccountResId: 帐户ID
|
564
|
+
# @type AccountResId: String
|
565
|
+
# @param SignLocations: 签署坐标,坐标原点在文件左下角,坐标单位为磅,坐标不得超过合同文件边界
|
566
|
+
# @type SignLocations: Array
|
567
|
+
# @param AuthorizationTime: 授权时间(由平台自动填充)
|
568
|
+
# @type AuthorizationTime: String
|
569
|
+
# @param Position: 授权IP地址(由平台自动填充)
|
570
|
+
# @type Position: String
|
571
|
+
# @param SealResId: 签章ID
|
572
|
+
# @type SealResId: String
|
573
|
+
# @param CertType: 选用证书类型:1 表示RSA证书, 2 表示国密证书, 参数不传时默认为1
|
574
|
+
# @type CertType: Integer
|
575
|
+
# @param ImageData: 签名图片,base64编码
|
576
|
+
# @type ImageData: String
|
577
|
+
|
578
|
+
attr_accessor :Module, :Operation, :ContractResId, :AccountResId, :SignLocations, :AuthorizationTime, :Position, :SealResId, :CertType, :ImageData
|
579
|
+
|
580
|
+
def initialize(_module=nil, operation=nil, contractresid=nil, accountresid=nil, signlocations=nil, authorizationtime=nil, position=nil, sealresid=nil, certtype=nil, imagedata=nil)
|
581
|
+
@Module = _module
|
582
|
+
@Operation = operation
|
583
|
+
@ContractResId = contractresid
|
584
|
+
@AccountResId = accountresid
|
585
|
+
@SignLocations = signlocations
|
586
|
+
@AuthorizationTime = authorizationtime
|
587
|
+
@Position = position
|
588
|
+
@SealResId = sealresid
|
589
|
+
@CertType = certtype
|
590
|
+
@ImageData = imagedata
|
591
|
+
end
|
592
|
+
|
593
|
+
def deserialize(params)
|
594
|
+
@Module = params['Module']
|
595
|
+
@Operation = params['Operation']
|
596
|
+
@ContractResId = params['ContractResId']
|
597
|
+
@AccountResId = params['AccountResId']
|
598
|
+
unless params['SignLocations'].nil?
|
599
|
+
@SignLocations = []
|
600
|
+
params['SignLocations'].each do |i|
|
601
|
+
signlocation_tmp = SignLocation.new
|
602
|
+
signlocation_tmp.deserialize(i)
|
603
|
+
@SignLocations << signlocation_tmp
|
604
|
+
end
|
605
|
+
end
|
606
|
+
@AuthorizationTime = params['AuthorizationTime']
|
607
|
+
@Position = params['Position']
|
608
|
+
@SealResId = params['SealResId']
|
609
|
+
@CertType = params['CertType']
|
610
|
+
@ImageData = params['ImageData']
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# SignContractByCoordinate返回参数结构体
|
615
|
+
class SignContractByCoordinateResponse < TencentCloud::Common::AbstractModel
|
616
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
617
|
+
# @type RequestId: String
|
618
|
+
|
619
|
+
attr_accessor :RequestId
|
620
|
+
|
621
|
+
def initialize(requestid=nil)
|
622
|
+
@RequestId = requestid
|
623
|
+
end
|
624
|
+
|
625
|
+
def deserialize(params)
|
626
|
+
@RequestId = params['RequestId']
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
# SignContractByKeyword请求参数结构体
|
631
|
+
class SignContractByKeywordRequest < TencentCloud::Common::AbstractModel
|
632
|
+
# @param Module: 模块名ContractMng
|
633
|
+
# @type Module: String
|
634
|
+
# @param Operation: 操作名SignContractByKeyword
|
635
|
+
# @type Operation: String
|
636
|
+
# @param ContractResId: 合同ID
|
637
|
+
# @type ContractResId: String
|
638
|
+
# @param AccountResId: 账户ID
|
639
|
+
# @type AccountResId: String
|
640
|
+
# @param SignKeyword: 签署关键字,偏移坐标原点为关键字中心
|
641
|
+
# @type SignKeyword: :class:`Tencentcloud::Ds.v20180523.models.SignKeyword`
|
642
|
+
# @param AuthorizationTime: 授权时间(由平台自动填充)
|
643
|
+
# @type AuthorizationTime: String
|
644
|
+
# @param Position: 授权IP地址(由平台自动填充)
|
645
|
+
# @type Position: String
|
646
|
+
# @param SealResId: 签章ID
|
647
|
+
# @type SealResId: String
|
648
|
+
# @param CertType: 选用证书类型:1 表示RSA证书, 2 表示国密证书, 参数不传时默认为1
|
649
|
+
# @type CertType: Integer
|
650
|
+
# @param ImageData: 签名图片,base64编码
|
651
|
+
# @type ImageData: String
|
652
|
+
|
653
|
+
attr_accessor :Module, :Operation, :ContractResId, :AccountResId, :SignKeyword, :AuthorizationTime, :Position, :SealResId, :CertType, :ImageData
|
654
|
+
|
655
|
+
def initialize(_module=nil, operation=nil, contractresid=nil, accountresid=nil, signkeyword=nil, authorizationtime=nil, position=nil, sealresid=nil, certtype=nil, imagedata=nil)
|
656
|
+
@Module = _module
|
657
|
+
@Operation = operation
|
658
|
+
@ContractResId = contractresid
|
659
|
+
@AccountResId = accountresid
|
660
|
+
@SignKeyword = signkeyword
|
661
|
+
@AuthorizationTime = authorizationtime
|
662
|
+
@Position = position
|
663
|
+
@SealResId = sealresid
|
664
|
+
@CertType = certtype
|
665
|
+
@ImageData = imagedata
|
666
|
+
end
|
667
|
+
|
668
|
+
def deserialize(params)
|
669
|
+
@Module = params['Module']
|
670
|
+
@Operation = params['Operation']
|
671
|
+
@ContractResId = params['ContractResId']
|
672
|
+
@AccountResId = params['AccountResId']
|
673
|
+
unless params['SignKeyword'].nil?
|
674
|
+
@SignKeyword = SignKeyword.new
|
675
|
+
@SignKeyword.deserialize(params['SignKeyword'])
|
676
|
+
end
|
677
|
+
@AuthorizationTime = params['AuthorizationTime']
|
678
|
+
@Position = params['Position']
|
679
|
+
@SealResId = params['SealResId']
|
680
|
+
@CertType = params['CertType']
|
681
|
+
@ImageData = params['ImageData']
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# SignContractByKeyword返回参数结构体
|
686
|
+
class SignContractByKeywordResponse < TencentCloud::Common::AbstractModel
|
687
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
688
|
+
# @type RequestId: String
|
689
|
+
|
690
|
+
attr_accessor :RequestId
|
691
|
+
|
692
|
+
def initialize(requestid=nil)
|
693
|
+
@RequestId = requestid
|
694
|
+
end
|
695
|
+
|
696
|
+
def deserialize(params)
|
697
|
+
@RequestId = params['RequestId']
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
# 签署人信息
|
702
|
+
class SignInfo < TencentCloud::Common::AbstractModel
|
703
|
+
# @param AccountResId: 账户ID
|
704
|
+
# @type AccountResId: String
|
705
|
+
# @param AuthorizationTime: 授权时间(上传合同可不传该参数)
|
706
|
+
# @type AuthorizationTime: String
|
707
|
+
# @param Location: 授权IP地址(上传合同可不传该参数)
|
708
|
+
# @type Location: String
|
709
|
+
# @param SealId: 签章ID
|
710
|
+
# @type SealId: String
|
711
|
+
# @param ImageData: 签名图片,优先级比SealId高
|
712
|
+
# @type ImageData: String
|
713
|
+
# @param CertType: 默认值:1 表示RSA证书, 2 表示国密证书, 参数不传时默认为1
|
714
|
+
# @type CertType: Integer
|
715
|
+
# @param SignLocation: 签名域的标签值
|
716
|
+
# @type SignLocation: String
|
717
|
+
|
718
|
+
attr_accessor :AccountResId, :AuthorizationTime, :Location, :SealId, :ImageData, :CertType, :SignLocation
|
719
|
+
|
720
|
+
def initialize(accountresid=nil, authorizationtime=nil, location=nil, sealid=nil, imagedata=nil, certtype=nil, signlocation=nil)
|
721
|
+
@AccountResId = accountresid
|
722
|
+
@AuthorizationTime = authorizationtime
|
723
|
+
@Location = location
|
724
|
+
@SealId = sealid
|
725
|
+
@ImageData = imagedata
|
726
|
+
@CertType = certtype
|
727
|
+
@SignLocation = signlocation
|
728
|
+
end
|
729
|
+
|
730
|
+
def deserialize(params)
|
731
|
+
@AccountResId = params['AccountResId']
|
732
|
+
@AuthorizationTime = params['AuthorizationTime']
|
733
|
+
@Location = params['Location']
|
734
|
+
@SealId = params['SealId']
|
735
|
+
@ImageData = params['ImageData']
|
736
|
+
@CertType = params['CertType']
|
737
|
+
@SignLocation = params['SignLocation']
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
# 签署关键字信息
|
742
|
+
class SignKeyword < TencentCloud::Common::AbstractModel
|
743
|
+
# @param Keyword: 关键字
|
744
|
+
# @type Keyword: String
|
745
|
+
# @param OffsetCoordX: X轴偏移坐标
|
746
|
+
# @type OffsetCoordX: String
|
747
|
+
# @param OffsetCoordY: Y轴偏移坐标
|
748
|
+
# @type OffsetCoordY: String
|
749
|
+
# @param ImageWidth: 签章图片宽度
|
750
|
+
# @type ImageWidth: String
|
751
|
+
# @param ImageHeight: 签章图片高度
|
752
|
+
# @type ImageHeight: String
|
753
|
+
|
754
|
+
attr_accessor :Keyword, :OffsetCoordX, :OffsetCoordY, :ImageWidth, :ImageHeight
|
755
|
+
|
756
|
+
def initialize(keyword=nil, offsetcoordx=nil, offsetcoordy=nil, imagewidth=nil, imageheight=nil)
|
757
|
+
@Keyword = keyword
|
758
|
+
@OffsetCoordX = offsetcoordx
|
759
|
+
@OffsetCoordY = offsetcoordy
|
760
|
+
@ImageWidth = imagewidth
|
761
|
+
@ImageHeight = imageheight
|
762
|
+
end
|
763
|
+
|
764
|
+
def deserialize(params)
|
765
|
+
@Keyword = params['Keyword']
|
766
|
+
@OffsetCoordX = params['OffsetCoordX']
|
767
|
+
@OffsetCoordY = params['OffsetCoordY']
|
768
|
+
@ImageWidth = params['ImageWidth']
|
769
|
+
@ImageHeight = params['ImageHeight']
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
# 签署坐标对象
|
774
|
+
class SignLocation < TencentCloud::Common::AbstractModel
|
775
|
+
# @param SignOnPage: 签名域页数
|
776
|
+
# @type SignOnPage: String
|
777
|
+
# @param SignLocationLBX: 签名域左下角X轴坐标轴
|
778
|
+
# @type SignLocationLBX: String
|
779
|
+
# @param SignLocationLBY: 签名域左下角Y轴坐标轴
|
780
|
+
# @type SignLocationLBY: String
|
781
|
+
# @param SignLocationRUX: 签名域右上角X轴坐标轴
|
782
|
+
# @type SignLocationRUX: String
|
783
|
+
# @param SignLocationRUY: 签名域右上角Y轴坐标轴
|
784
|
+
# @type SignLocationRUY: String
|
785
|
+
|
786
|
+
attr_accessor :SignOnPage, :SignLocationLBX, :SignLocationLBY, :SignLocationRUX, :SignLocationRUY
|
787
|
+
|
788
|
+
def initialize(signonpage=nil, signlocationlbx=nil, signlocationlby=nil, signlocationrux=nil, signlocationruy=nil)
|
789
|
+
@SignOnPage = signonpage
|
790
|
+
@SignLocationLBX = signlocationlbx
|
791
|
+
@SignLocationLBY = signlocationlby
|
792
|
+
@SignLocationRUX = signlocationrux
|
793
|
+
@SignLocationRUY = signlocationruy
|
794
|
+
end
|
795
|
+
|
796
|
+
def deserialize(params)
|
797
|
+
@SignOnPage = params['SignOnPage']
|
798
|
+
@SignLocationLBX = params['SignLocationLBX']
|
799
|
+
@SignLocationLBY = params['SignLocationLBY']
|
800
|
+
@SignLocationRUX = params['SignLocationRUX']
|
801
|
+
@SignLocationRUY = params['SignLocationRUY']
|
802
|
+
end
|
803
|
+
end
|
804
|
+
|
805
|
+
end
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tencentcloud-sdk-ds
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.200
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tencent Cloud
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tencentcloud-sdk-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
|
+
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
|
+
DS.
|
30
|
+
email:
|
31
|
+
- tencentcloudapi@tencent.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- lib/VERSION
|
37
|
+
- lib/tencentcloud-sdk-ds.rb
|
38
|
+
- lib/v20180523/client.rb
|
39
|
+
- lib/v20180523/models.rb
|
40
|
+
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
|
+
licenses:
|
42
|
+
- Apache-2.0
|
43
|
+
metadata:
|
44
|
+
source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-ds
|
45
|
+
changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
|
46
|
+
post_install_message:
|
47
|
+
rdoc_options: []
|
48
|
+
require_paths:
|
49
|
+
- lib
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 2.6.14
|
63
|
+
signing_key:
|
64
|
+
specification_version: 4
|
65
|
+
summary: Tencent Cloud SDK for Ruby - DS
|
66
|
+
test_files: []
|