namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /componenttcb/dbcollection 接口的响应。 /// public class ComponentTCBDbCollectionResponse : WechatApiResponse { public static class Types { public class Collection { /// /// 获取或设置集合名称。 /// [Newtonsoft.Json.JsonProperty("name")] [System.Text.Json.Serialization.JsonPropertyName("name")] public string CollectionName { get; set; } = default!; /// /// 获取或设置数量。 /// [Newtonsoft.Json.JsonProperty("count")] [System.Text.Json.Serialization.JsonPropertyName("count")] public int RecordCount { get; set; } /// /// 获取或设置大小。 /// [Newtonsoft.Json.JsonProperty("size")] [System.Text.Json.Serialization.JsonPropertyName("size")] public int RecordSize { get; set; } /// /// 获取或设置索引数量。 /// [Newtonsoft.Json.JsonProperty("index_count")] [System.Text.Json.Serialization.JsonPropertyName("index_count")] public int IndexCount { get; set; } /// /// 获取或设置索引大小。 /// [Newtonsoft.Json.JsonProperty("index_size")] [System.Text.Json.Serialization.JsonPropertyName("index_size")] public int IndexSize { get; set; } } } /// /// 获取或设置集合列表。 /// [Newtonsoft.Json.JsonProperty("collections")] [System.Text.Json.Serialization.JsonPropertyName("collections")] public Types.Collection[]? CollectionList { get; set; } /// /// 获取或设置总数量。 /// [Newtonsoft.Json.JsonProperty("total")] [System.Text.Json.Serialization.JsonPropertyName("total")] public int? TotalCount { get; set; } } }