FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Coding-iOS/Coding_iOS/Models/ProjectFile.h at add-ldap-login · coding/Coding-iOS · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
coding
/
Coding-iOS
Public
Notifications
You must be signed in to change notification settings
Fork
1.3k
Star
3.8k
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
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
·
62 lines (46 loc) · 1.92 KB
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectFile.h
Copy path
File metadata and controls
executable file
·
62 lines (46 loc) · 1.92 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
53
54
55
56
57
58
59
60
61
62
//
//
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
"
#
import
"
FileShare.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, *count;
@property
(
readwrite
,
nonatomic
,
strong
)
NSString
*name, *owner_name, *fileType, *owner_preview, *preview, *storage_key, *storage_type, *title, *path;
@property
(
readwrite
,
nonatomic
,
strong
) User *owner;
@property
(
readwrite
,
nonatomic
,
strong
) FileShare *share, *share_ea;
@property
(
strong
,
nonatomic
,
readonly
)
NSString
*diskFileName, *storage_key_for_disk;
@property
(
strong
,
nonatomic
)
NSString
*next_name;
@property
(
strong
,
nonatomic
)
NSString
*project_name, *project_owner_name;
+ (ProjectFile *)
fileWithFileId
:
(
NSNumber
*)
fileId
andProjectId
:
(
NSNumber
*)
project_id
;
+ (
instancetype
)
sharedFolderInProject
:
(
NSString
*)
project_name
ofUser
:
(
NSString
*)
project_owner_name
;
- (
instancetype
)
initWithFileId
:
(
NSNumber
*)
fileId
inProject
:
(
NSString
*)
project_name
ofUser
:
(
NSString
*)
project_owner_name
;
- (
BOOL
)
isDefaultFolder
;
- (
BOOL
)
isSharedFolder
;
- (
BOOL
)
isEmpty
;
- (DownloadState)
downloadState
;
- (Coding_DownloadTask *)
cDownloadTask
;
- (
NSURL
*)
diskFileUrl
;
- (
NSString
*)
downloadPath
;
- (
NSString
*)
toDeletePath
;
- (
NSDictionary
*)
toDeleteParams
;
- (
NSDictionary
*)
toMoveToParams
;
- (
NSString
*)
toDetailPath
;
- (
NSString
*)
toActivityListPath
;
- (
NSString
*)
toHistoryListPath
;
- (
NSDictionary
*)
toShareParams
;
- (
NSString
*)
toFolderFilesPath
;
- (
NSDictionary
*)
toFolderFilesParams
;
@end
Back
|
FazBrowse Home
|
New Git URL