/*
* 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 BashEvent : AbstractModel
{
///
/// ID
///
[JsonProperty("Id")]
public ulong? Id{ get; set; }
///
/// 云镜ID
///
[JsonProperty("Uuid")]
public string Uuid{ get; set; }
///
/// 主机ID
///
[JsonProperty("Quuid")]
public string Quuid{ get; set; }
///
/// 主机内网IP
///
[JsonProperty("Hostip")]
public string Hostip{ get; set; }
///
/// 执行用户名
///
[JsonProperty("User")]
public string User{ get; set; }
///
/// 平台类型
///
[JsonProperty("Platform")]
public ulong? Platform{ get; set; }
///
/// 执行命令
///
[JsonProperty("BashCmd")]
public string BashCmd{ get; set; }
///
/// 规则ID
///
[JsonProperty("RuleId")]
public ulong? RuleId{ get; set; }
///
/// 规则名称
///
[JsonProperty("RuleName")]
public string RuleName{ get; set; }
///
/// 规则等级
///
[JsonProperty("RuleLevel")]
public ulong? RuleLevel{ get; set; }
///
/// 处理状态
///
[JsonProperty("Status")]
public ulong? Status{ get; set; }
///
/// 发生时间
///
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
///
/// 主机名
///
[JsonProperty("MachineName")]
public string MachineName{ 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 + "Quuid", this.Quuid);
this.SetParamSimple(map, prefix + "Hostip", this.Hostip);
this.SetParamSimple(map, prefix + "User", this.User);
this.SetParamSimple(map, prefix + "Platform", this.Platform);
this.SetParamSimple(map, prefix + "BashCmd", this.BashCmd);
this.SetParamSimple(map, prefix + "RuleId", this.RuleId);
this.SetParamSimple(map, prefix + "RuleName", this.RuleName);
this.SetParamSimple(map, prefix + "RuleLevel", this.RuleLevel);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "MachineName", this.MachineName);
}
}
}