OSSAllRequestNeededMessage.h 1003 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // OSSAllRequestNeededMessage.h
  3. // AliyunOSSSDK
  4. //
  5. // Created by huaixu on 2018/1/22.
  6. // Copyright © 2018年 aliyun. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "OSSConstants.h"
  10. #import "OSSTask.h"
  11. /**
  12. All necessary information in one OSS request.
  13. */
  14. @interface OSSAllRequestNeededMessage : NSObject
  15. @property (nonatomic, strong) NSString *endpoint;
  16. @property (nonatomic, strong) NSString *httpMethod;
  17. @property (nonatomic, strong) NSString *bucketName;
  18. @property (nonatomic, strong) NSString *objectKey;
  19. @property (nonatomic, strong) NSString *contentType;
  20. @property (nonatomic, strong) NSString *contentMd5;
  21. @property (nonatomic, strong) NSString *date;
  22. @property (nonatomic, strong) NSMutableDictionary *headerParams;
  23. @property (nonatomic, copy) NSDictionary *params;
  24. @property (nonatomic, copy) NSString *contentSHA1;
  25. @property (nonatomic, assign) BOOL isHostInCnameExcludeList;
  26. - (OSSTask *)validateRequestParamsInOperationType:(OSSOperationType)operType;
  27. @end