root / Classes / OpenStackAccount.h @ ef74c42f
History | View | Annotate | Download (1.3 kB)
1 |
//
|
---|---|
2 |
// Account.h
|
3 |
// OpenStack
|
4 |
//
|
5 |
// Created by Mike Mayo on 10/1/10.
|
6 |
// The OpenStack project is provided under the Apache 2.0 license.
|
7 |
//
|
8 |
|
9 |
@class Provider;
|
10 |
@class AccountManager;
|
11 |
|
12 |
@interface OpenStackAccount : NSObject <NSCoding, NSCopying> {
|
13 |
} |
14 |
|
15 |
@property (nonatomic, assign) BOOL hasBeenRefreshed;
|
16 |
@property (nonatomic, retain) NSString *uuid;
|
17 |
@property (nonatomic, retain) Provider *provider;
|
18 |
@property (nonatomic, retain) NSString *username;
|
19 |
@property (nonatomic, retain) NSString *apiKey;
|
20 |
@property (nonatomic, retain) NSString *authToken;
|
21 |
@property (nonatomic, readonly) NSURL *filesURL;
|
22 |
@property (nonatomic, retain) AccountManager *manager;
|
23 |
@property (nonatomic, retain) NSNumber *bytesUsed;
|
24 |
@property (nonatomic, retain) NSNumber *policyQuota;
|
25 |
@property (nonatomic, retain) NSMutableDictionary *containers;
|
26 |
@property (nonatomic, assign) BOOL flaggedForDelete;
|
27 |
@property (nonatomic, assign) BOOL shared;
|
28 |
@property (nonatomic, retain) NSString *sharingAccount;
|
29 |
@property (nonatomic, retain) NSMutableDictionary *userCatalog;
|
30 |
@property (nonatomic, assign) BOOL ignoreSSLErrors;
|
31 |
|
32 |
+ (NSArray *)accounts; |
33 |
+ (void)persist:(NSArray *)accountArray;
|
34 |
|
35 |
- (void)persist;
|
36 |
- (NSArray *)pithosSortedContainers; |
37 |
- (NSString *)displaynameForUUID:(NSString *)UUID safe:(BOOL)safe; |
38 |
- (NSString *)displaynameForUUID:(NSString *)UUID; |
39 |
|
40 |
@end
|