125 lines
4.6 KiB
C#
125 lines
4.6 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.Tcaplusdb.V20190823.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class TableRollbackResultNew : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 表格实例ID,形如:tcaplus-3be64cbb
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TableInstanceId")]
|
||
public string TableInstanceId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 任务ID,对于创建单任务的接口有效
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TaskId")]
|
||
public string TaskId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 表格名称
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TableName")]
|
||
public string TableName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 表格数据结构类型,如:`GENERIC`或`LIST`
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TableType")]
|
||
public string TableType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TableIdlType")]
|
||
public string TableIdlType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 表格所属表格组ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TableGroupId")]
|
||
public string TableGroupId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 错误信息
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Error")]
|
||
public ErrorInfo Error{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 任务ID列表,对于创建多任务的接口有效
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TaskIds")]
|
||
public string[] TaskIds{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 上传的key文件ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("FileId")]
|
||
public string FileId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 校验成功Key数量
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SuccKeyNum")]
|
||
public ulong? SuccKeyNum{ get; set; }
|
||
|
||
/// <summary>
|
||
/// Key文件中包含总的Key数量
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TotalKeyNum")]
|
||
public ulong? TotalKeyNum{ 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 + "TableInstanceId", this.TableInstanceId);
|
||
this.SetParamSimple(map, prefix + "TaskId", this.TaskId);
|
||
this.SetParamSimple(map, prefix + "TableName", this.TableName);
|
||
this.SetParamSimple(map, prefix + "TableType", this.TableType);
|
||
this.SetParamSimple(map, prefix + "TableIdlType", this.TableIdlType);
|
||
this.SetParamSimple(map, prefix + "TableGroupId", this.TableGroupId);
|
||
this.SetParamObj(map, prefix + "Error.", this.Error);
|
||
this.SetParamArraySimple(map, prefix + "TaskIds.", this.TaskIds);
|
||
this.SetParamSimple(map, prefix + "FileId", this.FileId);
|
||
this.SetParamSimple(map, prefix + "SuccKeyNum", this.SuccKeyNum);
|
||
this.SetParamSimple(map, prefix + "TotalKeyNum", this.TotalKeyNum);
|
||
}
|
||
}
|
||
}
|
||
|