forked from dennisreimann/ioctocat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GHGist.h
23 lines (19 loc) · 806 Bytes
/
GHGist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#import "GHResource.h"
@class GHUser, GHGists, GHGistComments, GHFiles;
@interface GHGist : GHResource
@property(nonatomic,strong)NSString *gistId;
@property(nonatomic,strong)GHGists *forks;
@property(nonatomic,strong)GHGistComments *comments;
@property(nonatomic,strong)NSURL *htmlURL;
@property(nonatomic,strong)NSDate *createdAt;
@property(nonatomic,strong)NSDate *updatedAt;
@property(nonatomic,strong)NSString *descriptionText;
@property(nonatomic,strong)GHFiles *files;
@property(nonatomic,strong)GHUser *user;
@property(nonatomic,readonly)NSString *title;
@property(nonatomic,readwrite)NSUInteger commentsCount;
@property(nonatomic,readwrite)NSUInteger forksCount;
@property(nonatomic,readwrite)BOOL isPrivate;
@property(nonatomic,readwrite)BOOL isFork;
- (id)initWithId:(NSString *)gistId;
@end