@@ -55,9 +55,70 @@ public class BatchData
5555 public long PutTime { get ; set ; }
5656
5757 /// <summary>
58- /// 文件存储类型
58+ /// 文件存储类型。
59+ /// 0 标准存储
60+ /// 1 低频存储
61+ /// 2 归档存储
62+ /// 3 深度归档存储
5963 /// </summary>
6064 [ JsonProperty ( "type" , NullValueHandling = NullValueHandling . Ignore ) ]
6165 public int FileType { get ; set ; }
66+
67+ /// <summary>
68+ /// 文件解冻状态。
69+ /// 1 解冻中
70+ /// 2 已解冻
71+ /// 0 如果是归档/深度归档,但处于冻结,后端不返回此字段,因此默认值为 0。请勿依赖 0 判断冻结状态
72+ /// </summary>
73+ [ JsonProperty ( "restoreStatus" , NullValueHandling = NullValueHandling . Ignore ) ]
74+ public int RestoreStatus { get ; set ; }
75+
76+ /// <summary>
77+ /// 文件的存储状态。
78+ /// 0 启用,非禁用后端不返回此字段,因此默认值为 0。
79+ /// 1 禁用
80+ /// </summary>
81+ [ JsonProperty ( "status" , NullValueHandling = NullValueHandling . Ignore ) ]
82+ public int Status { get ; set ; }
83+
84+ /// <summary>
85+ /// 文件的 md5 值。
86+ /// 服务端不确保一定返回此字段,详见:
87+ /// https://developer.qiniu.com/kodo/1308/stat#:~:text=%E8%AF%A5%E5%AD%97%E6%AE%B5%E3%80%82-,md5,-%E5%90%A6
88+ /// </summary>
89+ [ JsonProperty ( "md5" , NullValueHandling = NullValueHandling . Ignore ) ]
90+ public string Md5 { get ; set ; }
91+
92+ /// <summary>
93+ /// 文件过期删除日期,Unix 时间戳格式。
94+ /// 文件在设置过期时间后才会返回该字段。
95+ /// 历史文件过期仍会自动删除,但不会返回该字段,重新设置文件过期时间可使历史文件返回该字段。
96+ /// </summary>
97+ [ JsonProperty ( "expiration" , NullValueHandling = NullValueHandling . Ignore ) ]
98+ public int Expiration { get ; set ; }
99+
100+ /// <summary>
101+ /// 文件生命周期中转为低频存储的日期,Unix 时间戳格式。
102+ /// 文件在设置过期时间后才会返回该字段。
103+ /// 历史文件过期仍会自动删除,但不会返回该字段,重新设置文件过期时间可使历史文件返回该字段。
104+ /// </summary>
105+ [ JsonProperty ( "TransitionToIA" , NullValueHandling = NullValueHandling . Ignore ) ]
106+ public int TransitionToIa { get ; set ; }
107+
108+ /// <summary>
109+ /// 文件生命周期中转为归档存储的日期,Unix 时间戳格式。
110+ /// 文件在设置过期时间后才会返回该字段。
111+ /// 历史文件过期仍会自动删除,但不会返回该字段,重新设置文件过期时间可使历史文件返回该字段。
112+ /// </summary>
113+ [ JsonProperty ( "transitionToARCHIVE" , NullValueHandling = NullValueHandling . Ignore ) ]
114+ public int TransitionToArchive { get ; set ; }
115+
116+ /// <summary>
117+ /// 文件生命周期中转为深度归档存储的日期,Unix 时间戳格式。
118+ /// 文件在设置过期时间后才会返回该字段。
119+ /// 历史文件过期仍会自动删除,但不会返回该字段,重新设置文件过期时间可使历史文件返回该字段。
120+ /// </summary>
121+ [ JsonProperty ( "transitionToDeepArchive" , NullValueHandling = NullValueHandling . Ignore ) ]
122+ public int TransitionToDeepArchive { get ; set ; }
62123 }
63124}
0 commit comments