5 // Created by Mike Mayo on 12/3/10.
6 // The OpenStack project is provided under the Apache 2.0 license.
9 #import <Foundation/Foundation.h>
12 @interface RateLimit : NSObject <NSCoding> {
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;
30 + (RateLimit *)fromJSON:(NSDictionary *)dict;