CompleteMultipartUpload.cs 918 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Xml.Serialization;
  4. using System.Text;
  5. namespace COSXML.Model.Tag
  6. {
  7. /// <summary>
  8. /// 本次分块上传的所有信息
  9. /// <see href="https://cloud.tencent.com/document/product/436/7742"/>
  10. /// </summary>
  11. [XmlRoot]
  12. public sealed class CompleteMultipartUpload
  13. {
  14. /// <summary>
  15. /// 本次分块上传中每个块的信息
  16. /// <see href="Part"/>
  17. /// </summary>
  18. [XmlElement("Part")]
  19. public List<Part> parts;
  20. public sealed class Part
  21. {
  22. /// <summary>
  23. /// 块编号
  24. /// </summary>
  25. [XmlElement("PartNumber")]
  26. public int partNumber;
  27. /// <summary>
  28. /// 每个块文件的 eTag 值
  29. /// </summary>
  30. [XmlElement("ETag")]
  31. public string eTag;
  32. }
  33. }
  34. }