Files
g.hnyhua.cn/TencentCloud/Mongodb/V20190725/Models/BackupInfo.cs

104 lines
3.5 KiB
C#
Raw Normal View History

/*
* 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.Mongodb.V20190725.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BackupInfo : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 备份方式0-自动备份1-手动备份
/// </summary>
[JsonProperty("BackupType")]
public ulong? BackupType{ get; set; }
/// <summary>
/// 备份名称
/// </summary>
[JsonProperty("BackupName")]
public string BackupName{ get; set; }
/// <summary>
/// 备份备注
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BackupDesc")]
public string BackupDesc{ get; set; }
/// <summary>
/// 备份文件大小单位KB
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BackupSize")]
public ulong? BackupSize{ get; set; }
/// <summary>
/// 备份开始时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 备份结束时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 备份状态1-备份中2-备份成功
/// </summary>
[JsonProperty("Status")]
public ulong? Status{ get; set; }
/// <summary>
/// 备份方法0-逻辑备份1-物理备份
/// </summary>
[JsonProperty("BackupMethod")]
public ulong? BackupMethod{ 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 + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "BackupType", this.BackupType);
this.SetParamSimple(map, prefix + "BackupName", this.BackupName);
this.SetParamSimple(map, prefix + "BackupDesc", this.BackupDesc);
this.SetParamSimple(map, prefix + "BackupSize", this.BackupSize);
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "BackupMethod", this.BackupMethod);
}
}
}