/* * 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 { /// /// 表格名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableName")] public string TableName{ get; set; } /// /// 表格实例ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableInstanceId")] public string TableInstanceId{ get; set; } /// /// 表格数据结构类型,如:`GENERIC`或`LIST` /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableType")] public string TableType{ get; set; } /// /// 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR` /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableIdlType")] public string TableIdlType{ get; set; } /// /// 表格所属集群ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterId")] public string ClusterId{ get; set; } /// /// 表格所属集群名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterName")] public string ClusterName{ get; set; } /// /// 表格所属表格组ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableGroupId")] public string TableGroupId{ get; set; } /// /// 表格所属表格组名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableGroupName")] public string TableGroupName{ get; set; } /// /// 表格主键字段结构json字符串 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("KeyStruct")] public string KeyStruct{ get; set; } /// /// 表格非主键字段结构json字符串 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ValueStruct")] public string ValueStruct{ get; set; } /// /// 表格分表因子集合,对PROTO类型表格有效 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ShardingKeySet")] public string ShardingKeySet{ get; set; } /// /// 表格索引键字段集合,对PROTO类型表格有效 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("IndexStruct")] public string IndexStruct{ get; set; } /// /// LIST类型表格元素个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ListElementNum")] public ulong? ListElementNum{ get; set; } /// /// 表格所关联IDL文件信息列表 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("IdlFiles")] public IdlFileInfo[] IdlFiles{ get; set; } /// /// 表格预留容量(GB) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ReservedVolume")] public long? ReservedVolume{ get; set; } /// /// 表格预留读QPS /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ReservedReadQps")] public long? ReservedReadQps{ get; set; } /// /// 表格预留写QPS /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ReservedWriteQps")] public long? ReservedWriteQps{ get; set; } /// /// 表格实际数据量大小(MB) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TableSize")] public long? TableSize{ get; set; } /// /// 表格状态 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Status")] public string Status{ get; set; } /// /// 表格创建时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// 表格最后一次修改时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("UpdatedTime")] public string UpdatedTime{ get; set; } /// /// 表格备注信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Memo")] public string Memo{ get; set; } /// /// 错误信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Error")] public ErrorInfo Error{ get; set; } /// /// TcaplusDB SDK数据访问接入ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ApiAccessId")] public string ApiAccessId{ get; set; } /// /// SORTLIST类型表格排序字段个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SortFieldNum")] public long? SortFieldNum{ get; set; } /// /// SORTLIST类型表格排序顺序 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SortRule")] public long? SortRule{ get; set; } /// /// 表格分布式索引信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DbClusterInfoStruct")] public string DbClusterInfoStruct{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary 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); } } }