QRCodeRecognitionRequest.cs 557 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. using COSXML.Model.Object;
  6. using COSXML.CosException;
  7. namespace COSXML.Model.CI
  8. {
  9. public sealed class QRCodeRecognitionRequest : ObjectRequest
  10. {
  11. public QRCodeRecognitionRequest(string bucket, string key, int cover)
  12. : base(bucket, key)
  13. {
  14. this.method = CosRequestMethod.GET;
  15. this.queryParameters.Add("ci-process", "QRcode");
  16. this.queryParameters.Add("cover", cover.ToString());
  17. }
  18. }
  19. }