-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathGitHubRepoModel.h
More file actions
29 lines (24 loc) · 900 Bytes
/
GitHubRepoModel.h
File metadata and controls
29 lines (24 loc) · 900 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
//
// GitHubRepoModel.h
// JSONModelDemo
//
// Created by Marin Todorov on 19/12/2012.
// Copyright (c) 2012 Underplot ltd. All rights reserved.
//
#import "JSONModel.h"
@protocol GitHubRepoModel
@end
@interface GitHubRepoModel : JSONModel
@property (strong, nonatomic) NSDate* created;
@property (strong, nonatomic) NSDate* pushed;
@property (assign, nonatomic) int watchers;
@property (strong, nonatomic) NSString* owner;
@property (assign, nonatomic) int forks;
// It is not a good idea to have a description property, because description can not be used for debugging properly anymore.
@property (strong, nonatomic) NSString* description;
@property (strong, nonatomic) NSString<Optional>* language;
@property (assign, nonatomic) BOOL fork;
@property (assign, nonatomic) double size;
@property (assign, nonatomic) int followers;
@property (strong, nonatomic) NSString<Index>* name;
@end