FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Coding-iOS/Coding_iOS/Models/ProjectFile.h at master · HannibalSWX/Coding-iOS · GitHub
HannibalSWX
/
Coding-iOS
Public
forked from
coding/Coding-iOS
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectFile.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
52 lines (37 loc) · 1.46 KB
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectFile.h
Copy path
File metadata and controls
executable file
·
52 lines (37 loc) · 1.46 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
//
//
ProjectFile.h
//
Coding_iOS
//
//
Created by Ease on 14/11/13.
//
Copyright (c) 2014年 Coding. All rights reserved.
//
#
import
<
Foundation/Foundation.h
>
#
import
"
User.h
"
typedef
NS_ENUM
(
NSInteger
, DownloadState){
DownloadStateDefault =
0
,
DownloadStateDownloading,
DownloadStatePausing,
DownloadStateDownloaded
};
@class
Coding_DownloadTask;
@interface
ProjectFile
:
NSObject
@property
(
readwrite
,
nonatomic
,
strong
)
NSDate
*created_at, *updated_at;
@property
(
readwrite
,
nonatomic
,
strong
)
NSNumber
*
id
,*file_id, *owner_id, *parent_id, *type, *current_user_role_id, *size, *project_id, *number;
@property
(
readwrite
,
nonatomic
,
strong
)
NSString
*name, *fileType, *owner_preview, *preview, *storage_key, *storage_type, *title, *share_url,*path;
@property
(
readwrite
,
nonatomic
,
strong
) User *owner;
@property
(
strong
,
nonatomic
,
readonly
)
NSString
*diskFileName;
+(ProjectFile *)
fileWithFileId
:
(
NSNumber
*)
fileId
andProjectId
:
(
NSNumber
*)
project_id
;
- (
instancetype
)
initWithFileId
:
(
NSNumber
*)
fileId
inProject
:
(
NSString
*)
project_name
ofUser
:
(
NSString
*)
project_owner_name
;
- (
BOOL
)
isEmpty
;
- (DownloadState)
downloadState
;
- (Coding_DownloadTask *)
cDownloadTask
;
- (
NSURL
*)
hasBeenDownload
;
- (
NSString
*)
downloadPath
;
- (
NSString
*)
toDeletePath
;
- (
NSDictionary
*)
toDeleteParams
;
- (
NSDictionary
*)
toMoveToParams
;
- (
NSString
*)
toDetailPath
;
- (
NSString
*)
toActivityListPath
;
- (
NSString
*)
toHistoryListPath
;
- (
NSDictionary
*)
toShareParams
;
@end
Back
|
FazBrowse Home
|
New Git URL