/* * 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.Yunjing.V20180228.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ReverseShellRule : AbstractModel { /// /// 规则ID /// [JsonProperty("Id")] public ulong? Id{ get; set; } /// /// 客户端ID /// [JsonProperty("Uuid")] public string Uuid{ get; set; } /// /// 进程名称 /// [JsonProperty("ProcessName")] public string ProcessName{ get; set; } /// /// 目标IP /// [JsonProperty("DestIp")] public string DestIp{ get; set; } /// /// 目标端口 /// [JsonProperty("DestPort")] public string DestPort{ get; set; } /// /// 操作人 /// [JsonProperty("Operator")] public string Operator{ get; set; } /// /// 是否全局规则 /// [JsonProperty("IsGlobal")] public ulong? IsGlobal{ get; set; } /// /// 状态 (0: 有效 1: 无效) /// [JsonProperty("Status")] public ulong? Status{ get; set; } /// /// 创建时间 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 修改时间 /// [JsonProperty("ModifyTime")] public string ModifyTime{ get; set; } /// /// 主机IP /// [JsonProperty("Hostip")] public string Hostip{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "Uuid", this.Uuid); this.SetParamSimple(map, prefix + "ProcessName", this.ProcessName); this.SetParamSimple(map, prefix + "DestIp", this.DestIp); this.SetParamSimple(map, prefix + "DestPort", this.DestPort); this.SetParamSimple(map, prefix + "Operator", this.Operator); this.SetParamSimple(map, prefix + "IsGlobal", this.IsGlobal); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime); this.SetParamSimple(map, prefix + "Hostip", this.Hostip); } } }