/* * 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 BackupInfo : AbstractModel { /// /// 备份文件名 /// [JsonProperty("Name")] public string Name{ get; set; } /// /// 备份文件大小,单位:Byte /// [JsonProperty("Size")] public long? Size{ get; set; } /// /// 备份快照时间,时间格式:2016-03-17 02:10:37 /// [JsonProperty("Date")] public string Date{ get; set; } /// /// 内网下载地址 /// [JsonProperty("IntranetUrl")] public string IntranetUrl{ get; set; } /// /// 外网下载地址 /// [JsonProperty("InternetUrl")] public string InternetUrl{ get; set; } /// /// 日志具体类型。可能的值有 "logical": 逻辑冷备, "physical": 物理冷备。 /// [JsonProperty("Type")] public string Type{ get; set; } /// /// 备份子任务的ID,删除备份文件时使用 /// [JsonProperty("BackupId")] public long? BackupId{ get; set; } /// /// 备份任务状态。可能的值有 "SUCCESS": 备份成功, "FAILED": 备份失败, "RUNNING": 备份进行中。 /// [JsonProperty("Status")] public string Status{ get; set; } /// /// 备份任务的完成时间 /// [JsonProperty("FinishTime")] public string FinishTime{ get; set; } /// /// (该值将废弃,不建议使用)备份的创建者,可能的值:SYSTEM - 系统创建,Uin - 发起者Uin值。 /// [JsonProperty("Creator")] public string Creator{ get; set; } /// /// 备份任务的开始时间 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 备份方法。可能的值有 "full": 全量备份, "partial": 部分备份。 /// [JsonProperty("Method")] public string Method{ get; set; } /// /// 备份方式。可能的值有 "manual": 手动备份, "automatic": 自动备份。 /// [JsonProperty("Way")] public string Way{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Name", this.Name); this.SetParamSimple(map, prefix + "Size", this.Size); this.SetParamSimple(map, prefix + "Date", this.Date); this.SetParamSimple(map, prefix + "IntranetUrl", this.IntranetUrl); this.SetParamSimple(map, prefix + "InternetUrl", this.InternetUrl); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "BackupId", this.BackupId); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "FinishTime", this.FinishTime); this.SetParamSimple(map, prefix + "Creator", this.Creator); this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "Method", this.Method); this.SetParamSimple(map, prefix + "Way", this.Way); } } }