forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileVersion.h
More file actions
29 lines (23 loc) · 860 Bytes
/
FileVersion.h
File metadata and controls
29 lines (23 loc) · 860 Bytes
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
//
// FileVersion.h
// Coding_iOS
//
// Created by Ease on 15/8/12.
// Copyright (c) 2015年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ProjectFile.h"
@interface FileVersion : NSObject
@property (strong, nonatomic) NSNumber *file_id, *history_id, *owner_id, *parent_id, *size, *type, *version, *action, *project_id;
@property (strong, nonatomic) NSString *action_msg, *name, *remark, *storage_key, *storage_type, *fileType, *preview, *owner_preview;
@property (strong, nonatomic) NSDate *created_at;
@property (readwrite, nonatomic, strong) User *owner;
@property (strong, nonatomic, readonly) NSString *diskFileName;
- (NSString *)downloadPath;
- (NSString *)toRemarkPath;
- (NSString *)toDeletePath;
//download
- (DownloadState)downloadState;
- (Coding_DownloadTask *)cDownloadTask;
- (NSURL *)hasBeenDownload;
@end