ListBucketInventoryRequest.cs 678 B

123456789101112131415161718192021222324252627
  1. using COSXML.Common;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace COSXML.Model.Bucket
  6. {
  7. public sealed class ListBucketInventoryRequest : BucketRequest
  8. {
  9. private String continuationToken;
  10. public ListBucketInventoryRequest(string bucket) : base(bucket)
  11. {
  12. this.method = CosRequestMethod.GET;
  13. this.queryParameters.Add("inventory", null);
  14. }
  15. public void SetContinuationToken(String continuationToken)
  16. {
  17. if (continuationToken != null)
  18. {
  19. SetQueryParameter("continuation-token", continuationToken);
  20. }
  21. }
  22. }
  23. }