308 lines
13 KiB
C#
308 lines
13 KiB
C#
/*
|
||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing,
|
||
* software distributed under the License is distributed on an
|
||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
* KIND, either express or implied. See the License for the
|
||
* specific language governing permissions and limitations
|
||
* under the License.
|
||
*/
|
||
|
||
namespace TencentCloud.Ssl.V20191205.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class DescribeCertificateDetailResponse : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 用户 UIN。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("OwnerUin")]
|
||
public string OwnerUin{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 项目 ID。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ProjectId")]
|
||
public string ProjectId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书来源:trustasia = 亚洲诚信,upload = 用户上传。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("From")]
|
||
public string From{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书类型:CA = 客户端证书,SVR = 服务器证书。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertificateType")]
|
||
public string CertificateType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书套餐类型:1 = GeoTrust DV SSL CA - G3, 2 = TrustAsia TLS RSA CA, 3 = Symantec 增强型企业版(EV Pro), 4 = Symantec 增强型(EV), 5 = Symantec 企业型专业版(OV Pro), 6 = Symantec 企业型(OV), 7 = Symantec 企业型(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 证书。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PackageType")]
|
||
public string PackageType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 颁发者。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ProductZhName")]
|
||
public string ProductZhName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 域名。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Domain")]
|
||
public string Domain{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 备注名称。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Alias")]
|
||
public string Alias{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书状态:0 = 审核中,1 = 已通过,2 = 审核失败,3 = 已过期,4 = 已添加DNS记录,5 = 企业证书,待提交,6 = 订单取消中,7 = 已取消,8 = 已提交资料, 待上传确认函,9 = 证书吊销中,10 = 已吊销,11 = 重颁发中,12 = 待上传吊销确认函。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Status")]
|
||
public ulong? Status{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 状态信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("StatusMsg")]
|
||
public string StatusMsg{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 验证类型:DNS_AUTO = 自动DNS验证,DNS = 手动DNS验证,FILE = 文件验证,EMAIL = 邮件验证。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VerifyType")]
|
||
public string VerifyType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 漏洞扫描状态。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VulnerabilityStatus")]
|
||
public string VulnerabilityStatus{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书生效时间。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertBeginTime")]
|
||
public string CertBeginTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书失效时间。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertEndTime")]
|
||
public string CertEndTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书有效期:单位(月)。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ValidityPeriod")]
|
||
public string ValidityPeriod{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 申请时间。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("InsertTime")]
|
||
public string InsertTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 订单 ID。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("OrderId")]
|
||
public string OrderId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书扩展信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertificateExtra")]
|
||
public CertificateExtra CertificateExtra{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书私钥
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertificatePrivateKey")]
|
||
public string CertificatePrivateKey{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书公钥
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertificatePublicKey")]
|
||
public string CertificatePublicKey{ get; set; }
|
||
|
||
/// <summary>
|
||
/// DV 认证信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("DvAuthDetail")]
|
||
public DvAuthDetail DvAuthDetail{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 漏洞扫描评估报告。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VulnerabilityReport")]
|
||
public string VulnerabilityReport{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书 ID。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CertificateId")]
|
||
public string CertificateId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书类型名称。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TypeName")]
|
||
public string TypeName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 状态描述。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("StatusName")]
|
||
public string StatusName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 证书包含的多个域名(包含主域名)
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SubjectAltName")]
|
||
public string[] SubjectAltName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否为 VIP 客户。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("IsVip")]
|
||
public bool? IsVip{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否为泛域名证书。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("IsWildcard")]
|
||
public bool? IsWildcard{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否为 DV 版证书。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("IsDv")]
|
||
public bool? IsDv{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否启用了漏洞扫描功能。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("IsVulnerability")]
|
||
public bool? IsVulnerability{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 提交的资料信息。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SubmittedData")]
|
||
public SubmittedData SubmittedData{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否可重颁发证书。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RenewAble")]
|
||
public bool? RenewAble{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否可部署。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Deployable")]
|
||
public bool? Deployable{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||
/// </summary>
|
||
[JsonProperty("RequestId")]
|
||
public string RequestId{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||
{
|
||
this.SetParamSimple(map, prefix + "OwnerUin", this.OwnerUin);
|
||
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
|
||
this.SetParamSimple(map, prefix + "From", this.From);
|
||
this.SetParamSimple(map, prefix + "CertificateType", this.CertificateType);
|
||
this.SetParamSimple(map, prefix + "PackageType", this.PackageType);
|
||
this.SetParamSimple(map, prefix + "ProductZhName", this.ProductZhName);
|
||
this.SetParamSimple(map, prefix + "Domain", this.Domain);
|
||
this.SetParamSimple(map, prefix + "Alias", this.Alias);
|
||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||
this.SetParamSimple(map, prefix + "StatusMsg", this.StatusMsg);
|
||
this.SetParamSimple(map, prefix + "VerifyType", this.VerifyType);
|
||
this.SetParamSimple(map, prefix + "VulnerabilityStatus", this.VulnerabilityStatus);
|
||
this.SetParamSimple(map, prefix + "CertBeginTime", this.CertBeginTime);
|
||
this.SetParamSimple(map, prefix + "CertEndTime", this.CertEndTime);
|
||
this.SetParamSimple(map, prefix + "ValidityPeriod", this.ValidityPeriod);
|
||
this.SetParamSimple(map, prefix + "InsertTime", this.InsertTime);
|
||
this.SetParamSimple(map, prefix + "OrderId", this.OrderId);
|
||
this.SetParamObj(map, prefix + "CertificateExtra.", this.CertificateExtra);
|
||
this.SetParamSimple(map, prefix + "CertificatePrivateKey", this.CertificatePrivateKey);
|
||
this.SetParamSimple(map, prefix + "CertificatePublicKey", this.CertificatePublicKey);
|
||
this.SetParamObj(map, prefix + "DvAuthDetail.", this.DvAuthDetail);
|
||
this.SetParamSimple(map, prefix + "VulnerabilityReport", this.VulnerabilityReport);
|
||
this.SetParamSimple(map, prefix + "CertificateId", this.CertificateId);
|
||
this.SetParamSimple(map, prefix + "TypeName", this.TypeName);
|
||
this.SetParamSimple(map, prefix + "StatusName", this.StatusName);
|
||
this.SetParamArraySimple(map, prefix + "SubjectAltName.", this.SubjectAltName);
|
||
this.SetParamSimple(map, prefix + "IsVip", this.IsVip);
|
||
this.SetParamSimple(map, prefix + "IsWildcard", this.IsWildcard);
|
||
this.SetParamSimple(map, prefix + "IsDv", this.IsDv);
|
||
this.SetParamSimple(map, prefix + "IsVulnerability", this.IsVulnerability);
|
||
this.SetParamObj(map, prefix + "SubmittedData.", this.SubmittedData);
|
||
this.SetParamSimple(map, prefix + "RenewAble", this.RenewAble);
|
||
this.SetParamSimple(map, prefix + "Deployable", this.Deployable);
|
||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||
}
|
||
}
|
||
}
|
||
|