Files
2026-02-07 15:48:27 +08:00

79 lines
2.7 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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
{
/// <summary>
/// 开始备份的时间
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 备份ID
/// </summary>
[JsonProperty("BackupId")]
public string BackupId{ get; set; }
/// <summary>
/// 备份类型。 manualBackupInstance用户发起的手动备份 systemBackupInstance凌晨系统发起的备份
/// </summary>
[JsonProperty("BackupType")]
public string BackupType{ get; set; }
/// <summary>
/// 备份状态。 1:"备份被其它流程锁定"; 2:"备份正常,没有被任何流程锁定"; -1:"备份已过期" 3:"备份正在被导出"; 4:"备份导出成功"
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 备份的备注信息
/// </summary>
[JsonProperty("Remark")]
public string Remark{ get; set; }
/// <summary>
/// 备份是否被锁定0未被锁定1已被锁定
/// </summary>
[JsonProperty("Locked")]
public long? Locked{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> 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);
}
}
}