/* * 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 BackupSummaryItem : AbstractModel { /// /// 实例ID。 /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 该实例自动数据备份的个数。 /// [JsonProperty("AutoBackupCount")] public long? AutoBackupCount{ get; set; } /// /// 该实例自动数据备份的容量。 /// [JsonProperty("AutoBackupVolume")] public long? AutoBackupVolume{ get; set; } /// /// 该实例手动数据备份的个数。 /// [JsonProperty("ManualBackupCount")] public long? ManualBackupCount{ get; set; } /// /// 该实例手动数据备份的容量。 /// [JsonProperty("ManualBackupVolume")] public long? ManualBackupVolume{ get; set; } /// /// 该实例总的数据备份(包含自动备份和手动备份)个数。 /// [JsonProperty("DataBackupCount")] public long? DataBackupCount{ get; set; } /// /// 该实例总的数据备份容量。 /// [JsonProperty("DataBackupVolume")] public long? DataBackupVolume{ get; set; } /// /// 该实例日志备份的个数。 /// [JsonProperty("BinlogBackupCount")] public long? BinlogBackupCount{ get; set; } /// /// 该实例日志备份的容量。 /// [JsonProperty("BinlogBackupVolume")] public long? BinlogBackupVolume{ get; set; } /// /// 该实例的总备份(包含数据备份和日志备份)占用容量。 /// [JsonProperty("BackupVolume")] public long? BackupVolume{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "AutoBackupCount", this.AutoBackupCount); this.SetParamSimple(map, prefix + "AutoBackupVolume", this.AutoBackupVolume); this.SetParamSimple(map, prefix + "ManualBackupCount", this.ManualBackupCount); this.SetParamSimple(map, prefix + "ManualBackupVolume", this.ManualBackupVolume); this.SetParamSimple(map, prefix + "DataBackupCount", this.DataBackupCount); this.SetParamSimple(map, prefix + "DataBackupVolume", this.DataBackupVolume); this.SetParamSimple(map, prefix + "BinlogBackupCount", this.BinlogBackupCount); this.SetParamSimple(map, prefix + "BinlogBackupVolume", this.BinlogBackupVolume); this.SetParamSimple(map, prefix + "BackupVolume", this.BackupVolume); } } }