/* * 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 ModifySiteAttributeRequest : AbstractModel { /// /// 站点ID /// [JsonProperty("SiteId")] public ulong? SiteId{ get; set; } /// /// 站点名称 /// [JsonProperty("Name")] public string Name{ get; set; } /// /// 网站是否需要登录扫描:0-未知;-1-不需要;1-需要 /// [JsonProperty("NeedLogin")] public long? NeedLogin{ get; set; } /// /// 登录后的cookie /// [JsonProperty("LoginCookie")] public string LoginCookie{ get; set; } /// /// 用于测试cookie是否有效的URL /// [JsonProperty("LoginCheckUrl")] public string LoginCheckUrl{ get; set; } /// /// 用于测试cookie是否有效的关键字 /// [JsonProperty("LoginCheckKw")] public string LoginCheckKw{ get; set; } /// /// 禁止扫描器扫描的目录关键字 /// [JsonProperty("ScanDisallow")] public string ScanDisallow{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "SiteId", this.SiteId); this.SetParamSimple(map, prefix + "Name", this.Name); this.SetParamSimple(map, prefix + "NeedLogin", this.NeedLogin); this.SetParamSimple(map, prefix + "LoginCookie", this.LoginCookie); this.SetParamSimple(map, prefix + "LoginCheckUrl", this.LoginCheckUrl); this.SetParamSimple(map, prefix + "LoginCheckKw", this.LoginCheckKw); this.SetParamSimple(map, prefix + "ScanDisallow", this.ScanDisallow); } } }