tencentcloud-sdk-ssl 1.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2493 @@
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 Ssl
19
+ module V20191205
20
+ # ApplyCertificate请求参数结构体
21
+ class ApplyCertificateRequest < TencentCloud::Common::AbstractModel
22
+ # @param DvAuthMethod: 验证方式:DNS_AUTO = 自动DNS验证,DNS = 手动DNS验证,FILE = 文件验证。
23
+ # @type DvAuthMethod: String
24
+ # @param DomainName: 域名。
25
+ # @type DomainName: String
26
+ # @param ProjectId: 项目 ID。
27
+ # @type ProjectId: Integer
28
+ # @param PackageType: 证书类型,目前仅支持类型2。2 = TrustAsia TLS RSA CA。
29
+ # @type PackageType: String
30
+ # @param ContactEmail: 邮箱。
31
+ # @type ContactEmail: String
32
+ # @param ContactPhone: 手机。
33
+ # @type ContactPhone: String
34
+ # @param ValidityPeriod: 有效期,默认12个月,目前仅支持12个月。
35
+ # @type ValidityPeriod: String
36
+ # @param CsrEncryptAlgo: 加密算法,仅支持 RSA。
37
+ # @type CsrEncryptAlgo: String
38
+ # @param CsrKeyParameter: 密钥对参数,仅支持2048。
39
+ # @type CsrKeyParameter: String
40
+ # @param CsrKeyPassword: CSR 的加密密码。
41
+ # @type CsrKeyPassword: String
42
+ # @param Alias: 备注名称。
43
+ # @type Alias: String
44
+ # @param OldCertificateId: 原证书 ID,用于重新申请。
45
+ # @type OldCertificateId: String
46
+
47
+ attr_accessor :DvAuthMethod, :DomainName, :ProjectId, :PackageType, :ContactEmail, :ContactPhone, :ValidityPeriod, :CsrEncryptAlgo, :CsrKeyParameter, :CsrKeyPassword, :Alias, :OldCertificateId
48
+
49
+ def initialize(dvauthmethod=nil, domainname=nil, projectid=nil, packagetype=nil, contactemail=nil, contactphone=nil, validityperiod=nil, csrencryptalgo=nil, csrkeyparameter=nil, csrkeypassword=nil, _alias=nil, oldcertificateid=nil)
50
+ @DvAuthMethod = dvauthmethod
51
+ @DomainName = domainname
52
+ @ProjectId = projectid
53
+ @PackageType = packagetype
54
+ @ContactEmail = contactemail
55
+ @ContactPhone = contactphone
56
+ @ValidityPeriod = validityperiod
57
+ @CsrEncryptAlgo = csrencryptalgo
58
+ @CsrKeyParameter = csrkeyparameter
59
+ @CsrKeyPassword = csrkeypassword
60
+ @Alias = _alias
61
+ @OldCertificateId = oldcertificateid
62
+ end
63
+
64
+ def deserialize(params)
65
+ @DvAuthMethod = params['DvAuthMethod']
66
+ @DomainName = params['DomainName']
67
+ @ProjectId = params['ProjectId']
68
+ @PackageType = params['PackageType']
69
+ @ContactEmail = params['ContactEmail']
70
+ @ContactPhone = params['ContactPhone']
71
+ @ValidityPeriod = params['ValidityPeriod']
72
+ @CsrEncryptAlgo = params['CsrEncryptAlgo']
73
+ @CsrKeyParameter = params['CsrKeyParameter']
74
+ @CsrKeyPassword = params['CsrKeyPassword']
75
+ @Alias = params['Alias']
76
+ @OldCertificateId = params['OldCertificateId']
77
+ end
78
+ end
79
+
80
+ # ApplyCertificate返回参数结构体
81
+ class ApplyCertificateResponse < TencentCloud::Common::AbstractModel
82
+ # @param CertificateId: 证书 ID。
83
+ # @type CertificateId: String
84
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
85
+ # @type RequestId: String
86
+
87
+ attr_accessor :CertificateId, :RequestId
88
+
89
+ def initialize(certificateid=nil, requestid=nil)
90
+ @CertificateId = certificateid
91
+ @RequestId = requestid
92
+ end
93
+
94
+ def deserialize(params)
95
+ @CertificateId = params['CertificateId']
96
+ @RequestId = params['RequestId']
97
+ end
98
+ end
99
+
100
+ # CancelCertificateOrder请求参数结构体
101
+ class CancelCertificateOrderRequest < TencentCloud::Common::AbstractModel
102
+ # @param CertificateId: 证书 ID。
103
+ # @type CertificateId: String
104
+
105
+ attr_accessor :CertificateId
106
+
107
+ def initialize(certificateid=nil)
108
+ @CertificateId = certificateid
109
+ end
110
+
111
+ def deserialize(params)
112
+ @CertificateId = params['CertificateId']
113
+ end
114
+ end
115
+
116
+ # CancelCertificateOrder返回参数结构体
117
+ class CancelCertificateOrderResponse < TencentCloud::Common::AbstractModel
118
+ # @param CertificateId: 取消订单成功的证书 ID。
119
+ # @type CertificateId: String
120
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
121
+ # @type RequestId: String
122
+
123
+ attr_accessor :CertificateId, :RequestId
124
+
125
+ def initialize(certificateid=nil, requestid=nil)
126
+ @CertificateId = certificateid
127
+ @RequestId = requestid
128
+ end
129
+
130
+ def deserialize(params)
131
+ @CertificateId = params['CertificateId']
132
+ @RequestId = params['RequestId']
133
+ end
134
+ end
135
+
136
+ # 获取证书列表(DescribeCertificates)返回参数键为 Certificates 数组下,key为CertificateExtra 的内容。
137
+ class CertificateExtra < TencentCloud::Common::AbstractModel
138
+ # @param DomainNumber: 证书可配置域名数量。
139
+ # 注意:此字段可能返回 null,表示取不到有效值。
140
+ # @type DomainNumber: String
141
+ # @param OriginCertificateId: 原始证书 ID。
142
+ # 注意:此字段可能返回 null,表示取不到有效值。
143
+ # @type OriginCertificateId: String
144
+ # @param ReplacedBy: 重颁发证书原始 ID。
145
+ # 注意:此字段可能返回 null,表示取不到有效值。
146
+ # @type ReplacedBy: String
147
+ # @param ReplacedFor: 重颁发证书新 ID。
148
+ # 注意:此字段可能返回 null,表示取不到有效值。
149
+ # @type ReplacedFor: String
150
+ # @param RenewOrder: 新订单证书 ID。
151
+ # 注意:此字段可能返回 null,表示取不到有效值。
152
+ # @type RenewOrder: String
153
+
154
+ attr_accessor :DomainNumber, :OriginCertificateId, :ReplacedBy, :ReplacedFor, :RenewOrder
155
+
156
+ def initialize(domainnumber=nil, origincertificateid=nil, replacedby=nil, replacedfor=nil, reneworder=nil)
157
+ @DomainNumber = domainnumber
158
+ @OriginCertificateId = origincertificateid
159
+ @ReplacedBy = replacedby
160
+ @ReplacedFor = replacedfor
161
+ @RenewOrder = reneworder
162
+ end
163
+
164
+ def deserialize(params)
165
+ @DomainNumber = params['DomainNumber']
166
+ @OriginCertificateId = params['OriginCertificateId']
167
+ @ReplacedBy = params['ReplacedBy']
168
+ @ReplacedFor = params['ReplacedFor']
169
+ @RenewOrder = params['RenewOrder']
170
+ end
171
+ end
172
+
173
+ # 获取证书列表(DescribeCertificates)返回参数键为 Certificates 的内容。
174
+ class Certificates < TencentCloud::Common::AbstractModel
175
+ # @param OwnerUin: 用户 UIN。
176
+ # 注意:此字段可能返回 null,表示取不到有效值。
177
+ # @type OwnerUin: String
178
+ # @param ProjectId: 项目 ID。
179
+ # 注意:此字段可能返回 null,表示取不到有效值。
180
+ # @type ProjectId: String
181
+ # @param From: 证书来源。
182
+ # 注意:此字段可能返回 null,表示取不到有效值。
183
+ # @type From: String
184
+ # @param PackageType: 证书套餐类型:1 = GeoTrust DV SSL CA - G3, 2 = TrustAsia TLS RSA CA, 3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书。
185
+ # 注意:此字段可能返回 null,表示取不到有效值。
186
+ # @type PackageType: String
187
+ # @param CertificateType: 证书类型:CA = 客户端证书,SVR = 服务器证书。
188
+ # 注意:此字段可能返回 null,表示取不到有效值。
189
+ # @type CertificateType: String
190
+ # @param ProductZhName: 颁发者。
191
+ # 注意:此字段可能返回 null,表示取不到有效值。
192
+ # @type ProductZhName: String
193
+ # @param Domain: 主域名。
194
+ # 注意:此字段可能返回 null,表示取不到有效值。
195
+ # @type Domain: String
196
+ # @param Alias: 备注名称。
197
+ # 注意:此字段可能返回 null,表示取不到有效值。
198
+ # @type Alias: String
199
+ # @param Status: 状态值 0:审核中,1:已通过,2:审核失败,3:已过期,4:已添加 DNS 解析记录,5:OV/EV 证书,待提交资料,6:订单取消中,7:已取消,8:已提交资料, 待上传确认函。
200
+ # 注意:此字段可能返回 null,表示取不到有效值。
201
+ # @type Status: Integer
202
+ # @param CertificateExtra: 证书扩展信息。
203
+ # 注意:此字段可能返回 null,表示取不到有效值。
204
+ # @type CertificateExtra: :class:`Tencentcloud::Ssl.v20191205.models.CertificateExtra`
205
+ # @param VulnerabilityStatus: 漏洞扫描状态:INACTIVE = 未开启,ACTIVE = 已开启
206
+ # 注意:此字段可能返回 null,表示取不到有效值。
207
+ # @type VulnerabilityStatus: String
208
+ # @param StatusMsg: 状态信息。
209
+ # 注意:此字段可能返回 null,表示取不到有效值。
210
+ # @type StatusMsg: String
211
+ # @param VerifyType: 验证类型:DNS_AUTO = 自动DNS验证,DNS = 手动DNS验证,FILE = 文件验证,EMAIL = 邮件验证。
212
+ # 注意:此字段可能返回 null,表示取不到有效值。
213
+ # @type VerifyType: String
214
+ # @param CertBeginTime: 证书生效时间。
215
+ # 注意:此字段可能返回 null,表示取不到有效值。
216
+ # @type CertBeginTime: String
217
+ # @param CertEndTime: 证书过期时间。
218
+ # 注意:此字段可能返回 null,表示取不到有效值。
219
+ # @type CertEndTime: String
220
+ # @param ValidityPeriod: 证书有效期,单位(月)。
221
+ # 注意:此字段可能返回 null,表示取不到有效值。
222
+ # @type ValidityPeriod: String
223
+ # @param InsertTime: 创建时间。
224
+ # 注意:此字段可能返回 null,表示取不到有效值。
225
+ # @type InsertTime: String
226
+ # @param CertificateId: 证书 ID。
227
+ # 注意:此字段可能返回 null,表示取不到有效值。
228
+ # @type CertificateId: String
229
+ # @param SubjectAltName: 证书包含的多个域名(包含主域名)。
230
+ # 注意:此字段可能返回 null,表示取不到有效值。
231
+ # @type SubjectAltName: Array
232
+ # @param PackageTypeName: 证书类型名称。
233
+ # 注意:此字段可能返回 null,表示取不到有效值。
234
+ # @type PackageTypeName: String
235
+ # @param StatusName: 状态名称。
236
+ # 注意:此字段可能返回 null,表示取不到有效值。
237
+ # @type StatusName: String
238
+ # @param IsVip: 是否为 VIP 客户。
239
+ # 注意:此字段可能返回 null,表示取不到有效值。
240
+ # @type IsVip: Boolean
241
+ # @param IsDv: 是否为 DV 版证书。
242
+ # 注意:此字段可能返回 null,表示取不到有效值。
243
+ # @type IsDv: Boolean
244
+ # @param IsWildcard: 是否为泛域名证书。
245
+ # 注意:此字段可能返回 null,表示取不到有效值。
246
+ # @type IsWildcard: Boolean
247
+ # @param IsVulnerability: 是否启用了漏洞扫描功能。
248
+ # 注意:此字段可能返回 null,表示取不到有效值。
249
+ # @type IsVulnerability: Boolean
250
+ # @param RenewAble: 是否可重颁发证书。
251
+ # 注意:此字段可能返回 null,表示取不到有效值。
252
+ # @type RenewAble: Boolean
253
+ # @param ProjectInfo: 项目信息。
254
+ # 注意:此字段可能返回 null,表示取不到有效值。
255
+ # @type ProjectInfo: :class:`Tencentcloud::Ssl.v20191205.models.ProjectInfo`
256
+ # @param BoundResource: 关联的云资源,暂不可用
257
+ # 注意:此字段可能返回 null,表示取不到有效值。
258
+ # @type BoundResource: Array
259
+ # @param Deployable: 是否可部署。
260
+ # 注意:此字段可能返回 null,表示取不到有效值。
261
+ # @type Deployable: Boolean
262
+ # @param Tags: 标签列表
263
+ # 注意:此字段可能返回 null,表示取不到有效值。
264
+ # @type Tags: Array
265
+
266
+ attr_accessor :OwnerUin, :ProjectId, :From, :PackageType, :CertificateType, :ProductZhName, :Domain, :Alias, :Status, :CertificateExtra, :VulnerabilityStatus, :StatusMsg, :VerifyType, :CertBeginTime, :CertEndTime, :ValidityPeriod, :InsertTime, :CertificateId, :SubjectAltName, :PackageTypeName, :StatusName, :IsVip, :IsDv, :IsWildcard, :IsVulnerability, :RenewAble, :ProjectInfo, :BoundResource, :Deployable, :Tags
267
+
268
+ def initialize(owneruin=nil, projectid=nil, from=nil, packagetype=nil, certificatetype=nil, productzhname=nil, domain=nil, _alias=nil, status=nil, certificateextra=nil, vulnerabilitystatus=nil, statusmsg=nil, verifytype=nil, certbegintime=nil, certendtime=nil, validityperiod=nil, inserttime=nil, certificateid=nil, subjectaltname=nil, packagetypename=nil, statusname=nil, isvip=nil, isdv=nil, iswildcard=nil, isvulnerability=nil, renewable=nil, projectinfo=nil, boundresource=nil, deployable=nil, tags=nil)
269
+ @OwnerUin = owneruin
270
+ @ProjectId = projectid
271
+ @From = from
272
+ @PackageType = packagetype
273
+ @CertificateType = certificatetype
274
+ @ProductZhName = productzhname
275
+ @Domain = domain
276
+ @Alias = _alias
277
+ @Status = status
278
+ @CertificateExtra = certificateextra
279
+ @VulnerabilityStatus = vulnerabilitystatus
280
+ @StatusMsg = statusmsg
281
+ @VerifyType = verifytype
282
+ @CertBeginTime = certbegintime
283
+ @CertEndTime = certendtime
284
+ @ValidityPeriod = validityperiod
285
+ @InsertTime = inserttime
286
+ @CertificateId = certificateid
287
+ @SubjectAltName = subjectaltname
288
+ @PackageTypeName = packagetypename
289
+ @StatusName = statusname
290
+ @IsVip = isvip
291
+ @IsDv = isdv
292
+ @IsWildcard = iswildcard
293
+ @IsVulnerability = isvulnerability
294
+ @RenewAble = renewable
295
+ @ProjectInfo = projectinfo
296
+ @BoundResource = boundresource
297
+ @Deployable = deployable
298
+ @Tags = tags
299
+ end
300
+
301
+ def deserialize(params)
302
+ @OwnerUin = params['OwnerUin']
303
+ @ProjectId = params['ProjectId']
304
+ @From = params['From']
305
+ @PackageType = params['PackageType']
306
+ @CertificateType = params['CertificateType']
307
+ @ProductZhName = params['ProductZhName']
308
+ @Domain = params['Domain']
309
+ @Alias = params['Alias']
310
+ @Status = params['Status']
311
+ unless params['CertificateExtra'].nil?
312
+ @CertificateExtra = CertificateExtra.new
313
+ @CertificateExtra.deserialize(params['CertificateExtra'])
314
+ end
315
+ @VulnerabilityStatus = params['VulnerabilityStatus']
316
+ @StatusMsg = params['StatusMsg']
317
+ @VerifyType = params['VerifyType']
318
+ @CertBeginTime = params['CertBeginTime']
319
+ @CertEndTime = params['CertEndTime']
320
+ @ValidityPeriod = params['ValidityPeriod']
321
+ @InsertTime = params['InsertTime']
322
+ @CertificateId = params['CertificateId']
323
+ @SubjectAltName = params['SubjectAltName']
324
+ @PackageTypeName = params['PackageTypeName']
325
+ @StatusName = params['StatusName']
326
+ @IsVip = params['IsVip']
327
+ @IsDv = params['IsDv']
328
+ @IsWildcard = params['IsWildcard']
329
+ @IsVulnerability = params['IsVulnerability']
330
+ @RenewAble = params['RenewAble']
331
+ unless params['ProjectInfo'].nil?
332
+ @ProjectInfo = ProjectInfo.new
333
+ @ProjectInfo.deserialize(params['ProjectInfo'])
334
+ end
335
+ @BoundResource = params['BoundResource']
336
+ @Deployable = params['Deployable']
337
+ unless params['Tags'].nil?
338
+ @Tags = []
339
+ params['Tags'].each do |i|
340
+ tags_tmp = Tags.new
341
+ tags_tmp.deserialize(i)
342
+ @Tags << tags_tmp
343
+ end
344
+ end
345
+ end
346
+ end
347
+
348
+ # CheckCertificateChain请求参数结构体
349
+ class CheckCertificateChainRequest < TencentCloud::Common::AbstractModel
350
+ # @param CertificateChain: 待检查的证书链
351
+ # @type CertificateChain: String
352
+
353
+ attr_accessor :CertificateChain
354
+
355
+ def initialize(certificatechain=nil)
356
+ @CertificateChain = certificatechain
357
+ end
358
+
359
+ def deserialize(params)
360
+ @CertificateChain = params['CertificateChain']
361
+ end
362
+ end
363
+
364
+ # CheckCertificateChain返回参数结构体
365
+ class CheckCertificateChainResponse < TencentCloud::Common::AbstractModel
366
+ # @param IsValid: true为通过检查,false为未通过检查。
367
+ # @type IsValid: Boolean
368
+ # @param IsTrustedCA: true为可信CA,false为不可信CA。
369
+ # @type IsTrustedCA: Boolean
370
+ # @param Chains: 包含证书链中每一段证书的通用名称。
371
+ # @type Chains: Array
372
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
373
+ # @type RequestId: String
374
+
375
+ attr_accessor :IsValid, :IsTrustedCA, :Chains, :RequestId
376
+
377
+ def initialize(isvalid=nil, istrustedca=nil, chains=nil, requestid=nil)
378
+ @IsValid = isvalid
379
+ @IsTrustedCA = istrustedca
380
+ @Chains = chains
381
+ @RequestId = requestid
382
+ end
383
+
384
+ def deserialize(params)
385
+ @IsValid = params['IsValid']
386
+ @IsTrustedCA = params['IsTrustedCA']
387
+ @Chains = params['Chains']
388
+ @RequestId = params['RequestId']
389
+ end
390
+ end
391
+
392
+ # CommitCertificateInformation请求参数结构体
393
+ class CommitCertificateInformationRequest < TencentCloud::Common::AbstractModel
394
+ # @param CertificateId: 证书 ID。
395
+ # @type CertificateId: String
396
+
397
+ attr_accessor :CertificateId
398
+
399
+ def initialize(certificateid=nil)
400
+ @CertificateId = certificateid
401
+ end
402
+
403
+ def deserialize(params)
404
+ @CertificateId = params['CertificateId']
405
+ end
406
+ end
407
+
408
+ # CommitCertificateInformation返回参数结构体
409
+ class CommitCertificateInformationResponse < TencentCloud::Common::AbstractModel
410
+ # @param OrderId: CA机构侧订单号。
411
+ # @type OrderId: String
412
+ # @param Status: 证书状态:0 = 审核中,1 = 已通过,2 = 审核失败,3 = 已过期,4 = 已添加DNS记录,5 = 企业证书,待提交,6 = 订单取消中,7 = 已取消,8 = 已提交资料, 待上传确认函,9 = 证书吊销中,10 = 已吊销,11 = 重颁发中,12 = 待上传吊销确认函,13 = 免费证书待提交资料。
413
+ # @type Status: Integer
414
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
415
+ # @type RequestId: String
416
+
417
+ attr_accessor :OrderId, :Status, :RequestId
418
+
419
+ def initialize(orderid=nil, status=nil, requestid=nil)
420
+ @OrderId = orderid
421
+ @Status = status
422
+ @RequestId = requestid
423
+ end
424
+
425
+ def deserialize(params)
426
+ @OrderId = params['OrderId']
427
+ @Status = params['Status']
428
+ @RequestId = params['RequestId']
429
+ end
430
+ end
431
+
432
+ # 公司信息
433
+ class CompanyInfo < TencentCloud::Common::AbstractModel
434
+ # @param CompanyName: 公司名称
435
+ # @type CompanyName: String
436
+ # @param CompanyId: 公司ID
437
+ # @type CompanyId: Integer
438
+ # @param CompanyCountry: 公司所在国家
439
+ # @type CompanyCountry: String
440
+ # @param CompanyProvince: 公司所在省份
441
+ # @type CompanyProvince: String
442
+ # @param CompanyCity: 公司所在城市
443
+ # @type CompanyCity: String
444
+ # @param CompanyAddress: 公司所在详细地址
445
+ # @type CompanyAddress: String
446
+ # @param CompanyPhone: 公司电话
447
+ # @type CompanyPhone: String
448
+
449
+ attr_accessor :CompanyName, :CompanyId, :CompanyCountry, :CompanyProvince, :CompanyCity, :CompanyAddress, :CompanyPhone
450
+
451
+ def initialize(companyname=nil, companyid=nil, companycountry=nil, companyprovince=nil, companycity=nil, companyaddress=nil, companyphone=nil)
452
+ @CompanyName = companyname
453
+ @CompanyId = companyid
454
+ @CompanyCountry = companycountry
455
+ @CompanyProvince = companyprovince
456
+ @CompanyCity = companycity
457
+ @CompanyAddress = companyaddress
458
+ @CompanyPhone = companyphone
459
+ end
460
+
461
+ def deserialize(params)
462
+ @CompanyName = params['CompanyName']
463
+ @CompanyId = params['CompanyId']
464
+ @CompanyCountry = params['CompanyCountry']
465
+ @CompanyProvince = params['CompanyProvince']
466
+ @CompanyCity = params['CompanyCity']
467
+ @CompanyAddress = params['CompanyAddress']
468
+ @CompanyPhone = params['CompanyPhone']
469
+ end
470
+ end
471
+
472
+ # CompleteCertificate请求参数结构体
473
+ class CompleteCertificateRequest < TencentCloud::Common::AbstractModel
474
+ # @param CertificateId: 证书ID
475
+ # @type CertificateId: String
476
+
477
+ attr_accessor :CertificateId
478
+
479
+ def initialize(certificateid=nil)
480
+ @CertificateId = certificateid
481
+ end
482
+
483
+ def deserialize(params)
484
+ @CertificateId = params['CertificateId']
485
+ end
486
+ end
487
+
488
+ # CompleteCertificate返回参数结构体
489
+ class CompleteCertificateResponse < TencentCloud::Common::AbstractModel
490
+ # @param CertificateId: 证书ID
491
+ # @type CertificateId: String
492
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
493
+ # @type RequestId: String
494
+
495
+ attr_accessor :CertificateId, :RequestId
496
+
497
+ def initialize(certificateid=nil, requestid=nil)
498
+ @CertificateId = certificateid
499
+ @RequestId = requestid
500
+ end
501
+
502
+ def deserialize(params)
503
+ @CertificateId = params['CertificateId']
504
+ @RequestId = params['RequestId']
505
+ end
506
+ end
507
+
508
+ # CreateCertificate请求参数结构体
509
+ class CreateCertificateRequest < TencentCloud::Common::AbstractModel
510
+ # @param ProductId: 证书商品ID,3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书,25 = Wotrus 域名型证书,26 = Wotrus 域名型多域名证书,27 = Wotrus 域名型通配符证书,28 = Wotrus 企业型证书,29 = Wotrus 企业型多域名证书,30 = Wotrus 企业型通配符证书,31 = Wotrus 增强型证书,32 = Wotrus 增强型多域名证书,33 = DNSPod 国密域名型证书,34 = DNSPod 国密域名型多域名证书,35 = DNSPod 国密域名型通配符证书,37 = DNSPod 国密企业型证书,38 = DNSPod 国密企业型多域名证书,39 = DNSPod 国密企业型通配符证书,40 = DNSPod 国密增强型证书,41 = DNSPod 国密增强型多域名证书,42 = TrustAsia 域名型通配符多域名证书。
511
+ # @type ProductId: Integer
512
+ # @param DomainNum: 证书包含的域名数量
513
+ # @type DomainNum: Integer
514
+ # @param TimeSpan: 证书年限,当前只支持 1 年证书的购买
515
+ # @type TimeSpan: Integer
516
+
517
+ attr_accessor :ProductId, :DomainNum, :TimeSpan
518
+
519
+ def initialize(productid=nil, domainnum=nil, timespan=nil)
520
+ @ProductId = productid
521
+ @DomainNum = domainnum
522
+ @TimeSpan = timespan
523
+ end
524
+
525
+ def deserialize(params)
526
+ @ProductId = params['ProductId']
527
+ @DomainNum = params['DomainNum']
528
+ @TimeSpan = params['TimeSpan']
529
+ end
530
+ end
531
+
532
+ # CreateCertificate返回参数结构体
533
+ class CreateCertificateResponse < TencentCloud::Common::AbstractModel
534
+ # @param CertificateIds: 证书ID列表
535
+ # @type CertificateIds: Array
536
+ # @param DealIds: 订单号列表
537
+ # @type DealIds: Array
538
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
539
+ # @type RequestId: String
540
+
541
+ attr_accessor :CertificateIds, :DealIds, :RequestId
542
+
543
+ def initialize(certificateids=nil, dealids=nil, requestid=nil)
544
+ @CertificateIds = certificateids
545
+ @DealIds = dealids
546
+ @RequestId = requestid
547
+ end
548
+
549
+ def deserialize(params)
550
+ @CertificateIds = params['CertificateIds']
551
+ @DealIds = params['DealIds']
552
+ @RequestId = params['RequestId']
553
+ end
554
+ end
555
+
556
+ # DeleteCertificate请求参数结构体
557
+ class DeleteCertificateRequest < TencentCloud::Common::AbstractModel
558
+ # @param CertificateId: 证书 ID。
559
+ # @type CertificateId: String
560
+
561
+ attr_accessor :CertificateId
562
+
563
+ def initialize(certificateid=nil)
564
+ @CertificateId = certificateid
565
+ end
566
+
567
+ def deserialize(params)
568
+ @CertificateId = params['CertificateId']
569
+ end
570
+ end
571
+
572
+ # DeleteCertificate返回参数结构体
573
+ class DeleteCertificateResponse < TencentCloud::Common::AbstractModel
574
+ # @param DeleteResult: 删除结果(true:删除成功,false:删除失败)
575
+ # @type DeleteResult: Boolean
576
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
577
+ # @type RequestId: String
578
+
579
+ attr_accessor :DeleteResult, :RequestId
580
+
581
+ def initialize(deleteresult=nil, requestid=nil)
582
+ @DeleteResult = deleteresult
583
+ @RequestId = requestid
584
+ end
585
+
586
+ def deserialize(params)
587
+ @DeleteResult = params['DeleteResult']
588
+ @RequestId = params['RequestId']
589
+ end
590
+ end
591
+
592
+ # DeleteManager请求参数结构体
593
+ class DeleteManagerRequest < TencentCloud::Common::AbstractModel
594
+ # @param ManagerId: 管理人ID
595
+ # @type ManagerId: Integer
596
+
597
+ attr_accessor :ManagerId
598
+
599
+ def initialize(managerid=nil)
600
+ @ManagerId = managerid
601
+ end
602
+
603
+ def deserialize(params)
604
+ @ManagerId = params['ManagerId']
605
+ end
606
+ end
607
+
608
+ # DeleteManager返回参数结构体
609
+ class DeleteManagerResponse < TencentCloud::Common::AbstractModel
610
+ # @param ManagerId: 管理人ID
611
+ # @type ManagerId: Integer
612
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
613
+ # @type RequestId: String
614
+
615
+ attr_accessor :ManagerId, :RequestId
616
+
617
+ def initialize(managerid=nil, requestid=nil)
618
+ @ManagerId = managerid
619
+ @RequestId = requestid
620
+ end
621
+
622
+ def deserialize(params)
623
+ @ManagerId = params['ManagerId']
624
+ @RequestId = params['RequestId']
625
+ end
626
+ end
627
+
628
+ # 资源详情
629
+ class DeployedResources < TencentCloud::Common::AbstractModel
630
+ # @param CertificateId: 证书ID
631
+ # @type CertificateId: String
632
+ # @param Count: 数量
633
+ # @type Count: Integer
634
+ # @param Type: 资源标识:clb,cdn,live,waf,antiddos
635
+ # @type Type: String
636
+
637
+ attr_accessor :CertificateId, :Count, :Type
638
+
639
+ def initialize(certificateid=nil, count=nil, type=nil)
640
+ @CertificateId = certificateid
641
+ @Count = count
642
+ @Type = type
643
+ end
644
+
645
+ def deserialize(params)
646
+ @CertificateId = params['CertificateId']
647
+ @Count = params['Count']
648
+ @Type = params['Type']
649
+ end
650
+ end
651
+
652
+ # DescribeCertificateDetail请求参数结构体
653
+ class DescribeCertificateDetailRequest < TencentCloud::Common::AbstractModel
654
+ # @param CertificateId: 证书 ID。
655
+ # @type CertificateId: String
656
+
657
+ attr_accessor :CertificateId
658
+
659
+ def initialize(certificateid=nil)
660
+ @CertificateId = certificateid
661
+ end
662
+
663
+ def deserialize(params)
664
+ @CertificateId = params['CertificateId']
665
+ end
666
+ end
667
+
668
+ # DescribeCertificateDetail返回参数结构体
669
+ class DescribeCertificateDetailResponse < TencentCloud::Common::AbstractModel
670
+ # @param OwnerUin: 用户 UIN。
671
+ # 注意:此字段可能返回 null,表示取不到有效值。
672
+ # @type OwnerUin: String
673
+ # @param ProjectId: 项目 ID。
674
+ # 注意:此字段可能返回 null,表示取不到有效值。
675
+ # @type ProjectId: String
676
+ # @param From: 证书来源:trustasia = 亚洲诚信,upload = 用户上传。
677
+ # 注意:此字段可能返回 null,表示取不到有效值。
678
+ # @type From: String
679
+ # @param CertificateType: 证书类型:CA = 客户端证书,SVR = 服务器证书。
680
+ # 注意:此字段可能返回 null,表示取不到有效值。
681
+ # @type CertificateType: String
682
+ # @param PackageType: 证书套餐类型:1 = GeoTrust DV SSL CA - G3, 2 = TrustAsia TLS RSA CA, 3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书,25 = Wotrus 域名型证书,26 = Wotrus 域名型多域名证书,27 = Wotrus 域名型通配符证书,28 = Wotrus 企业型证书,29 = Wotrus 企业型多域名证书,30 = Wotrus 企业型通配符证书,31 = Wotrus 增强型证书,32 = Wotrus 增强型多域名证书,33 = DNSPod 国密域名型证书,34 = DNSPod 国密域名型多域名证书,35 = DNSPod 国密域名型通配符证书,37 = DNSPod 国密企业型证书,38 = DNSPod 国密企业型多域名证书,39 = DNSPod 国密企业型通配符证书,40 = DNSPod 国密增强型证书,41 = DNSPod 国密增强型多域名证书,42 = TrustAsia 域名型通配符多域名证书。
683
+ # 注意:此字段可能返回 null,表示取不到有效值。
684
+ # @type PackageType: String
685
+ # @param ProductZhName: 颁发者。
686
+ # 注意:此字段可能返回 null,表示取不到有效值。
687
+ # @type ProductZhName: String
688
+ # @param Domain: 域名。
689
+ # 注意:此字段可能返回 null,表示取不到有效值。
690
+ # @type Domain: String
691
+ # @param Alias: 备注名称。
692
+ # 注意:此字段可能返回 null,表示取不到有效值。
693
+ # @type Alias: String
694
+ # @param Status: 证书状态:0 = 审核中,1 = 已通过,2 = 审核失败,3 = 已过期,4 = 已添加DNS记录,5 = 企业证书,待提交,6 = 订单取消中,7 = 已取消,8 = 已提交资料, 待上传确认函,9 = 证书吊销中,10 = 已吊销,11 = 重颁发中,12 = 待上传吊销确认函,13 = 免费证书待提交资料。
695
+ # 注意:此字段可能返回 null,表示取不到有效值。
696
+ # @type Status: Integer
697
+ # @param StatusMsg: 状态信息。
698
+ # 注意:此字段可能返回 null,表示取不到有效值。
699
+ # @type StatusMsg: String
700
+ # @param VerifyType: 验证类型:DNS_AUTO = 自动DNS验证,DNS = 手动DNS验证,FILE = 文件验证,EMAIL = 邮件验证。
701
+ # 注意:此字段可能返回 null,表示取不到有效值。
702
+ # @type VerifyType: String
703
+ # @param VulnerabilityStatus: 漏洞扫描状态。
704
+ # 注意:此字段可能返回 null,表示取不到有效值。
705
+ # @type VulnerabilityStatus: String
706
+ # @param CertBeginTime: 证书生效时间。
707
+ # 注意:此字段可能返回 null,表示取不到有效值。
708
+ # @type CertBeginTime: String
709
+ # @param CertEndTime: 证书失效时间。
710
+ # 注意:此字段可能返回 null,表示取不到有效值。
711
+ # @type CertEndTime: String
712
+ # @param ValidityPeriod: 证书有效期:单位(月)。
713
+ # 注意:此字段可能返回 null,表示取不到有效值。
714
+ # @type ValidityPeriod: String
715
+ # @param InsertTime: 申请时间。
716
+ # 注意:此字段可能返回 null,表示取不到有效值。
717
+ # @type InsertTime: String
718
+ # @param OrderId: 订单 ID。
719
+ # 注意:此字段可能返回 null,表示取不到有效值。
720
+ # @type OrderId: String
721
+ # @param CertificateExtra: 证书扩展信息。
722
+ # 注意:此字段可能返回 null,表示取不到有效值。
723
+ # @type CertificateExtra: :class:`Tencentcloud::Ssl.v20191205.models.CertificateExtra`
724
+ # @param CertificatePrivateKey: 证书私钥
725
+ # 注意:此字段可能返回 null,表示取不到有效值。
726
+ # @type CertificatePrivateKey: String
727
+ # @param CertificatePublicKey: 证书公钥(即证书内容)
728
+ # 注意:此字段可能返回 null,表示取不到有效值。
729
+ # @type CertificatePublicKey: String
730
+ # @param DvAuthDetail: DV 认证信息。
731
+ # 注意:此字段可能返回 null,表示取不到有效值。
732
+ # @type DvAuthDetail: :class:`Tencentcloud::Ssl.v20191205.models.DvAuthDetail`
733
+ # @param VulnerabilityReport: 漏洞扫描评估报告。
734
+ # 注意:此字段可能返回 null,表示取不到有效值。
735
+ # @type VulnerabilityReport: String
736
+ # @param CertificateId: 证书 ID。
737
+ # 注意:此字段可能返回 null,表示取不到有效值。
738
+ # @type CertificateId: String
739
+ # @param TypeName: 证书类型名称。
740
+ # 注意:此字段可能返回 null,表示取不到有效值。
741
+ # @type TypeName: String
742
+ # @param StatusName: 状态描述。
743
+ # 注意:此字段可能返回 null,表示取不到有效值。
744
+ # @type StatusName: String
745
+ # @param SubjectAltName: 证书包含的多个域名(包含主域名)
746
+ # 注意:此字段可能返回 null,表示取不到有效值。
747
+ # @type SubjectAltName: Array
748
+ # @param IsVip: 是否为 VIP 客户。
749
+ # 注意:此字段可能返回 null,表示取不到有效值。
750
+ # @type IsVip: Boolean
751
+ # @param IsWildcard: 是否为泛域名证书。
752
+ # 注意:此字段可能返回 null,表示取不到有效值。
753
+ # @type IsWildcard: Boolean
754
+ # @param IsDv: 是否为 DV 版证书。
755
+ # 注意:此字段可能返回 null,表示取不到有效值。
756
+ # @type IsDv: Boolean
757
+ # @param IsVulnerability: 是否启用了漏洞扫描功能。
758
+ # 注意:此字段可能返回 null,表示取不到有效值。
759
+ # @type IsVulnerability: Boolean
760
+ # @param SubmittedData: 提交的资料信息。
761
+ # 注意:此字段可能返回 null,表示取不到有效值。
762
+ # @type SubmittedData: :class:`Tencentcloud::Ssl.v20191205.models.SubmittedData`
763
+ # @param RenewAble: 是否可重颁发证书。
764
+ # 注意:此字段可能返回 null,表示取不到有效值。
765
+ # @type RenewAble: Boolean
766
+ # @param Deployable: 是否可部署。
767
+ # 注意:此字段可能返回 null,表示取不到有效值。
768
+ # @type Deployable: Boolean
769
+ # @param Tags: 关联标签列表。
770
+ # 注意:此字段可能返回 null,表示取不到有效值。
771
+ # @type Tags: Array
772
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
773
+ # @type RequestId: String
774
+
775
+ attr_accessor :OwnerUin, :ProjectId, :From, :CertificateType, :PackageType, :ProductZhName, :Domain, :Alias, :Status, :StatusMsg, :VerifyType, :VulnerabilityStatus, :CertBeginTime, :CertEndTime, :ValidityPeriod, :InsertTime, :OrderId, :CertificateExtra, :CertificatePrivateKey, :CertificatePublicKey, :DvAuthDetail, :VulnerabilityReport, :CertificateId, :TypeName, :StatusName, :SubjectAltName, :IsVip, :IsWildcard, :IsDv, :IsVulnerability, :SubmittedData, :RenewAble, :Deployable, :Tags, :RequestId
776
+
777
+ def initialize(owneruin=nil, projectid=nil, from=nil, certificatetype=nil, packagetype=nil, productzhname=nil, domain=nil, _alias=nil, status=nil, statusmsg=nil, verifytype=nil, vulnerabilitystatus=nil, certbegintime=nil, certendtime=nil, validityperiod=nil, inserttime=nil, orderid=nil, certificateextra=nil, certificateprivatekey=nil, certificatepublickey=nil, dvauthdetail=nil, vulnerabilityreport=nil, certificateid=nil, typename=nil, statusname=nil, subjectaltname=nil, isvip=nil, iswildcard=nil, isdv=nil, isvulnerability=nil, submitteddata=nil, renewable=nil, deployable=nil, tags=nil, requestid=nil)
778
+ @OwnerUin = owneruin
779
+ @ProjectId = projectid
780
+ @From = from
781
+ @CertificateType = certificatetype
782
+ @PackageType = packagetype
783
+ @ProductZhName = productzhname
784
+ @Domain = domain
785
+ @Alias = _alias
786
+ @Status = status
787
+ @StatusMsg = statusmsg
788
+ @VerifyType = verifytype
789
+ @VulnerabilityStatus = vulnerabilitystatus
790
+ @CertBeginTime = certbegintime
791
+ @CertEndTime = certendtime
792
+ @ValidityPeriod = validityperiod
793
+ @InsertTime = inserttime
794
+ @OrderId = orderid
795
+ @CertificateExtra = certificateextra
796
+ @CertificatePrivateKey = certificateprivatekey
797
+ @CertificatePublicKey = certificatepublickey
798
+ @DvAuthDetail = dvauthdetail
799
+ @VulnerabilityReport = vulnerabilityreport
800
+ @CertificateId = certificateid
801
+ @TypeName = typename
802
+ @StatusName = statusname
803
+ @SubjectAltName = subjectaltname
804
+ @IsVip = isvip
805
+ @IsWildcard = iswildcard
806
+ @IsDv = isdv
807
+ @IsVulnerability = isvulnerability
808
+ @SubmittedData = submitteddata
809
+ @RenewAble = renewable
810
+ @Deployable = deployable
811
+ @Tags = tags
812
+ @RequestId = requestid
813
+ end
814
+
815
+ def deserialize(params)
816
+ @OwnerUin = params['OwnerUin']
817
+ @ProjectId = params['ProjectId']
818
+ @From = params['From']
819
+ @CertificateType = params['CertificateType']
820
+ @PackageType = params['PackageType']
821
+ @ProductZhName = params['ProductZhName']
822
+ @Domain = params['Domain']
823
+ @Alias = params['Alias']
824
+ @Status = params['Status']
825
+ @StatusMsg = params['StatusMsg']
826
+ @VerifyType = params['VerifyType']
827
+ @VulnerabilityStatus = params['VulnerabilityStatus']
828
+ @CertBeginTime = params['CertBeginTime']
829
+ @CertEndTime = params['CertEndTime']
830
+ @ValidityPeriod = params['ValidityPeriod']
831
+ @InsertTime = params['InsertTime']
832
+ @OrderId = params['OrderId']
833
+ unless params['CertificateExtra'].nil?
834
+ @CertificateExtra = CertificateExtra.new
835
+ @CertificateExtra.deserialize(params['CertificateExtra'])
836
+ end
837
+ @CertificatePrivateKey = params['CertificatePrivateKey']
838
+ @CertificatePublicKey = params['CertificatePublicKey']
839
+ unless params['DvAuthDetail'].nil?
840
+ @DvAuthDetail = DvAuthDetail.new
841
+ @DvAuthDetail.deserialize(params['DvAuthDetail'])
842
+ end
843
+ @VulnerabilityReport = params['VulnerabilityReport']
844
+ @CertificateId = params['CertificateId']
845
+ @TypeName = params['TypeName']
846
+ @StatusName = params['StatusName']
847
+ @SubjectAltName = params['SubjectAltName']
848
+ @IsVip = params['IsVip']
849
+ @IsWildcard = params['IsWildcard']
850
+ @IsDv = params['IsDv']
851
+ @IsVulnerability = params['IsVulnerability']
852
+ unless params['SubmittedData'].nil?
853
+ @SubmittedData = SubmittedData.new
854
+ @SubmittedData.deserialize(params['SubmittedData'])
855
+ end
856
+ @RenewAble = params['RenewAble']
857
+ @Deployable = params['Deployable']
858
+ unless params['Tags'].nil?
859
+ @Tags = []
860
+ params['Tags'].each do |i|
861
+ tags_tmp = Tags.new
862
+ tags_tmp.deserialize(i)
863
+ @Tags << tags_tmp
864
+ end
865
+ end
866
+ @RequestId = params['RequestId']
867
+ end
868
+ end
869
+
870
+ # DescribeCertificateOperateLogs请求参数结构体
871
+ class DescribeCertificateOperateLogsRequest < TencentCloud::Common::AbstractModel
872
+ # @param Offset: 偏移量,默认为0。
873
+ # @type Offset: Integer
874
+ # @param Limit: 请求日志数量,默认为20。
875
+ # @type Limit: Integer
876
+ # @param StartTime: 开始时间,默认15天前。
877
+ # @type StartTime: String
878
+ # @param EndTime: 结束时间,默认现在时间。
879
+ # @type EndTime: String
880
+
881
+ attr_accessor :Offset, :Limit, :StartTime, :EndTime
882
+
883
+ def initialize(offset=nil, limit=nil, starttime=nil, endtime=nil)
884
+ @Offset = offset
885
+ @Limit = limit
886
+ @StartTime = starttime
887
+ @EndTime = endtime
888
+ end
889
+
890
+ def deserialize(params)
891
+ @Offset = params['Offset']
892
+ @Limit = params['Limit']
893
+ @StartTime = params['StartTime']
894
+ @EndTime = params['EndTime']
895
+ end
896
+ end
897
+
898
+ # DescribeCertificateOperateLogs返回参数结构体
899
+ class DescribeCertificateOperateLogsResponse < TencentCloud::Common::AbstractModel
900
+ # @param AllTotal: 当前查询条件日志总数。
901
+ # @type AllTotal: Integer
902
+ # @param TotalCount: 本次请求返回的日志数量。
903
+ # @type TotalCount: Integer
904
+ # @param OperateLogs: 证书操作日志列表。
905
+ # 注意:此字段可能返回 null,表示取不到有效值。
906
+ # @type OperateLogs: Array
907
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
908
+ # @type RequestId: String
909
+
910
+ attr_accessor :AllTotal, :TotalCount, :OperateLogs, :RequestId
911
+
912
+ def initialize(alltotal=nil, totalcount=nil, operatelogs=nil, requestid=nil)
913
+ @AllTotal = alltotal
914
+ @TotalCount = totalcount
915
+ @OperateLogs = operatelogs
916
+ @RequestId = requestid
917
+ end
918
+
919
+ def deserialize(params)
920
+ @AllTotal = params['AllTotal']
921
+ @TotalCount = params['TotalCount']
922
+ unless params['OperateLogs'].nil?
923
+ @OperateLogs = []
924
+ params['OperateLogs'].each do |i|
925
+ operationlog_tmp = OperationLog.new
926
+ operationlog_tmp.deserialize(i)
927
+ @OperateLogs << operationlog_tmp
928
+ end
929
+ end
930
+ @RequestId = params['RequestId']
931
+ end
932
+ end
933
+
934
+ # DescribeCertificate请求参数结构体
935
+ class DescribeCertificateRequest < TencentCloud::Common::AbstractModel
936
+ # @param CertificateId: 证书 ID。
937
+ # @type CertificateId: String
938
+
939
+ attr_accessor :CertificateId
940
+
941
+ def initialize(certificateid=nil)
942
+ @CertificateId = certificateid
943
+ end
944
+
945
+ def deserialize(params)
946
+ @CertificateId = params['CertificateId']
947
+ end
948
+ end
949
+
950
+ # DescribeCertificate返回参数结构体
951
+ class DescribeCertificateResponse < TencentCloud::Common::AbstractModel
952
+ # @param OwnerUin: 用户 UIN。
953
+ # 注意:此字段可能返回 null,表示取不到有效值。
954
+ # @type OwnerUin: String
955
+ # @param ProjectId: 项目 ID。
956
+ # 注意:此字段可能返回 null,表示取不到有效值。
957
+ # @type ProjectId: String
958
+ # @param From: 证书来源:trustasia = 亚洲诚信,upload = 用户上传。
959
+ # 注意:此字段可能返回 null,表示取不到有效值。
960
+ # @type From: String
961
+ # @param CertificateType: 证书类型:CA = 客户端证书,SVR = 服务器证书。
962
+ # 注意:此字段可能返回 null,表示取不到有效值。
963
+ # @type CertificateType: String
964
+ # @param PackageType: 证书套餐类型:1 = GeoTrust DV SSL CA - G3, 2 = TrustAsia TLS RSA CA, 3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书。
965
+ # 注意:此字段可能返回 null,表示取不到有效值。
966
+ # @type PackageType: String
967
+ # @param ProductZhName: 证书颁发者名称。
968
+ # 注意:此字段可能返回 null,表示取不到有效值。
969
+ # @type ProductZhName: String
970
+ # @param Domain: 域名。
971
+ # 注意:此字段可能返回 null,表示取不到有效值。
972
+ # @type Domain: String
973
+ # @param Alias: 备注名称。
974
+ # 注意:此字段可能返回 null,表示取不到有效值。
975
+ # @type Alias: String
976
+ # @param Status: 证书状态:0 = 审核中,1 = 已通过,2 = 审核失败,3 = 已过期,4 = 已添加DNS记录,5 = 企业证书,待提交,6 = 订单取消中,7 = 已取消,8 = 已提交资料, 待上传确认函,9 = 证书吊销中,10 = 已吊销,11 = 重颁发中,12 = 待上传吊销确认函。
977
+ # 注意:此字段可能返回 null,表示取不到有效值。
978
+ # @type Status: Integer
979
+ # @param StatusMsg: 状态信息。
980
+ # 注意:此字段可能返回 null,表示取不到有效值。
981
+ # @type StatusMsg: String
982
+ # @param VerifyType: 验证类型:DNS_AUTO = 自动DNS验证,DNS = 手动DNS验证,FILE = 文件验证,EMAIL = 邮件验证。
983
+ # 注意:此字段可能返回 null,表示取不到有效值。
984
+ # @type VerifyType: String
985
+ # @param VulnerabilityStatus: 漏洞扫描状态。
986
+ # 注意:此字段可能返回 null,表示取不到有效值。
987
+ # @type VulnerabilityStatus: String
988
+ # @param CertBeginTime: 证书生效时间。
989
+ # 注意:此字段可能返回 null,表示取不到有效值。
990
+ # @type CertBeginTime: String
991
+ # @param CertEndTime: 证书失效时间。
992
+ # 注意:此字段可能返回 null,表示取不到有效值。
993
+ # @type CertEndTime: String
994
+ # @param ValidityPeriod: 证书有效期:单位(月)。
995
+ # 注意:此字段可能返回 null,表示取不到有效值。
996
+ # @type ValidityPeriod: String
997
+ # @param InsertTime: 申请时间。
998
+ # 注意:此字段可能返回 null,表示取不到有效值。
999
+ # @type InsertTime: String
1000
+ # @param OrderId: 订单 ID。
1001
+ # 注意:此字段可能返回 null,表示取不到有效值。
1002
+ # @type OrderId: String
1003
+ # @param CertificateExtra: 证书扩展信息。
1004
+ # 注意:此字段可能返回 null,表示取不到有效值。
1005
+ # @type CertificateExtra: :class:`Tencentcloud::Ssl.v20191205.models.CertificateExtra`
1006
+ # @param DvAuthDetail: DV 认证信息。
1007
+ # 注意:此字段可能返回 null,表示取不到有效值。
1008
+ # @type DvAuthDetail: :class:`Tencentcloud::Ssl.v20191205.models.DvAuthDetail`
1009
+ # @param VulnerabilityReport: 漏洞扫描评估报告。
1010
+ # 注意:此字段可能返回 null,表示取不到有效值。
1011
+ # @type VulnerabilityReport: String
1012
+ # @param CertificateId: 证书 ID。
1013
+ # 注意:此字段可能返回 null,表示取不到有效值。
1014
+ # @type CertificateId: String
1015
+ # @param PackageTypeName: 证书类型名称。
1016
+ # 注意:此字段可能返回 null,表示取不到有效值。
1017
+ # @type PackageTypeName: String
1018
+ # @param StatusName: 状态描述。
1019
+ # 注意:此字段可能返回 null,表示取不到有效值。
1020
+ # @type StatusName: String
1021
+ # @param SubjectAltName: 证书包含的多个域名(包含主域名)。
1022
+ # 注意:此字段可能返回 null,表示取不到有效值。
1023
+ # @type SubjectAltName: Array
1024
+ # @param IsVip: 是否为 VIP 客户。
1025
+ # 注意:此字段可能返回 null,表示取不到有效值。
1026
+ # @type IsVip: Boolean
1027
+ # @param IsWildcard: 是否为泛域名证书。
1028
+ # 注意:此字段可能返回 null,表示取不到有效值。
1029
+ # @type IsWildcard: Boolean
1030
+ # @param IsDv: 是否为 DV 版证书。
1031
+ # 注意:此字段可能返回 null,表示取不到有效值。
1032
+ # @type IsDv: Boolean
1033
+ # @param IsVulnerability: 是否启用了漏洞扫描功能。
1034
+ # 注意:此字段可能返回 null,表示取不到有效值。
1035
+ # @type IsVulnerability: Boolean
1036
+ # @param RenewAble: 是否可重颁发证书。
1037
+ # 注意:此字段可能返回 null,表示取不到有效值。
1038
+ # @type RenewAble: Boolean
1039
+ # @param SubmittedData: 提交的资料信息。
1040
+ # 注意:此字段可能返回 null,表示取不到有效值。
1041
+ # @type SubmittedData: :class:`Tencentcloud::Ssl.v20191205.models.SubmittedData`
1042
+ # @param Deployable: 是否可部署。
1043
+ # 注意:此字段可能返回 null,表示取不到有效值。
1044
+ # @type Deployable: Boolean
1045
+ # @param Tags: 标签列表
1046
+ # 注意:此字段可能返回 null,表示取不到有效值。
1047
+ # @type Tags: Array
1048
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1049
+ # @type RequestId: String
1050
+
1051
+ attr_accessor :OwnerUin, :ProjectId, :From, :CertificateType, :PackageType, :ProductZhName, :Domain, :Alias, :Status, :StatusMsg, :VerifyType, :VulnerabilityStatus, :CertBeginTime, :CertEndTime, :ValidityPeriod, :InsertTime, :OrderId, :CertificateExtra, :DvAuthDetail, :VulnerabilityReport, :CertificateId, :PackageTypeName, :StatusName, :SubjectAltName, :IsVip, :IsWildcard, :IsDv, :IsVulnerability, :RenewAble, :SubmittedData, :Deployable, :Tags, :RequestId
1052
+
1053
+ def initialize(owneruin=nil, projectid=nil, from=nil, certificatetype=nil, packagetype=nil, productzhname=nil, domain=nil, _alias=nil, status=nil, statusmsg=nil, verifytype=nil, vulnerabilitystatus=nil, certbegintime=nil, certendtime=nil, validityperiod=nil, inserttime=nil, orderid=nil, certificateextra=nil, dvauthdetail=nil, vulnerabilityreport=nil, certificateid=nil, packagetypename=nil, statusname=nil, subjectaltname=nil, isvip=nil, iswildcard=nil, isdv=nil, isvulnerability=nil, renewable=nil, submitteddata=nil, deployable=nil, tags=nil, requestid=nil)
1054
+ @OwnerUin = owneruin
1055
+ @ProjectId = projectid
1056
+ @From = from
1057
+ @CertificateType = certificatetype
1058
+ @PackageType = packagetype
1059
+ @ProductZhName = productzhname
1060
+ @Domain = domain
1061
+ @Alias = _alias
1062
+ @Status = status
1063
+ @StatusMsg = statusmsg
1064
+ @VerifyType = verifytype
1065
+ @VulnerabilityStatus = vulnerabilitystatus
1066
+ @CertBeginTime = certbegintime
1067
+ @CertEndTime = certendtime
1068
+ @ValidityPeriod = validityperiod
1069
+ @InsertTime = inserttime
1070
+ @OrderId = orderid
1071
+ @CertificateExtra = certificateextra
1072
+ @DvAuthDetail = dvauthdetail
1073
+ @VulnerabilityReport = vulnerabilityreport
1074
+ @CertificateId = certificateid
1075
+ @PackageTypeName = packagetypename
1076
+ @StatusName = statusname
1077
+ @SubjectAltName = subjectaltname
1078
+ @IsVip = isvip
1079
+ @IsWildcard = iswildcard
1080
+ @IsDv = isdv
1081
+ @IsVulnerability = isvulnerability
1082
+ @RenewAble = renewable
1083
+ @SubmittedData = submitteddata
1084
+ @Deployable = deployable
1085
+ @Tags = tags
1086
+ @RequestId = requestid
1087
+ end
1088
+
1089
+ def deserialize(params)
1090
+ @OwnerUin = params['OwnerUin']
1091
+ @ProjectId = params['ProjectId']
1092
+ @From = params['From']
1093
+ @CertificateType = params['CertificateType']
1094
+ @PackageType = params['PackageType']
1095
+ @ProductZhName = params['ProductZhName']
1096
+ @Domain = params['Domain']
1097
+ @Alias = params['Alias']
1098
+ @Status = params['Status']
1099
+ @StatusMsg = params['StatusMsg']
1100
+ @VerifyType = params['VerifyType']
1101
+ @VulnerabilityStatus = params['VulnerabilityStatus']
1102
+ @CertBeginTime = params['CertBeginTime']
1103
+ @CertEndTime = params['CertEndTime']
1104
+ @ValidityPeriod = params['ValidityPeriod']
1105
+ @InsertTime = params['InsertTime']
1106
+ @OrderId = params['OrderId']
1107
+ unless params['CertificateExtra'].nil?
1108
+ @CertificateExtra = CertificateExtra.new
1109
+ @CertificateExtra.deserialize(params['CertificateExtra'])
1110
+ end
1111
+ unless params['DvAuthDetail'].nil?
1112
+ @DvAuthDetail = DvAuthDetail.new
1113
+ @DvAuthDetail.deserialize(params['DvAuthDetail'])
1114
+ end
1115
+ @VulnerabilityReport = params['VulnerabilityReport']
1116
+ @CertificateId = params['CertificateId']
1117
+ @PackageTypeName = params['PackageTypeName']
1118
+ @StatusName = params['StatusName']
1119
+ @SubjectAltName = params['SubjectAltName']
1120
+ @IsVip = params['IsVip']
1121
+ @IsWildcard = params['IsWildcard']
1122
+ @IsDv = params['IsDv']
1123
+ @IsVulnerability = params['IsVulnerability']
1124
+ @RenewAble = params['RenewAble']
1125
+ unless params['SubmittedData'].nil?
1126
+ @SubmittedData = SubmittedData.new
1127
+ @SubmittedData.deserialize(params['SubmittedData'])
1128
+ end
1129
+ @Deployable = params['Deployable']
1130
+ unless params['Tags'].nil?
1131
+ @Tags = []
1132
+ params['Tags'].each do |i|
1133
+ tags_tmp = Tags.new
1134
+ tags_tmp.deserialize(i)
1135
+ @Tags << tags_tmp
1136
+ end
1137
+ end
1138
+ @RequestId = params['RequestId']
1139
+ end
1140
+ end
1141
+
1142
+ # DescribeCertificates请求参数结构体
1143
+ class DescribeCertificatesRequest < TencentCloud::Common::AbstractModel
1144
+ # @param Offset: 分页偏移量,从0开始。
1145
+ # @type Offset: Integer
1146
+ # @param Limit: 每页数量,默认20。
1147
+ # @type Limit: Integer
1148
+ # @param SearchKey: 搜索关键词,可搜索证书 ID、备注名称、域名。例如: a8xHcaIs。
1149
+ # @type SearchKey: String
1150
+ # @param CertificateType: 证书类型:CA = 客户端证书,SVR = 服务器证书。
1151
+ # @type CertificateType: String
1152
+ # @param ProjectId: 项目 ID。
1153
+ # @type ProjectId: Integer
1154
+ # @param ExpirationSort: 按到期时间排序:DESC = 降序, ASC = 升序。
1155
+ # @type ExpirationSort: String
1156
+ # @param CertificateStatus: 证书状态。
1157
+ # @type CertificateStatus: Array
1158
+ # @param Deployable: 是否可部署,可选值:1 = 可部署,0 = 不可部署。
1159
+ # @type Deployable: Integer
1160
+ # @param Upload: 是否筛选上传托管的 1筛选,0不筛选
1161
+ # @type Upload: Integer
1162
+ # @param Renew: 是否筛选可续期证书 1筛选 0不筛选
1163
+ # @type Renew: Integer
1164
+
1165
+ attr_accessor :Offset, :Limit, :SearchKey, :CertificateType, :ProjectId, :ExpirationSort, :CertificateStatus, :Deployable, :Upload, :Renew
1166
+
1167
+ def initialize(offset=nil, limit=nil, searchkey=nil, certificatetype=nil, projectid=nil, expirationsort=nil, certificatestatus=nil, deployable=nil, upload=nil, renew=nil)
1168
+ @Offset = offset
1169
+ @Limit = limit
1170
+ @SearchKey = searchkey
1171
+ @CertificateType = certificatetype
1172
+ @ProjectId = projectid
1173
+ @ExpirationSort = expirationsort
1174
+ @CertificateStatus = certificatestatus
1175
+ @Deployable = deployable
1176
+ @Upload = upload
1177
+ @Renew = renew
1178
+ end
1179
+
1180
+ def deserialize(params)
1181
+ @Offset = params['Offset']
1182
+ @Limit = params['Limit']
1183
+ @SearchKey = params['SearchKey']
1184
+ @CertificateType = params['CertificateType']
1185
+ @ProjectId = params['ProjectId']
1186
+ @ExpirationSort = params['ExpirationSort']
1187
+ @CertificateStatus = params['CertificateStatus']
1188
+ @Deployable = params['Deployable']
1189
+ @Upload = params['Upload']
1190
+ @Renew = params['Renew']
1191
+ end
1192
+ end
1193
+
1194
+ # DescribeCertificates返回参数结构体
1195
+ class DescribeCertificatesResponse < TencentCloud::Common::AbstractModel
1196
+ # @param TotalCount: 总数量。
1197
+ # 注意:此字段可能返回 null,表示取不到有效值。
1198
+ # @type TotalCount: Integer
1199
+ # @param Certificates: 列表。
1200
+ # 注意:此字段可能返回 null,表示取不到有效值。
1201
+ # @type Certificates: Array
1202
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1203
+ # @type RequestId: String
1204
+
1205
+ attr_accessor :TotalCount, :Certificates, :RequestId
1206
+
1207
+ def initialize(totalcount=nil, certificates=nil, requestid=nil)
1208
+ @TotalCount = totalcount
1209
+ @Certificates = certificates
1210
+ @RequestId = requestid
1211
+ end
1212
+
1213
+ def deserialize(params)
1214
+ @TotalCount = params['TotalCount']
1215
+ unless params['Certificates'].nil?
1216
+ @Certificates = []
1217
+ params['Certificates'].each do |i|
1218
+ certificates_tmp = Certificates.new
1219
+ certificates_tmp.deserialize(i)
1220
+ @Certificates << certificates_tmp
1221
+ end
1222
+ end
1223
+ @RequestId = params['RequestId']
1224
+ end
1225
+ end
1226
+
1227
+ # DescribeDeployedResources请求参数结构体
1228
+ class DescribeDeployedResourcesRequest < TencentCloud::Common::AbstractModel
1229
+ # @param CertificateIds: 证书ID
1230
+ # @type CertificateIds: Array
1231
+ # @param ResourceType: 资源类型:clb,cdn,live,waf,antiddos
1232
+ # @type ResourceType: String
1233
+
1234
+ attr_accessor :CertificateIds, :ResourceType
1235
+
1236
+ def initialize(certificateids=nil, resourcetype=nil)
1237
+ @CertificateIds = certificateids
1238
+ @ResourceType = resourcetype
1239
+ end
1240
+
1241
+ def deserialize(params)
1242
+ @CertificateIds = params['CertificateIds']
1243
+ @ResourceType = params['ResourceType']
1244
+ end
1245
+ end
1246
+
1247
+ # DescribeDeployedResources返回参数结构体
1248
+ class DescribeDeployedResourcesResponse < TencentCloud::Common::AbstractModel
1249
+ # @param DeployedResources: 资源详情
1250
+ # @type DeployedResources: Array
1251
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1252
+ # @type RequestId: String
1253
+
1254
+ attr_accessor :DeployedResources, :RequestId
1255
+
1256
+ def initialize(deployedresources=nil, requestid=nil)
1257
+ @DeployedResources = deployedresources
1258
+ @RequestId = requestid
1259
+ end
1260
+
1261
+ def deserialize(params)
1262
+ unless params['DeployedResources'].nil?
1263
+ @DeployedResources = []
1264
+ params['DeployedResources'].each do |i|
1265
+ deployedresources_tmp = DeployedResources.new
1266
+ deployedresources_tmp.deserialize(i)
1267
+ @DeployedResources << deployedresources_tmp
1268
+ end
1269
+ end
1270
+ @RequestId = params['RequestId']
1271
+ end
1272
+ end
1273
+
1274
+ # DescribeManagerDetail请求参数结构体
1275
+ class DescribeManagerDetailRequest < TencentCloud::Common::AbstractModel
1276
+ # @param ManagerId: 管理人ID
1277
+ # @type ManagerId: Integer
1278
+ # @param Limit: 分页每页数量
1279
+ # @type Limit: Integer
1280
+ # @param Offset: 分页偏移量
1281
+ # @type Offset: Integer
1282
+
1283
+ attr_accessor :ManagerId, :Limit, :Offset
1284
+
1285
+ def initialize(managerid=nil, limit=nil, offset=nil)
1286
+ @ManagerId = managerid
1287
+ @Limit = limit
1288
+ @Offset = offset
1289
+ end
1290
+
1291
+ def deserialize(params)
1292
+ @ManagerId = params['ManagerId']
1293
+ @Limit = params['Limit']
1294
+ @Offset = params['Offset']
1295
+ end
1296
+ end
1297
+
1298
+ # DescribeManagerDetail返回参数结构体
1299
+ class DescribeManagerDetailResponse < TencentCloud::Common::AbstractModel
1300
+ # @param Status: 状态: audit: 审核中 ok: 审核通过 invalid: 失效 expiring: 即将过期 expired: 已过期
1301
+ # @type Status: String
1302
+ # @param ManagerFirstName: 管理人姓名
1303
+ # @type ManagerFirstName: String
1304
+ # @param ManagerMail: 管理人邮箱
1305
+ # @type ManagerMail: String
1306
+ # @param ContactFirstName: 联系人姓名
1307
+ # @type ContactFirstName: String
1308
+ # @param ManagerLastName: 管理人姓名
1309
+ # @type ManagerLastName: String
1310
+ # @param ContactPosition: 联系人职位
1311
+ # @type ContactPosition: String
1312
+ # @param ManagerPosition: 管理人职位
1313
+ # @type ManagerPosition: String
1314
+ # @param VerifyTime: 核验通过时间
1315
+ # 注意:此字段可能返回 null,表示取不到有效值。
1316
+ # @type VerifyTime: String
1317
+ # @param CreateTime: 创建时间
1318
+ # @type CreateTime: String
1319
+ # @param ExpireTime: 核验过期时间
1320
+ # 注意:此字段可能返回 null,表示取不到有效值。
1321
+ # @type ExpireTime: String
1322
+ # @param ContactLastName: 联系人姓名
1323
+ # @type ContactLastName: String
1324
+ # @param ManagerPhone: 管理人电话
1325
+ # @type ManagerPhone: String
1326
+ # @param ContactPhone: 联系人电话
1327
+ # @type ContactPhone: String
1328
+ # @param ContactMail: 联系人邮箱
1329
+ # @type ContactMail: String
1330
+ # @param ManagerDepartment: 管理人所属部门
1331
+ # @type ManagerDepartment: String
1332
+ # @param CompanyInfo: 管理人所属公司信息
1333
+ # @type CompanyInfo: :class:`Tencentcloud::Ssl.v20191205.models.CompanyInfo`
1334
+ # @param CompanyId: 管理人公司ID
1335
+ # @type CompanyId: Integer
1336
+ # @param ManagerId: 管理人ID
1337
+ # @type ManagerId: Integer
1338
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1339
+ # @type RequestId: String
1340
+
1341
+ attr_accessor :Status, :ManagerFirstName, :ManagerMail, :ContactFirstName, :ManagerLastName, :ContactPosition, :ManagerPosition, :VerifyTime, :CreateTime, :ExpireTime, :ContactLastName, :ManagerPhone, :ContactPhone, :ContactMail, :ManagerDepartment, :CompanyInfo, :CompanyId, :ManagerId, :RequestId
1342
+
1343
+ def initialize(status=nil, managerfirstname=nil, managermail=nil, contactfirstname=nil, managerlastname=nil, contactposition=nil, managerposition=nil, verifytime=nil, createtime=nil, expiretime=nil, contactlastname=nil, managerphone=nil, contactphone=nil, contactmail=nil, managerdepartment=nil, companyinfo=nil, companyid=nil, managerid=nil, requestid=nil)
1344
+ @Status = status
1345
+ @ManagerFirstName = managerfirstname
1346
+ @ManagerMail = managermail
1347
+ @ContactFirstName = contactfirstname
1348
+ @ManagerLastName = managerlastname
1349
+ @ContactPosition = contactposition
1350
+ @ManagerPosition = managerposition
1351
+ @VerifyTime = verifytime
1352
+ @CreateTime = createtime
1353
+ @ExpireTime = expiretime
1354
+ @ContactLastName = contactlastname
1355
+ @ManagerPhone = managerphone
1356
+ @ContactPhone = contactphone
1357
+ @ContactMail = contactmail
1358
+ @ManagerDepartment = managerdepartment
1359
+ @CompanyInfo = companyinfo
1360
+ @CompanyId = companyid
1361
+ @ManagerId = managerid
1362
+ @RequestId = requestid
1363
+ end
1364
+
1365
+ def deserialize(params)
1366
+ @Status = params['Status']
1367
+ @ManagerFirstName = params['ManagerFirstName']
1368
+ @ManagerMail = params['ManagerMail']
1369
+ @ContactFirstName = params['ContactFirstName']
1370
+ @ManagerLastName = params['ManagerLastName']
1371
+ @ContactPosition = params['ContactPosition']
1372
+ @ManagerPosition = params['ManagerPosition']
1373
+ @VerifyTime = params['VerifyTime']
1374
+ @CreateTime = params['CreateTime']
1375
+ @ExpireTime = params['ExpireTime']
1376
+ @ContactLastName = params['ContactLastName']
1377
+ @ManagerPhone = params['ManagerPhone']
1378
+ @ContactPhone = params['ContactPhone']
1379
+ @ContactMail = params['ContactMail']
1380
+ @ManagerDepartment = params['ManagerDepartment']
1381
+ unless params['CompanyInfo'].nil?
1382
+ @CompanyInfo = CompanyInfo.new
1383
+ @CompanyInfo.deserialize(params['CompanyInfo'])
1384
+ end
1385
+ @CompanyId = params['CompanyId']
1386
+ @ManagerId = params['ManagerId']
1387
+ @RequestId = params['RequestId']
1388
+ end
1389
+ end
1390
+
1391
+ # DescribeManagers请求参数结构体
1392
+ class DescribeManagersRequest < TencentCloud::Common::AbstractModel
1393
+ # @param CompanyId: 公司ID
1394
+ # @type CompanyId: Integer
1395
+ # @param Offset: 分页偏移量
1396
+ # @type Offset: Integer
1397
+ # @param Limit: 分页每页数量
1398
+ # @type Limit: Integer
1399
+ # @param ManagerName: 管理人姓名
1400
+ # @type ManagerName: String
1401
+ # @param ManagerMail: 模糊查询管理人邮箱
1402
+ # @type ManagerMail: String
1403
+ # @param Status: 根据管理人状态进行筛选,取值有
1404
+ # 'none' 未提交审核
1405
+ # 'audit', 亚信审核中
1406
+ # 'CAaudit' CA审核中
1407
+ # 'ok' 已审核
1408
+ # 'invalid' 审核失败
1409
+ # 'expiring' 即将过期
1410
+ # 'expired' 已过期
1411
+ # @type Status: String
1412
+ # @param SearchKey: 管理人姓名/邮箱/部门精准匹配
1413
+ # @type SearchKey: String
1414
+
1415
+ attr_accessor :CompanyId, :Offset, :Limit, :ManagerName, :ManagerMail, :Status, :SearchKey
1416
+
1417
+ def initialize(companyid=nil, offset=nil, limit=nil, managername=nil, managermail=nil, status=nil, searchkey=nil)
1418
+ @CompanyId = companyid
1419
+ @Offset = offset
1420
+ @Limit = limit
1421
+ @ManagerName = managername
1422
+ @ManagerMail = managermail
1423
+ @Status = status
1424
+ @SearchKey = searchkey
1425
+ end
1426
+
1427
+ def deserialize(params)
1428
+ @CompanyId = params['CompanyId']
1429
+ @Offset = params['Offset']
1430
+ @Limit = params['Limit']
1431
+ @ManagerName = params['ManagerName']
1432
+ @ManagerMail = params['ManagerMail']
1433
+ @Status = params['Status']
1434
+ @SearchKey = params['SearchKey']
1435
+ end
1436
+ end
1437
+
1438
+ # DescribeManagers返回参数结构体
1439
+ class DescribeManagersResponse < TencentCloud::Common::AbstractModel
1440
+ # @param Managers: 公司管理人列表
1441
+ # @type Managers: Array
1442
+ # @param TotalCount: 公司管理人总数
1443
+ # @type TotalCount: Integer
1444
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1445
+ # @type RequestId: String
1446
+
1447
+ attr_accessor :Managers, :TotalCount, :RequestId
1448
+
1449
+ def initialize(managers=nil, totalcount=nil, requestid=nil)
1450
+ @Managers = managers
1451
+ @TotalCount = totalcount
1452
+ @RequestId = requestid
1453
+ end
1454
+
1455
+ def deserialize(params)
1456
+ unless params['Managers'].nil?
1457
+ @Managers = []
1458
+ params['Managers'].each do |i|
1459
+ managerinfo_tmp = ManagerInfo.new
1460
+ managerinfo_tmp.deserialize(i)
1461
+ @Managers << managerinfo_tmp
1462
+ end
1463
+ end
1464
+ @TotalCount = params['TotalCount']
1465
+ @RequestId = params['RequestId']
1466
+ end
1467
+ end
1468
+
1469
+ # DownloadCertificate请求参数结构体
1470
+ class DownloadCertificateRequest < TencentCloud::Common::AbstractModel
1471
+ # @param CertificateId: 证书 ID。
1472
+ # @type CertificateId: String
1473
+
1474
+ attr_accessor :CertificateId
1475
+
1476
+ def initialize(certificateid=nil)
1477
+ @CertificateId = certificateid
1478
+ end
1479
+
1480
+ def deserialize(params)
1481
+ @CertificateId = params['CertificateId']
1482
+ end
1483
+ end
1484
+
1485
+ # DownloadCertificate返回参数结构体
1486
+ class DownloadCertificateResponse < TencentCloud::Common::AbstractModel
1487
+ # @param Content: ZIP base64 编码内容,base64 解码后可保存为 ZIP 文件。
1488
+ # 注意:此字段可能返回 null,表示取不到有效值。
1489
+ # @type Content: String
1490
+ # @param ContentType: MIME 类型:application/zip = ZIP 压缩文件。
1491
+ # 注意:此字段可能返回 null,表示取不到有效值。
1492
+ # @type ContentType: String
1493
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1494
+ # @type RequestId: String
1495
+
1496
+ attr_accessor :Content, :ContentType, :RequestId
1497
+
1498
+ def initialize(content=nil, contenttype=nil, requestid=nil)
1499
+ @Content = content
1500
+ @ContentType = contenttype
1501
+ @RequestId = requestid
1502
+ end
1503
+
1504
+ def deserialize(params)
1505
+ @Content = params['Content']
1506
+ @ContentType = params['ContentType']
1507
+ @RequestId = params['RequestId']
1508
+ end
1509
+ end
1510
+
1511
+ # 获取证书列表(DescribeCertificate)返回参数键为 DvAuthDetail 的内容。
1512
+ class DvAuthDetail < TencentCloud::Common::AbstractModel
1513
+ # @param DvAuthKey: DV 认证密钥。
1514
+ # 注意:此字段可能返回 null,表示取不到有效值。
1515
+ # @type DvAuthKey: String
1516
+ # @param DvAuthValue: DV 认证值。
1517
+ # 注意:此字段可能返回 null,表示取不到有效值。
1518
+ # @type DvAuthValue: String
1519
+ # @param DvAuthDomain: DV 认证值域名。
1520
+ # 注意:此字段可能返回 null,表示取不到有效值。
1521
+ # @type DvAuthDomain: String
1522
+ # @param DvAuthPath: DV 认证值路径。
1523
+ # 注意:此字段可能返回 null,表示取不到有效值。
1524
+ # @type DvAuthPath: String
1525
+ # @param DvAuthKeySubDomain: DV 认证子域名。
1526
+ # 注意:此字段可能返回 null,表示取不到有效值。
1527
+ # @type DvAuthKeySubDomain: String
1528
+ # @param DvAuths: DV 认证信息。
1529
+ # 注意:此字段可能返回 null,表示取不到有效值。
1530
+ # @type DvAuths: Array
1531
+
1532
+ attr_accessor :DvAuthKey, :DvAuthValue, :DvAuthDomain, :DvAuthPath, :DvAuthKeySubDomain, :DvAuths
1533
+
1534
+ def initialize(dvauthkey=nil, dvauthvalue=nil, dvauthdomain=nil, dvauthpath=nil, dvauthkeysubdomain=nil, dvauths=nil)
1535
+ @DvAuthKey = dvauthkey
1536
+ @DvAuthValue = dvauthvalue
1537
+ @DvAuthDomain = dvauthdomain
1538
+ @DvAuthPath = dvauthpath
1539
+ @DvAuthKeySubDomain = dvauthkeysubdomain
1540
+ @DvAuths = dvauths
1541
+ end
1542
+
1543
+ def deserialize(params)
1544
+ @DvAuthKey = params['DvAuthKey']
1545
+ @DvAuthValue = params['DvAuthValue']
1546
+ @DvAuthDomain = params['DvAuthDomain']
1547
+ @DvAuthPath = params['DvAuthPath']
1548
+ @DvAuthKeySubDomain = params['DvAuthKeySubDomain']
1549
+ unless params['DvAuths'].nil?
1550
+ @DvAuths = []
1551
+ params['DvAuths'].each do |i|
1552
+ dvauths_tmp = DvAuths.new
1553
+ dvauths_tmp.deserialize(i)
1554
+ @DvAuths << dvauths_tmp
1555
+ end
1556
+ end
1557
+ end
1558
+ end
1559
+
1560
+ # 返回参数键为 DvAuths 的内容。
1561
+ class DvAuths < TencentCloud::Common::AbstractModel
1562
+ # @param DvAuthKey: DV 认证密钥。
1563
+ # 注意:此字段可能返回 null,表示取不到有效值。
1564
+ # @type DvAuthKey: String
1565
+ # @param DvAuthValue: DV 认证值。
1566
+ # 注意:此字段可能返回 null,表示取不到有效值。
1567
+ # @type DvAuthValue: String
1568
+ # @param DvAuthDomain: DV 认证值域名。
1569
+ # 注意:此字段可能返回 null,表示取不到有效值。
1570
+ # @type DvAuthDomain: String
1571
+ # @param DvAuthPath: DV 认证值路径。
1572
+ # 注意:此字段可能返回 null,表示取不到有效值。
1573
+ # @type DvAuthPath: String
1574
+ # @param DvAuthSubDomain: DV 认证子域名,
1575
+ # 注意:此字段可能返回 null,表示取不到有效值。
1576
+ # @type DvAuthSubDomain: String
1577
+ # @param DvAuthVerifyType: DV 认证类型。
1578
+ # 注意:此字段可能返回 null,表示取不到有效值。
1579
+ # @type DvAuthVerifyType: String
1580
+
1581
+ attr_accessor :DvAuthKey, :DvAuthValue, :DvAuthDomain, :DvAuthPath, :DvAuthSubDomain, :DvAuthVerifyType
1582
+
1583
+ def initialize(dvauthkey=nil, dvauthvalue=nil, dvauthdomain=nil, dvauthpath=nil, dvauthsubdomain=nil, dvauthverifytype=nil)
1584
+ @DvAuthKey = dvauthkey
1585
+ @DvAuthValue = dvauthvalue
1586
+ @DvAuthDomain = dvauthdomain
1587
+ @DvAuthPath = dvauthpath
1588
+ @DvAuthSubDomain = dvauthsubdomain
1589
+ @DvAuthVerifyType = dvauthverifytype
1590
+ end
1591
+
1592
+ def deserialize(params)
1593
+ @DvAuthKey = params['DvAuthKey']
1594
+ @DvAuthValue = params['DvAuthValue']
1595
+ @DvAuthDomain = params['DvAuthDomain']
1596
+ @DvAuthPath = params['DvAuthPath']
1597
+ @DvAuthSubDomain = params['DvAuthSubDomain']
1598
+ @DvAuthVerifyType = params['DvAuthVerifyType']
1599
+ end
1600
+ end
1601
+
1602
+ # 管理人信息
1603
+ class ManagerInfo < TencentCloud::Common::AbstractModel
1604
+ # @param Status: 状态: audit: 审核中 ok: 审核通过 invalid: 失效 expiring: 即将过期 expired: 已过期
1605
+ # @type Status: String
1606
+ # @param ManagerFirstName: 管理人姓名
1607
+ # @type ManagerFirstName: String
1608
+ # @param ManagerLastName: 管理人姓名
1609
+ # @type ManagerLastName: String
1610
+ # @param ManagerPosition: 管理人职位
1611
+ # @type ManagerPosition: String
1612
+ # @param ManagerPhone: 管理人电话
1613
+ # @type ManagerPhone: String
1614
+ # @param ManagerMail: 管理人邮箱
1615
+ # @type ManagerMail: String
1616
+ # @param ManagerDepartment: 管理人所属部门
1617
+ # @type ManagerDepartment: String
1618
+ # @param CreateTime: 创建时间
1619
+ # 注意:此字段可能返回 null,表示取不到有效值。
1620
+ # @type CreateTime: String
1621
+ # @param DomainCount: 管理人域名数量
1622
+ # @type DomainCount: Integer
1623
+ # @param CertCount: 管理人证书数量
1624
+ # @type CertCount: Integer
1625
+ # @param ManagerId: 管理人ID
1626
+ # @type ManagerId: Integer
1627
+ # @param ExpireTime: 审核有效到期时间
1628
+ # 注意:此字段可能返回 null,表示取不到有效值。
1629
+ # @type ExpireTime: String
1630
+ # @param SubmitAuditTime: 最近一次提交审核时间
1631
+ # 注意:此字段可能返回 null,表示取不到有效值。
1632
+ # @type SubmitAuditTime: String
1633
+ # @param VerifyTime: 审核通过时间
1634
+ # 注意:此字段可能返回 null,表示取不到有效值。
1635
+ # @type VerifyTime: String
1636
+ # @param StatusInfo: 具体审核状态信息
1637
+ # 注意:此字段可能返回 null,表示取不到有效值。
1638
+ # @type StatusInfo: Array
1639
+
1640
+ attr_accessor :Status, :ManagerFirstName, :ManagerLastName, :ManagerPosition, :ManagerPhone, :ManagerMail, :ManagerDepartment, :CreateTime, :DomainCount, :CertCount, :ManagerId, :ExpireTime, :SubmitAuditTime, :VerifyTime, :StatusInfo
1641
+
1642
+ def initialize(status=nil, managerfirstname=nil, managerlastname=nil, managerposition=nil, managerphone=nil, managermail=nil, managerdepartment=nil, createtime=nil, domaincount=nil, certcount=nil, managerid=nil, expiretime=nil, submitaudittime=nil, verifytime=nil, statusinfo=nil)
1643
+ @Status = status
1644
+ @ManagerFirstName = managerfirstname
1645
+ @ManagerLastName = managerlastname
1646
+ @ManagerPosition = managerposition
1647
+ @ManagerPhone = managerphone
1648
+ @ManagerMail = managermail
1649
+ @ManagerDepartment = managerdepartment
1650
+ @CreateTime = createtime
1651
+ @DomainCount = domaincount
1652
+ @CertCount = certcount
1653
+ @ManagerId = managerid
1654
+ @ExpireTime = expiretime
1655
+ @SubmitAuditTime = submitaudittime
1656
+ @VerifyTime = verifytime
1657
+ @StatusInfo = statusinfo
1658
+ end
1659
+
1660
+ def deserialize(params)
1661
+ @Status = params['Status']
1662
+ @ManagerFirstName = params['ManagerFirstName']
1663
+ @ManagerLastName = params['ManagerLastName']
1664
+ @ManagerPosition = params['ManagerPosition']
1665
+ @ManagerPhone = params['ManagerPhone']
1666
+ @ManagerMail = params['ManagerMail']
1667
+ @ManagerDepartment = params['ManagerDepartment']
1668
+ @CreateTime = params['CreateTime']
1669
+ @DomainCount = params['DomainCount']
1670
+ @CertCount = params['CertCount']
1671
+ @ManagerId = params['ManagerId']
1672
+ @ExpireTime = params['ExpireTime']
1673
+ @SubmitAuditTime = params['SubmitAuditTime']
1674
+ @VerifyTime = params['VerifyTime']
1675
+ unless params['StatusInfo'].nil?
1676
+ @StatusInfo = []
1677
+ params['StatusInfo'].each do |i|
1678
+ managerstatusinfo_tmp = ManagerStatusInfo.new
1679
+ managerstatusinfo_tmp.deserialize(i)
1680
+ @StatusInfo << managerstatusinfo_tmp
1681
+ end
1682
+ end
1683
+ end
1684
+ end
1685
+
1686
+ # 管理人的四种审核状态
1687
+ class ManagerStatusInfo < TencentCloud::Common::AbstractModel
1688
+
1689
+
1690
+ def initialize()
1691
+ end
1692
+
1693
+ def deserialize(params)
1694
+ end
1695
+ end
1696
+
1697
+ # ModifyCertificateAlias请求参数结构体
1698
+ class ModifyCertificateAliasRequest < TencentCloud::Common::AbstractModel
1699
+ # @param CertificateId: 证书 ID。
1700
+ # @type CertificateId: String
1701
+ # @param Alias: 备注名称。
1702
+ # @type Alias: String
1703
+
1704
+ attr_accessor :CertificateId, :Alias
1705
+
1706
+ def initialize(certificateid=nil, _alias=nil)
1707
+ @CertificateId = certificateid
1708
+ @Alias = _alias
1709
+ end
1710
+
1711
+ def deserialize(params)
1712
+ @CertificateId = params['CertificateId']
1713
+ @Alias = params['Alias']
1714
+ end
1715
+ end
1716
+
1717
+ # ModifyCertificateAlias返回参数结构体
1718
+ class ModifyCertificateAliasResponse < TencentCloud::Common::AbstractModel
1719
+ # @param CertificateId: 修改成功的证书 ID。
1720
+ # @type CertificateId: String
1721
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1722
+ # @type RequestId: String
1723
+
1724
+ attr_accessor :CertificateId, :RequestId
1725
+
1726
+ def initialize(certificateid=nil, requestid=nil)
1727
+ @CertificateId = certificateid
1728
+ @RequestId = requestid
1729
+ end
1730
+
1731
+ def deserialize(params)
1732
+ @CertificateId = params['CertificateId']
1733
+ @RequestId = params['RequestId']
1734
+ end
1735
+ end
1736
+
1737
+ # ModifyCertificateProject请求参数结构体
1738
+ class ModifyCertificateProjectRequest < TencentCloud::Common::AbstractModel
1739
+ # @param CertificateIdList: 需要修改所属项目的证书 ID 集合,最多100个证书。
1740
+ # @type CertificateIdList: Array
1741
+ # @param ProjectId: 项目 ID。
1742
+ # @type ProjectId: Integer
1743
+
1744
+ attr_accessor :CertificateIdList, :ProjectId
1745
+
1746
+ def initialize(certificateidlist=nil, projectid=nil)
1747
+ @CertificateIdList = certificateidlist
1748
+ @ProjectId = projectid
1749
+ end
1750
+
1751
+ def deserialize(params)
1752
+ @CertificateIdList = params['CertificateIdList']
1753
+ @ProjectId = params['ProjectId']
1754
+ end
1755
+ end
1756
+
1757
+ # ModifyCertificateProject返回参数结构体
1758
+ class ModifyCertificateProjectResponse < TencentCloud::Common::AbstractModel
1759
+ # @param SuccessCertificates: 修改所属项目成功的证书集合。
1760
+ # 注意:此字段可能返回 null,表示取不到有效值。
1761
+ # @type SuccessCertificates: Array
1762
+ # @param FailCertificates: 修改所属项目失败的证书集合。
1763
+ # 注意:此字段可能返回 null,表示取不到有效值。
1764
+ # @type FailCertificates: Array
1765
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1766
+ # @type RequestId: String
1767
+
1768
+ attr_accessor :SuccessCertificates, :FailCertificates, :RequestId
1769
+
1770
+ def initialize(successcertificates=nil, failcertificates=nil, requestid=nil)
1771
+ @SuccessCertificates = successcertificates
1772
+ @FailCertificates = failcertificates
1773
+ @RequestId = requestid
1774
+ end
1775
+
1776
+ def deserialize(params)
1777
+ @SuccessCertificates = params['SuccessCertificates']
1778
+ @FailCertificates = params['FailCertificates']
1779
+ @RequestId = params['RequestId']
1780
+ end
1781
+ end
1782
+
1783
+ # 证书操作日志。
1784
+ class OperationLog < TencentCloud::Common::AbstractModel
1785
+ # @param Action: 操作证书动作。
1786
+ # @type Action: String
1787
+ # @param CreatedOn: 操作时间。
1788
+ # @type CreatedOn: String
1789
+
1790
+ attr_accessor :Action, :CreatedOn
1791
+
1792
+ def initialize(action=nil, createdon=nil)
1793
+ @Action = action
1794
+ @CreatedOn = createdon
1795
+ end
1796
+
1797
+ def deserialize(params)
1798
+ @Action = params['Action']
1799
+ @CreatedOn = params['CreatedOn']
1800
+ end
1801
+ end
1802
+
1803
+ # 获取证书列表(DescribeCertificates)返回参数键为 Certificates 下,key为 ProjectInfo 的内容。
1804
+ class ProjectInfo < TencentCloud::Common::AbstractModel
1805
+ # @param ProjectName: 项目名称。
1806
+ # 注意:此字段可能返回 null,表示取不到有效值。
1807
+ # @type ProjectName: String
1808
+ # @param ProjectCreatorUin: 项目创建用户 UIN。
1809
+ # 注意:此字段可能返回 null,表示取不到有效值。
1810
+ # @type ProjectCreatorUin: Integer
1811
+ # @param ProjectCreateTime: 项目创建时间。
1812
+ # 注意:此字段可能返回 null,表示取不到有效值。
1813
+ # @type ProjectCreateTime: String
1814
+ # @param ProjectResume: 项目信息简述。
1815
+ # 注意:此字段可能返回 null,表示取不到有效值。
1816
+ # @type ProjectResume: String
1817
+ # @param OwnerUin: 用户 UIN。
1818
+ # 注意:此字段可能返回 null,表示取不到有效值。
1819
+ # @type OwnerUin: Integer
1820
+ # @param ProjectId: 项目 ID。
1821
+ # 注意:此字段可能返回 null,表示取不到有效值。
1822
+ # @type ProjectId: String
1823
+
1824
+ attr_accessor :ProjectName, :ProjectCreatorUin, :ProjectCreateTime, :ProjectResume, :OwnerUin, :ProjectId
1825
+
1826
+ def initialize(projectname=nil, projectcreatoruin=nil, projectcreatetime=nil, projectresume=nil, owneruin=nil, projectid=nil)
1827
+ @ProjectName = projectname
1828
+ @ProjectCreatorUin = projectcreatoruin
1829
+ @ProjectCreateTime = projectcreatetime
1830
+ @ProjectResume = projectresume
1831
+ @OwnerUin = owneruin
1832
+ @ProjectId = projectid
1833
+ end
1834
+
1835
+ def deserialize(params)
1836
+ @ProjectName = params['ProjectName']
1837
+ @ProjectCreatorUin = params['ProjectCreatorUin']
1838
+ @ProjectCreateTime = params['ProjectCreateTime']
1839
+ @ProjectResume = params['ProjectResume']
1840
+ @OwnerUin = params['OwnerUin']
1841
+ @ProjectId = params['ProjectId']
1842
+ end
1843
+ end
1844
+
1845
+ # ReplaceCertificate请求参数结构体
1846
+ class ReplaceCertificateRequest < TencentCloud::Common::AbstractModel
1847
+ # @param CertificateId: 证书 ID。
1848
+ # @type CertificateId: String
1849
+ # @param ValidType: 验证类型:DNS_AUTO = 自动DNS验证(仅支持在腾讯云解析且解析状态正常的域名使用该验证类型),DNS = 手动DNS验证,FILE = 文件验证。
1850
+ # @type ValidType: String
1851
+ # @param CsrType: 类型,默认 Original。可选项:Original = 原证书 CSR,Upload = 手动上传,Online = 在线生成。
1852
+ # @type CsrType: String
1853
+ # @param CsrContent: CSR 内容。
1854
+ # @type CsrContent: String
1855
+ # @param CsrkeyPassword: KEY 密码。
1856
+ # @type CsrkeyPassword: String
1857
+ # @param Reason: 重颁发原因。
1858
+ # @type Reason: String
1859
+
1860
+ attr_accessor :CertificateId, :ValidType, :CsrType, :CsrContent, :CsrkeyPassword, :Reason
1861
+
1862
+ def initialize(certificateid=nil, validtype=nil, csrtype=nil, csrcontent=nil, csrkeypassword=nil, reason=nil)
1863
+ @CertificateId = certificateid
1864
+ @ValidType = validtype
1865
+ @CsrType = csrtype
1866
+ @CsrContent = csrcontent
1867
+ @CsrkeyPassword = csrkeypassword
1868
+ @Reason = reason
1869
+ end
1870
+
1871
+ def deserialize(params)
1872
+ @CertificateId = params['CertificateId']
1873
+ @ValidType = params['ValidType']
1874
+ @CsrType = params['CsrType']
1875
+ @CsrContent = params['CsrContent']
1876
+ @CsrkeyPassword = params['CsrkeyPassword']
1877
+ @Reason = params['Reason']
1878
+ end
1879
+ end
1880
+
1881
+ # ReplaceCertificate返回参数结构体
1882
+ class ReplaceCertificateResponse < TencentCloud::Common::AbstractModel
1883
+ # @param CertificateId: 证书 ID。
1884
+ # @type CertificateId: String
1885
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1886
+ # @type RequestId: String
1887
+
1888
+ attr_accessor :CertificateId, :RequestId
1889
+
1890
+ def initialize(certificateid=nil, requestid=nil)
1891
+ @CertificateId = certificateid
1892
+ @RequestId = requestid
1893
+ end
1894
+
1895
+ def deserialize(params)
1896
+ @CertificateId = params['CertificateId']
1897
+ @RequestId = params['RequestId']
1898
+ end
1899
+ end
1900
+
1901
+ # RevokeCertificate请求参数结构体
1902
+ class RevokeCertificateRequest < TencentCloud::Common::AbstractModel
1903
+ # @param CertificateId: 证书 ID。
1904
+ # @type CertificateId: String
1905
+ # @param Reason: 吊销证书原因。
1906
+ # @type Reason: String
1907
+
1908
+ attr_accessor :CertificateId, :Reason
1909
+
1910
+ def initialize(certificateid=nil, reason=nil)
1911
+ @CertificateId = certificateid
1912
+ @Reason = reason
1913
+ end
1914
+
1915
+ def deserialize(params)
1916
+ @CertificateId = params['CertificateId']
1917
+ @Reason = params['Reason']
1918
+ end
1919
+ end
1920
+
1921
+ # RevokeCertificate返回参数结构体
1922
+ class RevokeCertificateResponse < TencentCloud::Common::AbstractModel
1923
+ # @param RevokeDomainValidateAuths: 吊销证书域名验证信息。
1924
+ # 注意:此字段可能返回 null,表示取不到有效值。
1925
+ # @type RevokeDomainValidateAuths: Array
1926
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1927
+ # @type RequestId: String
1928
+
1929
+ attr_accessor :RevokeDomainValidateAuths, :RequestId
1930
+
1931
+ def initialize(revokedomainvalidateauths=nil, requestid=nil)
1932
+ @RevokeDomainValidateAuths = revokedomainvalidateauths
1933
+ @RequestId = requestid
1934
+ end
1935
+
1936
+ def deserialize(params)
1937
+ unless params['RevokeDomainValidateAuths'].nil?
1938
+ @RevokeDomainValidateAuths = []
1939
+ params['RevokeDomainValidateAuths'].each do |i|
1940
+ revokedomainvalidateauths_tmp = RevokeDomainValidateAuths.new
1941
+ revokedomainvalidateauths_tmp.deserialize(i)
1942
+ @RevokeDomainValidateAuths << revokedomainvalidateauths_tmp
1943
+ end
1944
+ end
1945
+ @RequestId = params['RequestId']
1946
+ end
1947
+ end
1948
+
1949
+ # 返回参数键为 RevokeDomainValidateAuths 的内容。
1950
+ class RevokeDomainValidateAuths < TencentCloud::Common::AbstractModel
1951
+ # @param DomainValidateAuthPath: DV 认证值路径。
1952
+ # 注意:此字段可能返回 null,表示取不到有效值。
1953
+ # @type DomainValidateAuthPath: String
1954
+ # @param DomainValidateAuthKey: DV 认证 KEY。
1955
+ # 注意:此字段可能返回 null,表示取不到有效值。
1956
+ # @type DomainValidateAuthKey: String
1957
+ # @param DomainValidateAuthValue: DV 认证值。
1958
+ # 注意:此字段可能返回 null,表示取不到有效值。
1959
+ # @type DomainValidateAuthValue: String
1960
+ # @param DomainValidateAuthDomain: DV 认证域名。
1961
+ # 注意:此字段可能返回 null,表示取不到有效值。
1962
+ # @type DomainValidateAuthDomain: String
1963
+
1964
+ attr_accessor :DomainValidateAuthPath, :DomainValidateAuthKey, :DomainValidateAuthValue, :DomainValidateAuthDomain
1965
+
1966
+ def initialize(domainvalidateauthpath=nil, domainvalidateauthkey=nil, domainvalidateauthvalue=nil, domainvalidateauthdomain=nil)
1967
+ @DomainValidateAuthPath = domainvalidateauthpath
1968
+ @DomainValidateAuthKey = domainvalidateauthkey
1969
+ @DomainValidateAuthValue = domainvalidateauthvalue
1970
+ @DomainValidateAuthDomain = domainvalidateauthdomain
1971
+ end
1972
+
1973
+ def deserialize(params)
1974
+ @DomainValidateAuthPath = params['DomainValidateAuthPath']
1975
+ @DomainValidateAuthKey = params['DomainValidateAuthKey']
1976
+ @DomainValidateAuthValue = params['DomainValidateAuthValue']
1977
+ @DomainValidateAuthDomain = params['DomainValidateAuthDomain']
1978
+ end
1979
+ end
1980
+
1981
+ # SubmitAuditManager请求参数结构体
1982
+ class SubmitAuditManagerRequest < TencentCloud::Common::AbstractModel
1983
+ # @param ManagerId: 管理人ID
1984
+ # @type ManagerId: Integer
1985
+
1986
+ attr_accessor :ManagerId
1987
+
1988
+ def initialize(managerid=nil)
1989
+ @ManagerId = managerid
1990
+ end
1991
+
1992
+ def deserialize(params)
1993
+ @ManagerId = params['ManagerId']
1994
+ end
1995
+ end
1996
+
1997
+ # SubmitAuditManager返回参数结构体
1998
+ class SubmitAuditManagerResponse < TencentCloud::Common::AbstractModel
1999
+ # @param ManagerId: 管理人ID
2000
+ # @type ManagerId: Integer
2001
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2002
+ # @type RequestId: String
2003
+
2004
+ attr_accessor :ManagerId, :RequestId
2005
+
2006
+ def initialize(managerid=nil, requestid=nil)
2007
+ @ManagerId = managerid
2008
+ @RequestId = requestid
2009
+ end
2010
+
2011
+ def deserialize(params)
2012
+ @ManagerId = params['ManagerId']
2013
+ @RequestId = params['RequestId']
2014
+ end
2015
+ end
2016
+
2017
+ # SubmitCertificateInformation请求参数结构体
2018
+ class SubmitCertificateInformationRequest < TencentCloud::Common::AbstractModel
2019
+ # @param CertificateId: 证书 ID。
2020
+ # @type CertificateId: String
2021
+ # @param CsrType: CSR 生成方式:online = 在线生成, parse = 手动上传。
2022
+ # @type CsrType: String
2023
+ # @param CsrContent: 上传的 CSR 内容。
2024
+ # @type CsrContent: String
2025
+ # @param CertificateDomain: 绑定证书的域名。
2026
+ # @type CertificateDomain: String
2027
+ # @param DomainList: 上传的域名数组(多域名证书可以上传)。
2028
+ # @type DomainList: Array
2029
+ # @param KeyPassword: 私钥密码(非必填)。
2030
+ # @type KeyPassword: String
2031
+ # @param OrganizationName: 公司名称。
2032
+ # @type OrganizationName: String
2033
+ # @param OrganizationDivision: 部门名称。
2034
+ # @type OrganizationDivision: String
2035
+ # @param OrganizationAddress: 公司详细地址。
2036
+ # @type OrganizationAddress: String
2037
+ # @param OrganizationCountry: 国家名称,如中国:CN 。
2038
+ # @type OrganizationCountry: String
2039
+ # @param OrganizationCity: 公司所在城市。
2040
+ # @type OrganizationCity: String
2041
+ # @param OrganizationRegion: 公司所在省份。
2042
+ # @type OrganizationRegion: String
2043
+ # @param PostalCode: 公司邮编。
2044
+ # @type PostalCode: String
2045
+ # @param PhoneAreaCode: 公司座机区号。
2046
+ # @type PhoneAreaCode: String
2047
+ # @param PhoneNumber: 公司座机号码。
2048
+ # @type PhoneNumber: String
2049
+ # @param VerifyType: 证书验证方式。验证类型:DNS_AUTO = 自动DNS验证(仅支持在腾讯云解析且解析状态正常的域名使用该验证类型),DNS = 手动DNS验证,FILE = 文件验证。
2050
+ # @type VerifyType: String
2051
+ # @param AdminFirstName: 管理人名。
2052
+ # @type AdminFirstName: String
2053
+ # @param AdminLastName: 管理人姓。
2054
+ # @type AdminLastName: String
2055
+ # @param AdminPhoneNum: 管理人手机号码。
2056
+ # @type AdminPhoneNum: String
2057
+ # @param AdminEmail: 管理人邮箱地址。
2058
+ # @type AdminEmail: String
2059
+ # @param AdminPosition: 管理人职位。
2060
+ # @type AdminPosition: String
2061
+ # @param ContactFirstName: 联系人名。
2062
+ # @type ContactFirstName: String
2063
+ # @param ContactLastName: 联系人姓。
2064
+ # @type ContactLastName: String
2065
+ # @param ContactEmail: 联系人邮箱地址。
2066
+ # @type ContactEmail: String
2067
+ # @param ContactNumber: 联系人手机号码。
2068
+ # @type ContactNumber: String
2069
+ # @param ContactPosition: 联系人职位。
2070
+ # @type ContactPosition: String
2071
+
2072
+ attr_accessor :CertificateId, :CsrType, :CsrContent, :CertificateDomain, :DomainList, :KeyPassword, :OrganizationName, :OrganizationDivision, :OrganizationAddress, :OrganizationCountry, :OrganizationCity, :OrganizationRegion, :PostalCode, :PhoneAreaCode, :PhoneNumber, :VerifyType, :AdminFirstName, :AdminLastName, :AdminPhoneNum, :AdminEmail, :AdminPosition, :ContactFirstName, :ContactLastName, :ContactEmail, :ContactNumber, :ContactPosition
2073
+
2074
+ def initialize(certificateid=nil, csrtype=nil, csrcontent=nil, certificatedomain=nil, domainlist=nil, keypassword=nil, organizationname=nil, organizationdivision=nil, organizationaddress=nil, organizationcountry=nil, organizationcity=nil, organizationregion=nil, postalcode=nil, phoneareacode=nil, phonenumber=nil, verifytype=nil, adminfirstname=nil, adminlastname=nil, adminphonenum=nil, adminemail=nil, adminposition=nil, contactfirstname=nil, contactlastname=nil, contactemail=nil, contactnumber=nil, contactposition=nil)
2075
+ @CertificateId = certificateid
2076
+ @CsrType = csrtype
2077
+ @CsrContent = csrcontent
2078
+ @CertificateDomain = certificatedomain
2079
+ @DomainList = domainlist
2080
+ @KeyPassword = keypassword
2081
+ @OrganizationName = organizationname
2082
+ @OrganizationDivision = organizationdivision
2083
+ @OrganizationAddress = organizationaddress
2084
+ @OrganizationCountry = organizationcountry
2085
+ @OrganizationCity = organizationcity
2086
+ @OrganizationRegion = organizationregion
2087
+ @PostalCode = postalcode
2088
+ @PhoneAreaCode = phoneareacode
2089
+ @PhoneNumber = phonenumber
2090
+ @VerifyType = verifytype
2091
+ @AdminFirstName = adminfirstname
2092
+ @AdminLastName = adminlastname
2093
+ @AdminPhoneNum = adminphonenum
2094
+ @AdminEmail = adminemail
2095
+ @AdminPosition = adminposition
2096
+ @ContactFirstName = contactfirstname
2097
+ @ContactLastName = contactlastname
2098
+ @ContactEmail = contactemail
2099
+ @ContactNumber = contactnumber
2100
+ @ContactPosition = contactposition
2101
+ end
2102
+
2103
+ def deserialize(params)
2104
+ @CertificateId = params['CertificateId']
2105
+ @CsrType = params['CsrType']
2106
+ @CsrContent = params['CsrContent']
2107
+ @CertificateDomain = params['CertificateDomain']
2108
+ @DomainList = params['DomainList']
2109
+ @KeyPassword = params['KeyPassword']
2110
+ @OrganizationName = params['OrganizationName']
2111
+ @OrganizationDivision = params['OrganizationDivision']
2112
+ @OrganizationAddress = params['OrganizationAddress']
2113
+ @OrganizationCountry = params['OrganizationCountry']
2114
+ @OrganizationCity = params['OrganizationCity']
2115
+ @OrganizationRegion = params['OrganizationRegion']
2116
+ @PostalCode = params['PostalCode']
2117
+ @PhoneAreaCode = params['PhoneAreaCode']
2118
+ @PhoneNumber = params['PhoneNumber']
2119
+ @VerifyType = params['VerifyType']
2120
+ @AdminFirstName = params['AdminFirstName']
2121
+ @AdminLastName = params['AdminLastName']
2122
+ @AdminPhoneNum = params['AdminPhoneNum']
2123
+ @AdminEmail = params['AdminEmail']
2124
+ @AdminPosition = params['AdminPosition']
2125
+ @ContactFirstName = params['ContactFirstName']
2126
+ @ContactLastName = params['ContactLastName']
2127
+ @ContactEmail = params['ContactEmail']
2128
+ @ContactNumber = params['ContactNumber']
2129
+ @ContactPosition = params['ContactPosition']
2130
+ end
2131
+ end
2132
+
2133
+ # SubmitCertificateInformation返回参数结构体
2134
+ class SubmitCertificateInformationResponse < TencentCloud::Common::AbstractModel
2135
+ # @param CertificateId: 证书 ID。
2136
+ # @type CertificateId: String
2137
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2138
+ # @type RequestId: String
2139
+
2140
+ attr_accessor :CertificateId, :RequestId
2141
+
2142
+ def initialize(certificateid=nil, requestid=nil)
2143
+ @CertificateId = certificateid
2144
+ @RequestId = requestid
2145
+ end
2146
+
2147
+ def deserialize(params)
2148
+ @CertificateId = params['CertificateId']
2149
+ @RequestId = params['RequestId']
2150
+ end
2151
+ end
2152
+
2153
+ # 获取证书列表(DescribeCertificate)返回参数键为 SubmittedData 的内容。
2154
+ class SubmittedData < TencentCloud::Common::AbstractModel
2155
+ # @param CsrType: CSR 类型,(online = 在线生成CSR,parse = 粘贴 CSR)。
2156
+ # 注意:此字段可能返回 null,表示取不到有效值。
2157
+ # @type CsrType: String
2158
+ # @param CsrContent: CSR 内容。
2159
+ # 注意:此字段可能返回 null,表示取不到有效值。
2160
+ # @type CsrContent: String
2161
+ # @param CertificateDomain: 域名信息。
2162
+ # 注意:此字段可能返回 null,表示取不到有效值。
2163
+ # @type CertificateDomain: String
2164
+ # @param DomainList: DNS 信息。
2165
+ # 注意:此字段可能返回 null,表示取不到有效值。
2166
+ # @type DomainList: Array
2167
+ # @param KeyPassword: 私钥密码。
2168
+ # 注意:此字段可能返回 null,表示取不到有效值。
2169
+ # @type KeyPassword: String
2170
+ # @param OrganizationName: 企业或单位名称。
2171
+ # 注意:此字段可能返回 null,表示取不到有效值。
2172
+ # @type OrganizationName: String
2173
+ # @param OrganizationDivision: 部门。
2174
+ # 注意:此字段可能返回 null,表示取不到有效值。
2175
+ # @type OrganizationDivision: String
2176
+ # @param OrganizationAddress: 地址。
2177
+ # 注意:此字段可能返回 null,表示取不到有效值。
2178
+ # @type OrganizationAddress: String
2179
+ # @param OrganizationCountry: 国家。
2180
+ # 注意:此字段可能返回 null,表示取不到有效值。
2181
+ # @type OrganizationCountry: String
2182
+ # @param OrganizationCity: 市。
2183
+ # 注意:此字段可能返回 null,表示取不到有效值。
2184
+ # @type OrganizationCity: String
2185
+ # @param OrganizationRegion: 省。
2186
+ # 注意:此字段可能返回 null,表示取不到有效值。
2187
+ # @type OrganizationRegion: String
2188
+ # @param PostalCode: 邮政编码。
2189
+ # 注意:此字段可能返回 null,表示取不到有效值。
2190
+ # @type PostalCode: String
2191
+ # @param PhoneAreaCode: 座机区号。
2192
+ # 注意:此字段可能返回 null,表示取不到有效值。
2193
+ # @type PhoneAreaCode: String
2194
+ # @param PhoneNumber: 座机号码。
2195
+ # 注意:此字段可能返回 null,表示取不到有效值。
2196
+ # @type PhoneNumber: String
2197
+ # @param AdminFirstName: 管理员名。
2198
+ # 注意:此字段可能返回 null,表示取不到有效值。
2199
+ # @type AdminFirstName: String
2200
+ # @param AdminLastName: 管理员姓。
2201
+ # 注意:此字段可能返回 null,表示取不到有效值。
2202
+ # @type AdminLastName: String
2203
+ # @param AdminPhoneNum: 管理员电话号码。
2204
+ # 注意:此字段可能返回 null,表示取不到有效值。
2205
+ # @type AdminPhoneNum: String
2206
+ # @param AdminEmail: 管理员邮箱地址。
2207
+ # 注意:此字段可能返回 null,表示取不到有效值。
2208
+ # @type AdminEmail: String
2209
+ # @param AdminPosition: 管理员职位。
2210
+ # 注意:此字段可能返回 null,表示取不到有效值。
2211
+ # @type AdminPosition: String
2212
+ # @param ContactFirstName: 联系人名。
2213
+ # 注意:此字段可能返回 null,表示取不到有效值。
2214
+ # @type ContactFirstName: String
2215
+ # @param ContactLastName: 联系人姓。
2216
+ # 注意:此字段可能返回 null,表示取不到有效值。
2217
+ # @type ContactLastName: String
2218
+ # @param ContactNumber: 联系人电话号码。
2219
+ # 注意:此字段可能返回 null,表示取不到有效值。
2220
+ # @type ContactNumber: String
2221
+ # @param ContactEmail: 联系人邮箱地址,
2222
+ # 注意:此字段可能返回 null,表示取不到有效值。
2223
+ # @type ContactEmail: String
2224
+ # @param ContactPosition: 联系人职位。
2225
+ # 注意:此字段可能返回 null,表示取不到有效值。
2226
+ # @type ContactPosition: String
2227
+ # @param VerifyType: 验证类型。
2228
+ # 注意:此字段可能返回 null,表示取不到有效值。
2229
+ # @type VerifyType: String
2230
+
2231
+ attr_accessor :CsrType, :CsrContent, :CertificateDomain, :DomainList, :KeyPassword, :OrganizationName, :OrganizationDivision, :OrganizationAddress, :OrganizationCountry, :OrganizationCity, :OrganizationRegion, :PostalCode, :PhoneAreaCode, :PhoneNumber, :AdminFirstName, :AdminLastName, :AdminPhoneNum, :AdminEmail, :AdminPosition, :ContactFirstName, :ContactLastName, :ContactNumber, :ContactEmail, :ContactPosition, :VerifyType
2232
+
2233
+ def initialize(csrtype=nil, csrcontent=nil, certificatedomain=nil, domainlist=nil, keypassword=nil, organizationname=nil, organizationdivision=nil, organizationaddress=nil, organizationcountry=nil, organizationcity=nil, organizationregion=nil, postalcode=nil, phoneareacode=nil, phonenumber=nil, adminfirstname=nil, adminlastname=nil, adminphonenum=nil, adminemail=nil, adminposition=nil, contactfirstname=nil, contactlastname=nil, contactnumber=nil, contactemail=nil, contactposition=nil, verifytype=nil)
2234
+ @CsrType = csrtype
2235
+ @CsrContent = csrcontent
2236
+ @CertificateDomain = certificatedomain
2237
+ @DomainList = domainlist
2238
+ @KeyPassword = keypassword
2239
+ @OrganizationName = organizationname
2240
+ @OrganizationDivision = organizationdivision
2241
+ @OrganizationAddress = organizationaddress
2242
+ @OrganizationCountry = organizationcountry
2243
+ @OrganizationCity = organizationcity
2244
+ @OrganizationRegion = organizationregion
2245
+ @PostalCode = postalcode
2246
+ @PhoneAreaCode = phoneareacode
2247
+ @PhoneNumber = phonenumber
2248
+ @AdminFirstName = adminfirstname
2249
+ @AdminLastName = adminlastname
2250
+ @AdminPhoneNum = adminphonenum
2251
+ @AdminEmail = adminemail
2252
+ @AdminPosition = adminposition
2253
+ @ContactFirstName = contactfirstname
2254
+ @ContactLastName = contactlastname
2255
+ @ContactNumber = contactnumber
2256
+ @ContactEmail = contactemail
2257
+ @ContactPosition = contactposition
2258
+ @VerifyType = verifytype
2259
+ end
2260
+
2261
+ def deserialize(params)
2262
+ @CsrType = params['CsrType']
2263
+ @CsrContent = params['CsrContent']
2264
+ @CertificateDomain = params['CertificateDomain']
2265
+ @DomainList = params['DomainList']
2266
+ @KeyPassword = params['KeyPassword']
2267
+ @OrganizationName = params['OrganizationName']
2268
+ @OrganizationDivision = params['OrganizationDivision']
2269
+ @OrganizationAddress = params['OrganizationAddress']
2270
+ @OrganizationCountry = params['OrganizationCountry']
2271
+ @OrganizationCity = params['OrganizationCity']
2272
+ @OrganizationRegion = params['OrganizationRegion']
2273
+ @PostalCode = params['PostalCode']
2274
+ @PhoneAreaCode = params['PhoneAreaCode']
2275
+ @PhoneNumber = params['PhoneNumber']
2276
+ @AdminFirstName = params['AdminFirstName']
2277
+ @AdminLastName = params['AdminLastName']
2278
+ @AdminPhoneNum = params['AdminPhoneNum']
2279
+ @AdminEmail = params['AdminEmail']
2280
+ @AdminPosition = params['AdminPosition']
2281
+ @ContactFirstName = params['ContactFirstName']
2282
+ @ContactLastName = params['ContactLastName']
2283
+ @ContactNumber = params['ContactNumber']
2284
+ @ContactEmail = params['ContactEmail']
2285
+ @ContactPosition = params['ContactPosition']
2286
+ @VerifyType = params['VerifyType']
2287
+ end
2288
+ end
2289
+
2290
+ # 标签
2291
+ class Tags < TencentCloud::Common::AbstractModel
2292
+ # @param TagKey: 标签键
2293
+ # @type TagKey: String
2294
+ # @param TagValue: 标签值
2295
+ # @type TagValue: String
2296
+
2297
+ attr_accessor :TagKey, :TagValue
2298
+
2299
+ def initialize(tagkey=nil, tagvalue=nil)
2300
+ @TagKey = tagkey
2301
+ @TagValue = tagvalue
2302
+ end
2303
+
2304
+ def deserialize(params)
2305
+ @TagKey = params['TagKey']
2306
+ @TagValue = params['TagValue']
2307
+ end
2308
+ end
2309
+
2310
+ # UploadCertificate请求参数结构体
2311
+ class UploadCertificateRequest < TencentCloud::Common::AbstractModel
2312
+ # @param CertificatePublicKey: 证书内容。
2313
+ # @type CertificatePublicKey: String
2314
+ # @param CertificatePrivateKey: 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
2315
+ # @type CertificatePrivateKey: String
2316
+ # @param CertificateType: 证书类型,默认 SVR。CA = 客户端证书,SVR = 服务器证书。
2317
+ # @type CertificateType: String
2318
+ # @param Alias: 备注名称。
2319
+ # @type Alias: String
2320
+ # @param ProjectId: 项目 ID。
2321
+ # @type ProjectId: Integer
2322
+ # @param CertificateUse: 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
2323
+ # @type CertificateUse: String
2324
+
2325
+ attr_accessor :CertificatePublicKey, :CertificatePrivateKey, :CertificateType, :Alias, :ProjectId, :CertificateUse
2326
+
2327
+ def initialize(certificatepublickey=nil, certificateprivatekey=nil, certificatetype=nil, _alias=nil, projectid=nil, certificateuse=nil)
2328
+ @CertificatePublicKey = certificatepublickey
2329
+ @CertificatePrivateKey = certificateprivatekey
2330
+ @CertificateType = certificatetype
2331
+ @Alias = _alias
2332
+ @ProjectId = projectid
2333
+ @CertificateUse = certificateuse
2334
+ end
2335
+
2336
+ def deserialize(params)
2337
+ @CertificatePublicKey = params['CertificatePublicKey']
2338
+ @CertificatePrivateKey = params['CertificatePrivateKey']
2339
+ @CertificateType = params['CertificateType']
2340
+ @Alias = params['Alias']
2341
+ @ProjectId = params['ProjectId']
2342
+ @CertificateUse = params['CertificateUse']
2343
+ end
2344
+ end
2345
+
2346
+ # UploadCertificate返回参数结构体
2347
+ class UploadCertificateResponse < TencentCloud::Common::AbstractModel
2348
+ # @param CertificateId: 证书 ID。
2349
+ # @type CertificateId: String
2350
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2351
+ # @type RequestId: String
2352
+
2353
+ attr_accessor :CertificateId, :RequestId
2354
+
2355
+ def initialize(certificateid=nil, requestid=nil)
2356
+ @CertificateId = certificateid
2357
+ @RequestId = requestid
2358
+ end
2359
+
2360
+ def deserialize(params)
2361
+ @CertificateId = params['CertificateId']
2362
+ @RequestId = params['RequestId']
2363
+ end
2364
+ end
2365
+
2366
+ # UploadConfirmLetter请求参数结构体
2367
+ class UploadConfirmLetterRequest < TencentCloud::Common::AbstractModel
2368
+ # @param CertificateId: 证书ID
2369
+ # @type CertificateId: String
2370
+ # @param ConfirmLetter: base64编码后的证书确认函文件,格式应为jpg、jpeg、png、pdf,大小应在1kb与1.4M之间。
2371
+ # @type ConfirmLetter: String
2372
+
2373
+ attr_accessor :CertificateId, :ConfirmLetter
2374
+
2375
+ def initialize(certificateid=nil, confirmletter=nil)
2376
+ @CertificateId = certificateid
2377
+ @ConfirmLetter = confirmletter
2378
+ end
2379
+
2380
+ def deserialize(params)
2381
+ @CertificateId = params['CertificateId']
2382
+ @ConfirmLetter = params['ConfirmLetter']
2383
+ end
2384
+ end
2385
+
2386
+ # UploadConfirmLetter返回参数结构体
2387
+ class UploadConfirmLetterResponse < TencentCloud::Common::AbstractModel
2388
+ # @param CertificateId: 证书ID
2389
+ # @type CertificateId: String
2390
+ # @param IsSuccess: 是否成功
2391
+ # @type IsSuccess: Boolean
2392
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2393
+ # @type RequestId: String
2394
+
2395
+ attr_accessor :CertificateId, :IsSuccess, :RequestId
2396
+
2397
+ def initialize(certificateid=nil, issuccess=nil, requestid=nil)
2398
+ @CertificateId = certificateid
2399
+ @IsSuccess = issuccess
2400
+ @RequestId = requestid
2401
+ end
2402
+
2403
+ def deserialize(params)
2404
+ @CertificateId = params['CertificateId']
2405
+ @IsSuccess = params['IsSuccess']
2406
+ @RequestId = params['RequestId']
2407
+ end
2408
+ end
2409
+
2410
+ # UploadRevokeLetter请求参数结构体
2411
+ class UploadRevokeLetterRequest < TencentCloud::Common::AbstractModel
2412
+ # @param CertificateId: 证书 ID。
2413
+ # @type CertificateId: String
2414
+ # @param RevokeLetter: base64编码后的证书确认函文件,格式应为jpg、jpeg、png、pdf,大小应在1kb与1.4M之间。
2415
+ # @type RevokeLetter: String
2416
+
2417
+ attr_accessor :CertificateId, :RevokeLetter
2418
+
2419
+ def initialize(certificateid=nil, revokeletter=nil)
2420
+ @CertificateId = certificateid
2421
+ @RevokeLetter = revokeletter
2422
+ end
2423
+
2424
+ def deserialize(params)
2425
+ @CertificateId = params['CertificateId']
2426
+ @RevokeLetter = params['RevokeLetter']
2427
+ end
2428
+ end
2429
+
2430
+ # UploadRevokeLetter返回参数结构体
2431
+ class UploadRevokeLetterResponse < TencentCloud::Common::AbstractModel
2432
+ # @param CertificateId: 证书 ID。
2433
+ # @type CertificateId: String
2434
+ # @param IsSuccess: 是否成功。
2435
+ # @type IsSuccess: Boolean
2436
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2437
+ # @type RequestId: String
2438
+
2439
+ attr_accessor :CertificateId, :IsSuccess, :RequestId
2440
+
2441
+ def initialize(certificateid=nil, issuccess=nil, requestid=nil)
2442
+ @CertificateId = certificateid
2443
+ @IsSuccess = issuccess
2444
+ @RequestId = requestid
2445
+ end
2446
+
2447
+ def deserialize(params)
2448
+ @CertificateId = params['CertificateId']
2449
+ @IsSuccess = params['IsSuccess']
2450
+ @RequestId = params['RequestId']
2451
+ end
2452
+ end
2453
+
2454
+ # VerifyManager请求参数结构体
2455
+ class VerifyManagerRequest < TencentCloud::Common::AbstractModel
2456
+ # @param ManagerId: 管理人ID
2457
+ # @type ManagerId: Integer
2458
+
2459
+ attr_accessor :ManagerId
2460
+
2461
+ def initialize(managerid=nil)
2462
+ @ManagerId = managerid
2463
+ end
2464
+
2465
+ def deserialize(params)
2466
+ @ManagerId = params['ManagerId']
2467
+ end
2468
+ end
2469
+
2470
+ # VerifyManager返回参数结构体
2471
+ class VerifyManagerResponse < TencentCloud::Common::AbstractModel
2472
+ # @param ManagerId: 管理人ID
2473
+ # @type ManagerId: Integer
2474
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2475
+ # @type RequestId: String
2476
+
2477
+ attr_accessor :ManagerId, :RequestId
2478
+
2479
+ def initialize(managerid=nil, requestid=nil)
2480
+ @ManagerId = managerid
2481
+ @RequestId = requestid
2482
+ end
2483
+
2484
+ def deserialize(params)
2485
+ @ManagerId = params['ManagerId']
2486
+ @RequestId = params['RequestId']
2487
+ end
2488
+ end
2489
+
2490
+ end
2491
+ end
2492
+ end
2493
+