Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
DBMetadata.h
Go to the documentation of this file.
1 //
2 // DBMetadata.h
3 // DropboxSDK
4 //
5 // Created by Brian Smith on 5/3/10.
6 // Copyright 2010 Dropbox, Inc. All rights reserved.
7 //
8 
9 
10 @interface DBMetadata : NSObject <NSCoding> {
12  long long totalBytes;
14  NSDate *clientMtime; // file's mtime for display purposes only
15  NSString* path;
17  NSArray* contents;
18  NSString* hash;
19  NSString* humanReadableSize;
20  NSString* root;
21  NSString* icon;
22  NSString* rev;
23  long long revision; // Deprecated; will be removed in version 2. Use rev whenever possible
24  BOOL isDeleted;
25 
26  NSString *filename;
27 }
28 
29 - (id)initWithDictionary:(NSDictionary*)dict;
30 
31 @property (nonatomic, readonly) BOOL thumbnailExists;
32 @property (nonatomic, readonly) long long totalBytes;
33 @property (nonatomic, readonly) NSDate* lastModifiedDate;
34 @property (nonatomic, readonly) NSDate* clientMtime;
35 @property (nonatomic, readonly) NSString* path;
36 @property (nonatomic, readonly) BOOL isDirectory;
37 @property (nonatomic, readonly) NSArray* contents;
38 @property (nonatomic, readonly) NSString* hash;
39 @property (nonatomic, readonly) NSString* humanReadableSize;
40 @property (nonatomic, readonly) NSString* root;
41 @property (nonatomic, readonly) NSString* icon;
42 @property (nonatomic, readonly) long long revision; // Deprecated, use rev instead
43 @property (nonatomic, readonly) NSString* rev;
44 @property (nonatomic, readonly) BOOL isDeleted;
45 @property (nonatomic, readonly) NSString* filename;
46 
47 @end