128 lines
3.9 KiB
C#
128 lines
3.9 KiB
C#
/*
|
|
* 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
|
|
{
|
|
|
|
/// <summary>
|
|
/// 状态值
|
|
/// </summary>
|
|
[JsonProperty("Status")]
|
|
public long? Status{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态值
|
|
/// </summary>
|
|
[JsonProperty("Code")]
|
|
public long? Code{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行时间
|
|
/// </summary>
|
|
[JsonProperty("CostTime")]
|
|
public long? CostTime{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 实例ID
|
|
/// </summary>
|
|
[JsonProperty("InstanceId")]
|
|
public string InstanceId{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 后端任务ID
|
|
/// </summary>
|
|
[JsonProperty("WorkId")]
|
|
public string WorkId{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 导入文件名
|
|
/// </summary>
|
|
[JsonProperty("FileName")]
|
|
public string FileName{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行进度
|
|
/// </summary>
|
|
[JsonProperty("Process")]
|
|
public long? Process{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务创建时间
|
|
/// </summary>
|
|
[JsonProperty("CreateTime")]
|
|
public string CreateTime{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 文件大小
|
|
/// </summary>
|
|
[JsonProperty("FileSize")]
|
|
public string FileSize{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务执行信息
|
|
/// </summary>
|
|
[JsonProperty("Message")]
|
|
public string Message{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务ID
|
|
/// </summary>
|
|
[JsonProperty("JobId")]
|
|
public long? JobId{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 导入库表名
|
|
/// </summary>
|
|
[JsonProperty("DbName")]
|
|
public string DbName{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 异步任务的请求ID
|
|
/// </summary>
|
|
[JsonProperty("AsyncRequestId")]
|
|
public string AsyncRequestId{ get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// For internal usage only. DO NOT USE IT.
|
|
/// </summary>
|
|
internal override void ToMap(Dictionary<string, string> 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);
|
|
}
|
|
}
|
|
}
|
|
|