Files

99 lines
3.5 KiB
C#
Raw Permalink Normal View History

/*
* 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.Cdn.V20180606.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ServerCert : AbstractModel
{
/// <summary>
/// 服务器证书 ID
/// 在 SSL 证书管理进行证书托管时自动生成
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CertId")]
public string CertId{ get; set; }
/// <summary>
/// 服务器证书名称
/// 在 SSL 证书管理进行证书托管时自动生成
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CertName")]
public string CertName{ get; set; }
/// <summary>
/// 服务器证书信息
/// 上传自有证书时必填,需要包含完整的证书链
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Certificate")]
public string Certificate{ get; set; }
/// <summary>
/// 服务器密钥信息
/// 上传自有证书时必填
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PrivateKey")]
public string PrivateKey{ get; set; }
/// <summary>
/// 证书过期时间
/// 作为入参配置时无需填充
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
/// <summary>
/// 证书颁发时间
/// 作为入参配置时无需填充
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DeployTime")]
public string DeployTime{ get; set; }
/// <summary>
/// 证书备注信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Message")]
public string Message{ 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 + "CertId", this.CertId);
this.SetParamSimple(map, prefix + "CertName", this.CertName);
this.SetParamSimple(map, prefix + "Certificate", this.Certificate);
this.SetParamSimple(map, prefix + "PrivateKey", this.PrivateKey);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "DeployTime", this.DeployTime);
this.SetParamSimple(map, prefix + "Message", this.Message);
}
}
}