Fix compile errors
[pithos-ios] / Classes / RateLimit.h
1 //
2 //  RateLimit.h
3 //  OpenStack
4 //
5 //  Created by Mike Mayo on 12/3/10.
6 //  The OpenStack project is provided under the Apache 2.0 license.
7 //
8
9 #import <Foundation/Foundation.h>
10
11
12 @interface RateLimit : NSObject <NSCoding> {
13     NSString *unit;
14     NSInteger remaining;
15     NSString *verb;
16     NSString *regex;
17     NSInteger value;
18     NSDate *resetTime;
19     NSString *uri;
20 }
21
22 @property (nonatomic, retain) NSString *unit;
23 @property (nonatomic, assign) NSInteger remaining;
24 @property (nonatomic, retain) NSString *verb;
25 @property (nonatomic, retain) NSString *regex;
26 @property (nonatomic, assign) NSInteger value;
27 @property (nonatomic, retain) NSDate *resetTime;
28 @property (nonatomic, retain) NSString *uri;
29
30 + (RateLimit *)fromJSON:(NSDictionary *)dict;
31
32 @end