forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommits.h
More file actions
27 lines (21 loc) · 808 Bytes
/
Commits.h
File metadata and controls
27 lines (21 loc) · 808 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
//
// Commits.h
// Coding_iOS
//
// Created by Ease on 15/6/5.
// Copyright (c) 2015年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Commit.h"
#import "ListGroupItem.h"
@interface Commits : NSObject
@property (strong, nonatomic) NSString *ref, *path;
@property (readwrite, nonatomic, strong) NSNumber *page, *pageSize;
@property (assign, nonatomic) BOOL canLoadMore, willLoadMore, isLoading;
@property (readwrite, nonatomic, strong) NSNumber *totalPage, *totalRow;
@property (readwrite, nonatomic, strong) NSMutableArray *list, *listGroups;
@property (readwrite, nonatomic, strong) NSDictionary *propertyArrayMap;
+ (Commits *)commitsWithRef:(NSString *)ref Path:(NSString *)path;
- (NSDictionary *)toParams;
- (void)configWithCommits:(Commits *)responseCommits;
@end