Files
g.hnyhua.cn/TencentCloud/Ecdn/V20191012/Models/ServerCert.cs

93 lines
3.4 KiB
C#
Raw 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.Ecdn.V20191012.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ServerCert : AbstractModel
{
/// <summary>
/// 服务器证书id当证书为腾讯云托管证书时必填。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CertId")]
public string CertId{ get; set; }
/// <summary>
/// 服务器证书名称,当证书为腾讯云托管证书时必填。
/// 注意:此字段可能返回 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);
}
}
}