/* * 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.Redis.V20180412.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class TaskInfoDetail : AbstractModel { /// /// 任务Id /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TaskId")] public long? TaskId{ get; set; } /// /// 开始时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 任务类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TaskType")] public string TaskType{ get; set; } /// /// 实例名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 实例Id /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 项目Id /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ProjectId")] public long? ProjectId{ get; set; } /// /// 任务进度 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Progress")] public float? Progress{ get; set; } /// /// 结束时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 任务状态 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Result")] public long? Result{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "TaskId", this.TaskId); this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "TaskType", this.TaskType); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "Progress", this.Progress); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "Result", this.Result); } } }