DescribeMediaBucketsRequest.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. using COSXML.Model.Object;
  6. using COSXML.Model.Tag;
  7. using COSXML.CosException;
  8. using COSXML.Utils;
  9. namespace COSXML.Model.CI
  10. {
  11. /// <summary>
  12. /// 提交视频审核任务
  13. /// <see href="https://cloud.tencent.com/document/product/436/47316"/>
  14. /// </summary>
  15. public sealed class DescribeMediaBucketsRequest : CIRequest
  16. {
  17. public DescribeMediaBucketsRequest() : base()
  18. {
  19. this.method = CosRequestMethod.GET;
  20. this.SetRequestPath("/mediabucket");
  21. }
  22. public void SetRegions(string regions)
  23. {
  24. this.queryParameters.Add("regions", regions);
  25. }
  26. public void SetBucketNames(string bucketNames)
  27. {
  28. this.queryParameters.Add("bucketNames", bucketNames);
  29. }
  30. public void SetBucketName(string bucketName)
  31. {
  32. this.queryParameters.Add("bucketName", bucketName);
  33. }
  34. public void SetPageNumber(string pageNumber)
  35. {
  36. this.queryParameters.Add("pageNumber", pageNumber);
  37. }
  38. public void SetPageSize(string pageSize)
  39. {
  40. this.queryParameters.Add("pageSize", pageSize);
  41. }
  42. }
  43. }