1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
-
- using System.Xml.Serialization;
- using Aliyun.OSS.Util;
- namespace Aliyun.OSS
- {
-
-
-
- [XmlRoot("DeleteResult")]
- public class DeleteObjectsResult
- {
- private DeletedObject[] _keys;
-
-
-
- [XmlElement("Deleted")]
- public DeletedObject[] Keys
- {
- get
- {
- if (EncodingType == null)
- return _keys;
- bool isUrlEncoding = EncodingType.ToLowerInvariant().Equals(HttpUtils.UrlEncodingType);
- foreach (var key in _keys)
- {
- key.Key = isUrlEncoding ? HttpUtils.DecodeUri(key.Key) : key.Key;
- }
- return _keys;
- }
- set
- {
- this._keys = value;
- }
- }
-
-
-
- [XmlElement("EncodingType")]
- public string EncodingType { get; set; }
- internal DeleteObjectsResult()
- {
- }
-
-
-
- [XmlRoot("Deleted")]
- public class DeletedObject
- {
-
-
-
- [XmlElement("Key")]
- public string Key { get; set; }
- }
- }
- }
|