Files
g.hnyhua.cn/TencentCloud/Wss/V20180426/Models/UploadCertRequest.cs

79 lines
2.5 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.Wss.V20180426.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UploadCertRequest : AbstractModel
{
/// <summary>
/// 证书内容。
/// </summary>
[JsonProperty("Cert")]
public string Cert{ get; set; }
/// <summary>
/// 证书类型目前支持CA 为客户端证书SVR 为服务器证书)。
/// </summary>
[JsonProperty("CertType")]
public string CertType{ get; set; }
/// <summary>
/// 项目ID详见用户指南的 [项目与标签](https://cloud.tencent.com/document/product/598/32738)。
/// </summary>
[JsonProperty("ProjectId")]
public string ProjectId{ get; set; }
/// <summary>
/// 模块名称,应填 ssl。
/// </summary>
[JsonProperty("ModuleType")]
public string ModuleType{ get; set; }
/// <summary>
/// 证书私钥certType=SVR 时必填。
/// </summary>
[JsonProperty("Key")]
public string Key{ get; set; }
/// <summary>
/// 证书备注。
/// </summary>
[JsonProperty("Alias")]
public string Alias{ 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 + "Cert", this.Cert);
this.SetParamSimple(map, prefix + "CertType", this.CertType);
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "ModuleType", this.ModuleType);
this.SetParamSimple(map, prefix + "Key", this.Key);
this.SetParamSimple(map, prefix + "Alias", this.Alias);
}
}
}