/* * 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.Cws.V20180312.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SitesVerification : AbstractModel { /// /// 根域名。 /// [JsonProperty("Domain")] public string Domain{ get; set; } /// /// txt解析域名验证的name。 /// [JsonProperty("TxtName")] public string TxtName{ get; set; } /// /// txt解析域名验证的text。 /// [JsonProperty("TxtText")] public string TxtText{ get; set; } /// /// 验证有效期,在此之前有效。 /// [JsonProperty("ValidTo")] public string ValidTo{ get; set; } /// /// 验证状态:0-未验证;1-已验证;2-验证失效,待重新验证。 /// [JsonProperty("VerifyStatus")] public ulong? VerifyStatus{ get; set; } /// /// CreatedAt。 /// [JsonProperty("CreatedAt")] public string CreatedAt{ get; set; } /// /// UpdatedAt。 /// [JsonProperty("UpdatedAt")] public string UpdatedAt{ get; set; } /// /// ID。 /// [JsonProperty("Id")] public ulong? Id{ get; set; } /// /// 云用户appid /// [JsonProperty("Appid")] public ulong? Appid{ get; set; } /// /// 用于验证站点的url,即访问该url获取验证数据。 /// [JsonProperty("VerifyUrl")] public string VerifyUrl{ get; set; } /// /// 获取验证验证文件的url。 /// [JsonProperty("VerifyFileUrl")] public string VerifyFileUrl{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Domain", this.Domain); this.SetParamSimple(map, prefix + "TxtName", this.TxtName); this.SetParamSimple(map, prefix + "TxtText", this.TxtText); this.SetParamSimple(map, prefix + "ValidTo", this.ValidTo); this.SetParamSimple(map, prefix + "VerifyStatus", this.VerifyStatus); this.SetParamSimple(map, prefix + "CreatedAt", this.CreatedAt); this.SetParamSimple(map, prefix + "UpdatedAt", this.UpdatedAt); this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "Appid", this.Appid); this.SetParamSimple(map, prefix + "VerifyUrl", this.VerifyUrl); this.SetParamSimple(map, prefix + "VerifyFileUrl", this.VerifyFileUrl); } } }