GetServiceRequest.cs 834 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. namespace COSXML.Model.Service
  6. {
  7. /// <summary>
  8. /// 获取所有 Bucket 列表
  9. /// <see href="https://cloud.tencent.com/document/product/436/8291"/>
  10. /// </summary>
  11. public sealed class GetServiceRequest : CosRequest
  12. {
  13. public string host { get; set; }
  14. public GetServiceRequest()
  15. {
  16. method = CosRequestMethod.GET;
  17. path = "/";
  18. host = "service.cos.myqcloud.com";
  19. }
  20. public override string GetHost()
  21. {
  22. return host;
  23. }
  24. public override Network.RequestBody GetRequestBody()
  25. {
  26. return null;
  27. }
  28. public override void CheckParameters()
  29. {
  30. return;
  31. }
  32. }
  33. }