OSSGetBucketInfoResult.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //
  2. // OSSGetBucketInfoResult.h
  3. // AliyunOSSSDK
  4. //
  5. // Created by huaixu on 2018/7/10.
  6. // Copyright © 2018年 aliyun. All rights reserved.
  7. //
  8. #import "OSSResult.h"
  9. @interface OSSBucketOwner : NSObject
  10. @property (nonatomic, copy) NSString *userName;
  11. @property (nonatomic, copy) NSString *userId;
  12. @end
  13. @interface OSSAccessControlList : NSObject
  14. @property (nonatomic, copy) NSString *grant;
  15. @end
  16. @interface OSSGetBucketInfoResult : OSSResult
  17. /// Created date.
  18. @property (nonatomic, copy) NSString *creationDate;
  19. /// Bucket name.
  20. @property (nonatomic, copy) NSString *bucketName;
  21. /// Bucket location.
  22. @property (nonatomic, copy) NSString *location;
  23. /// Storage class (Standard, IA, Archive)
  24. @property (nonatomic, copy) NSString *storageClass;
  25. /**
  26. Internal endpoint. It could be accessed within AliCloud under the same
  27. location.
  28. */
  29. @property (nonatomic, copy) NSString *intranetEndpoint;
  30. /**
  31. External endpoint.It could be accessed from anywhere.
  32. */
  33. @property (nonatomic, copy) NSString *extranetEndpoint;
  34. /// Bucket owner.
  35. @property (nonatomic, strong) OSSBucketOwner *owner;
  36. @property (nonatomic, strong) OSSAccessControlList *acl;
  37. @end