/* * 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 DeviceOperationLog : AbstractModel { /// /// 日志的ID /// [JsonProperty("Id")] public ulong? Id{ get; set; } /// /// 设备ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 日志对应的操作任务ID /// [JsonProperty("TaskId")] public ulong? TaskId{ get; set; } /// /// 操作任务名称 /// [JsonProperty("TaskName")] public string TaskName{ get; set; } /// /// 操作任务中文名称 /// [JsonProperty("TaskDescription")] public string TaskDescription{ get; set; } /// /// 操作开始时间 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 操作结束时间 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 操作状态,0: 正在执行中;1:任务成功; 2: 任务失败。 /// [JsonProperty("Status")] public ulong? Status{ get; set; } /// /// 操作者 /// [JsonProperty("OpUin")] public string OpUin{ get; set; } /// /// 操作描述 /// [JsonProperty("LogDescription")] public string LogDescription{ 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 + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "TaskId", this.TaskId); this.SetParamSimple(map, prefix + "TaskName", this.TaskName); this.SetParamSimple(map, prefix + "TaskDescription", this.TaskDescription); this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "OpUin", this.OpUin); this.SetParamSimple(map, prefix + "LogDescription", this.LogDescription); } } }