/* * 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 DescribeBackupSummariesRequest : AbstractModel { /// /// 需要查询的云数据库产品类型,目前仅支持 "mysql"。 /// [JsonProperty("Product")] public string Product{ get; set; } /// /// 分页查询数据的偏移量。 /// [JsonProperty("Offset")] public long? Offset{ get; set; } /// /// 分页查询数据的条目限制,默认值为20。 /// [JsonProperty("Limit")] public long? Limit{ get; set; } /// /// 指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。 /// [JsonProperty("OrderBy")] public string OrderBy{ get; set; } /// /// 指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。 /// [JsonProperty("OrderDirection")] public string OrderDirection{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Product", this.Product); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy); this.SetParamSimple(map, prefix + "OrderDirection", this.OrderDirection); } } }