using System;
using System.Xml.Serialization;
using System.Text;
using COSXML.Common;
using COSXML.Utils;
namespace COSXML.Model.Tag
{
[XmlRoot("RestoreRequest")]
public sealed class RestoreConfigure
{
///
/// 设置临时副本的过期时间
///
[XmlElement("Days")]
public int days;
///
/// 归档存储工作参数配置
///
///
[XmlElement("CASJobParameters")]
public CASJobParameters casJobParameters;
public sealed class CASJobParameters
{
///
/// 恢复数据时,Tier 可以指定为 CAS 支持的三种恢复类型,分别为 Expedited、Standard、Bulk
///
///
[XmlElement("Tier")]
public Tier tier = Tier.Standard;
}
public enum Tier
{
[CosValue("Expedited")]
Expedited = 0,
[CosValue("Standard")]
Standard,
[CosValue("Bulk")]
Bulk
}
}
}