/* * 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 { /// /// 证书内容。 /// [JsonProperty("Cert")] public string Cert{ get; set; } /// /// 证书类型(目前支持:CA 为客户端证书,SVR 为服务器证书)。 /// [JsonProperty("CertType")] public string CertType{ get; set; } /// /// 项目ID,详见用户指南的 [项目与标签](https://cloud.tencent.com/document/product/598/32738)。 /// [JsonProperty("ProjectId")] public string ProjectId{ get; set; } /// /// 模块名称,应填 ssl。 /// [JsonProperty("ModuleType")] public string ModuleType{ get; set; } /// /// 证书私钥,certType=SVR 时必填。 /// [JsonProperty("Key")] public string Key{ get; set; } /// /// 证书备注。 /// [JsonProperty("Alias")] public string Alias{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary 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); } } }