/* * 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.Redis.V20180412.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class RedisBackupSet : AbstractModel { /// /// 开始备份的时间 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 备份ID /// [JsonProperty("BackupId")] public string BackupId{ get; set; } /// /// 备份类型。 manualBackupInstance:用户发起的手动备份; systemBackupInstance:凌晨系统发起的备份 /// [JsonProperty("BackupType")] public string BackupType{ get; set; } /// /// 备份状态。 1:"备份被其它流程锁定"; 2:"备份正常,没有被任何流程锁定"; -1:"备份已过期"; 3:"备份正在被导出"; 4:"备份导出成功" /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 备份的备注信息 /// [JsonProperty("Remark")] public string Remark{ get; set; } /// /// 备份是否被锁定,0:未被锁定;1:已被锁定 /// [JsonProperty("Locked")] public long? Locked{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "BackupId", this.BackupId); this.SetParamSimple(map, prefix + "BackupType", this.BackupType); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "Remark", this.Remark); this.SetParamSimple(map, prefix + "Locked", this.Locked); } } }