/* * 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.Ms.V20180408.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ScanSetInfo : AbstractModel { /// /// 任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时 /// [JsonProperty("TaskStatus")] public ulong? TaskStatus{ get; set; } /// /// app信息 /// [JsonProperty("AppDetailInfo")] public AppDetailInfo AppDetailInfo{ get; set; } /// /// 病毒信息 /// [JsonProperty("VirusInfo")] public VirusInfo VirusInfo{ get; set; } /// /// 漏洞信息 /// [JsonProperty("VulInfo")] public VulInfo VulInfo{ get; set; } /// /// 广告插件信息 /// [JsonProperty("AdInfo")] public AdInfo AdInfo{ get; set; } /// /// 提交扫描的时间 /// [JsonProperty("TaskTime")] public ulong? TaskTime{ get; set; } /// /// 状态码,成功返回0,失败返回错误码 /// [JsonProperty("StatusCode")] public ulong? StatusCode{ get; set; } /// /// 状态描述 /// [JsonProperty("StatusDesc")] public string StatusDesc{ get; set; } /// /// 状态操作指引 /// [JsonProperty("StatusRef")] public string StatusRef{ get; set; } /// /// 系统权限信息 /// [JsonProperty("PermissionInfo")] public ScanPermissionList PermissionInfo{ get; set; } /// /// 敏感词列表 /// [JsonProperty("SensitiveInfo")] public ScanSensitiveList SensitiveInfo{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "TaskStatus", this.TaskStatus); this.SetParamObj(map, prefix + "AppDetailInfo.", this.AppDetailInfo); this.SetParamObj(map, prefix + "VirusInfo.", this.VirusInfo); this.SetParamObj(map, prefix + "VulInfo.", this.VulInfo); this.SetParamObj(map, prefix + "AdInfo.", this.AdInfo); this.SetParamSimple(map, prefix + "TaskTime", this.TaskTime); this.SetParamSimple(map, prefix + "StatusCode", this.StatusCode); this.SetParamSimple(map, prefix + "StatusDesc", this.StatusDesc); this.SetParamSimple(map, prefix + "StatusRef", this.StatusRef); this.SetParamObj(map, prefix + "PermissionInfo.", this.PermissionInfo); this.SetParamObj(map, prefix + "SensitiveInfo.", this.SensitiveInfo); } } }