InitiateMultipartUpload.cs 931 B

123456789101112131415161718192021222324252627282930313233
  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/7746"/>
  10. /// </summary>
  11. [XmlRoot("InitiateMultipartUploadResult")]
  12. public sealed class InitiateMultipartUpload
  13. {
  14. /// <summary>
  15. /// 分片上传的目标 Bucket,由用户自定义字符串和系统生成appid数字串由中划线连接而成,如:mybucket-1250000000.
  16. /// </summary>
  17. [XmlElement("Bucket")]
  18. public string bucket;
  19. /// <summary>
  20. /// Object 的名称
  21. /// </summary>
  22. [XmlElement("Key")]
  23. public string key;
  24. /// <summary>
  25. /// 在后续上传中使用的 ID
  26. /// </summary>
  27. [XmlElement("UploadId")]
  28. public string uploadId;
  29. }
  30. }