summaryrefslogtreecommitdiff
path: root/Juick/Message.h
blob: 10e9fb38e8ee937bc0588546878d585dfdd2d6f6 (plain) (blame)
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
//
//  Message.h
//  Juick
//
//  Created by Vitaly Takmazov on 29.10.13.
//  Copyright (c) 2013 com.juick. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <RestKit/RestKit.h>

@interface Message : NSObject

@property(nonatomic, copy) NSDecimalNumber *MID;
@property(nonatomic, copy) NSDecimalNumber *RID;
@property(nonatomic, copy) NSString *user;
@property(nonatomic, copy) NSDecimalNumber *userID;
@property(nonatomic, copy) NSString *text;
@property(nonatomic, copy) NSArray *tags;
@property(nonatomic, copy) NSString *timestamp;
@property(nonatomic, copy) NSString *attach;
@property(nonatomic, copy) NSString *repliesBy;
@property(nonatomic, copy) NSDecimalNumber *repliesCount;

+(void) pullNextFromURL:(NSURL *)url callback:(void(^)(NSArray *))callback;

@end