杨锴
2025-04-16 09a372bc45fde16fd42257ab6f78b8deeecf720b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//
//  OSSGetBucketInfoResult.h
//  AliyunOSSSDK
//
//  Created by huaixu on 2018/7/10.
//  Copyright © 2018年 aliyun. All rights reserved.
//
 
#import "OSSResult.h"
 
@interface OSSBucketOwner : NSObject
 
@property (nonatomic, copy) NSString *userName;
 
@property (nonatomic, copy) NSString *userId;
 
@end
 
@interface OSSAccessControlList : NSObject
 
@property (nonatomic, copy) NSString *grant;
 
@end
 
 
 
@interface OSSGetBucketInfoResult : OSSResult
 
/// Created date.
@property (nonatomic, copy) NSString *creationDate;
 
/// Bucket name.
@property (nonatomic, copy) NSString *bucketName;
 
/// Bucket location.
@property (nonatomic, copy) NSString *location;
 
/// Storage class (Standard, IA, Archive)
@property (nonatomic, copy) NSString *storageClass;
 
/**
 Internal endpoint. It could be accessed within AliCloud under the same
 location.
 */
@property (nonatomic, copy) NSString *intranetEndpoint;
 
/**
 External endpoint.It could be accessed from anywhere.
 */
@property (nonatomic, copy) NSString *extranetEndpoint;
 
/// Bucket owner.
@property (nonatomic, strong) OSSBucketOwner *owner;
 
@property (nonatomic, strong) OSSAccessControlList *acl;
 
@end