GetBucketRefererRequest.cs 557 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. namespace COSXML.Model.Bucket
  6. {
  7. /// <summary>
  8. /// 查询 Bucket 的防盗链配置
  9. /// <see href="https://cloud.tencent.com/document/product/436/32493"/>
  10. /// </summary>
  11. public sealed class GetBucketRefererRequest : BucketRequest
  12. {
  13. public GetBucketRefererRequest(string bucket)
  14. : base(bucket)
  15. {
  16. this.method = CosRequestMethod.GET;
  17. this.queryParameters.Add("referer", null);
  18. }
  19. }
  20. }