/* * 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.Cdb.V20170320.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ImportRecord : AbstractModel { /// /// 状态值 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 状态值 /// [JsonProperty("Code")] public long? Code{ get; set; } /// /// 执行时间 /// [JsonProperty("CostTime")] public long? CostTime{ get; set; } /// /// 实例ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 后端任务ID /// [JsonProperty("WorkId")] public string WorkId{ get; set; } /// /// 导入文件名 /// [JsonProperty("FileName")] public string FileName{ get; set; } /// /// 执行进度 /// [JsonProperty("Process")] public long? Process{ get; set; } /// /// 任务创建时间 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 文件大小 /// [JsonProperty("FileSize")] public string FileSize{ get; set; } /// /// 任务执行信息 /// [JsonProperty("Message")] public string Message{ get; set; } /// /// 任务ID /// [JsonProperty("JobId")] public long? JobId{ get; set; } /// /// 导入库表名 /// [JsonProperty("DbName")] public string DbName{ get; set; } /// /// 异步任务的请求ID /// [JsonProperty("AsyncRequestId")] public string AsyncRequestId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "Code", this.Code); this.SetParamSimple(map, prefix + "CostTime", this.CostTime); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "WorkId", this.WorkId); this.SetParamSimple(map, prefix + "FileName", this.FileName); this.SetParamSimple(map, prefix + "Process", this.Process); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "FileSize", this.FileSize); this.SetParamSimple(map, prefix + "Message", this.Message); this.SetParamSimple(map, prefix + "JobId", this.JobId); this.SetParamSimple(map, prefix + "DbName", this.DbName); this.SetParamSimple(map, prefix + "AsyncRequestId", this.AsyncRequestId); } } }