/* * 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.Bm.V20180423.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class UserCmdTaskInfo : AbstractModel { /// /// 自动编号,可忽略 /// [JsonProperty("AutoId")] public ulong? AutoId{ get; set; } /// /// 任务ID /// [JsonProperty("TaskId")] public string TaskId{ get; set; } /// /// 任务开始时间 /// [JsonProperty("RunBeginTime")] public string RunBeginTime{ get; set; } /// /// 任务结束时间 /// [JsonProperty("RunEndTime")] public string RunEndTime{ get; set; } /// /// 任务状态ID,取值为 -1:进行中;0:成功;>0:失败错误码 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 设备别名 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 设备ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 私有网络名 /// [JsonProperty("VpcName")] public string VpcName{ get; set; } /// /// 私有网络整型ID /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 私有网络Cidr /// [JsonProperty("VpcCidrBlock")] public string VpcCidrBlock{ get; set; } /// /// 子网名 /// [JsonProperty("SubnetName")] public string SubnetName{ get; set; } /// /// 子网ID /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// 子网Cidr /// [JsonProperty("SubnetCidrBlock")] public string SubnetCidrBlock{ get; set; } /// /// 内网IP /// [JsonProperty("LanIp")] public string LanIp{ get; set; } /// /// 脚本内容,base64编码后的值 /// [JsonProperty("CmdContent")] public string CmdContent{ get; set; } /// /// 脚本参数,base64编码后的值 /// [JsonProperty("CmdParam")] public string CmdParam{ get; set; } /// /// 脚本执行结果,base64编码后的值 /// [JsonProperty("CmdResult")] public string CmdResult{ get; set; } /// /// 用户AppId /// [JsonProperty("AppId")] public ulong? AppId{ get; set; } /// /// 用户执行脚本结束退出的返回值,没有返回值为-1 /// [JsonProperty("LastShellExit")] public long? LastShellExit{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "AutoId", this.AutoId); this.SetParamSimple(map, prefix + "TaskId", this.TaskId); this.SetParamSimple(map, prefix + "RunBeginTime", this.RunBeginTime); this.SetParamSimple(map, prefix + "RunEndTime", this.RunEndTime); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "VpcName", this.VpcName); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "VpcCidrBlock", this.VpcCidrBlock); this.SetParamSimple(map, prefix + "SubnetName", this.SubnetName); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "SubnetCidrBlock", this.SubnetCidrBlock); this.SetParamSimple(map, prefix + "LanIp", this.LanIp); this.SetParamSimple(map, prefix + "CmdContent", this.CmdContent); this.SetParamSimple(map, prefix + "CmdParam", this.CmdParam); this.SetParamSimple(map, prefix + "CmdResult", this.CmdResult); this.SetParamSimple(map, prefix + "AppId", this.AppId); this.SetParamSimple(map, prefix + "LastShellExit", this.LastShellExit); } } }