Files
g.hnyhua.cn/TencentCloud/Tcaplusdb/V20190823/Models/TableInfoNew.cs
2026-02-07 15:48:27 +08:00

253 lines
9.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 TableInfoNew : AbstractModel
{
/// <summary>
/// 表格名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TableName")]
public string TableName{ get; set; }
/// <summary>
/// 表格实例ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TableInstanceId")]
public string TableInstanceId{ 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("ClusterId")]
public string ClusterId{ get; set; }
/// <summary>
/// 表格所属集群名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ClusterName")]
public string ClusterName{ get; set; }
/// <summary>
/// 表格所属表格组ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TableGroupId")]
public string TableGroupId{ get; set; }
/// <summary>
/// 表格所属表格组名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TableGroupName")]
public string TableGroupName{ get; set; }
/// <summary>
/// 表格主键字段结构json字符串
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("KeyStruct")]
public string KeyStruct{ get; set; }
/// <summary>
/// 表格非主键字段结构json字符串
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ValueStruct")]
public string ValueStruct{ get; set; }
/// <summary>
/// 表格分表因子集合对PROTO类型表格有效
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ShardingKeySet")]
public string ShardingKeySet{ get; set; }
/// <summary>
/// 表格索引键字段集合对PROTO类型表格有效
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IndexStruct")]
public string IndexStruct{ get; set; }
/// <summary>
/// LIST类型表格元素个数
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ListElementNum")]
public ulong? ListElementNum{ get; set; }
/// <summary>
/// 表格所关联IDL文件信息列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IdlFiles")]
public IdlFileInfo[] IdlFiles{ get; set; }
/// <summary>
/// 表格预留容量GB
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ReservedVolume")]
public long? ReservedVolume{ get; set; }
/// <summary>
/// 表格预留读QPS
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ReservedReadQps")]
public long? ReservedReadQps{ get; set; }
/// <summary>
/// 表格预留写QPS
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ReservedWriteQps")]
public long? ReservedWriteQps{ get; set; }
/// <summary>
/// 表格实际数据量大小MB
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TableSize")]
public long? TableSize{ get; set; }
/// <summary>
/// 表格状态
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 表格创建时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 表格最后一次修改时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("UpdatedTime")]
public string UpdatedTime{ get; set; }
/// <summary>
/// 表格备注信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Memo")]
public string Memo{ get; set; }
/// <summary>
/// 错误信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Error")]
public ErrorInfo Error{ get; set; }
/// <summary>
/// TcaplusDB SDK数据访问接入ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ApiAccessId")]
public string ApiAccessId{ get; set; }
/// <summary>
/// SORTLIST类型表格排序字段个数
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SortFieldNum")]
public long? SortFieldNum{ get; set; }
/// <summary>
/// SORTLIST类型表格排序顺序
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SortRule")]
public long? SortRule{ get; set; }
/// <summary>
/// 表格分布式索引信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DbClusterInfoStruct")]
public string DbClusterInfoStruct{ 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 + "TableName", this.TableName);
this.SetParamSimple(map, prefix + "TableInstanceId", this.TableInstanceId);
this.SetParamSimple(map, prefix + "TableType", this.TableType);
this.SetParamSimple(map, prefix + "TableIdlType", this.TableIdlType);
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName);
this.SetParamSimple(map, prefix + "TableGroupId", this.TableGroupId);
this.SetParamSimple(map, prefix + "TableGroupName", this.TableGroupName);
this.SetParamSimple(map, prefix + "KeyStruct", this.KeyStruct);
this.SetParamSimple(map, prefix + "ValueStruct", this.ValueStruct);
this.SetParamSimple(map, prefix + "ShardingKeySet", this.ShardingKeySet);
this.SetParamSimple(map, prefix + "IndexStruct", this.IndexStruct);
this.SetParamSimple(map, prefix + "ListElementNum", this.ListElementNum);
this.SetParamArrayObj(map, prefix + "IdlFiles.", this.IdlFiles);
this.SetParamSimple(map, prefix + "ReservedVolume", this.ReservedVolume);
this.SetParamSimple(map, prefix + "ReservedReadQps", this.ReservedReadQps);
this.SetParamSimple(map, prefix + "ReservedWriteQps", this.ReservedWriteQps);
this.SetParamSimple(map, prefix + "TableSize", this.TableSize);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamSimple(map, prefix + "UpdatedTime", this.UpdatedTime);
this.SetParamSimple(map, prefix + "Memo", this.Memo);
this.SetParamObj(map, prefix + "Error.", this.Error);
this.SetParamSimple(map, prefix + "ApiAccessId", this.ApiAccessId);
this.SetParamSimple(map, prefix + "SortFieldNum", this.SortFieldNum);
this.SetParamSimple(map, prefix + "SortRule", this.SortRule);
this.SetParamSimple(map, prefix + "DbClusterInfoStruct", this.DbClusterInfoStruct);
}
}
}