root / Classes / Flavor.h @ 9fee07a6
History | View | Annotate | Download (409 Bytes)
1 |
//
|
---|---|
2 |
// Flavor.h
|
3 |
// OpenStack
|
4 |
//
|
5 |
// Created by Mike Mayo on 10/1/10.
|
6 |
// The OpenStack project is provided under the Apache 2.0 license.
|
7 |
//
|
8 |
|
9 |
#import "ComputeModel.h" |
10 |
|
11 |
@interface Flavor : ComputeModel <NSCoding, NSCopying> {
|
12 |
NSInteger ram; |
13 |
NSInteger disk; |
14 |
} |
15 |
|
16 |
@property (nonatomic, assign) NSInteger ram;
|
17 |
@property (nonatomic, assign) NSInteger disk;
|
18 |
|
19 |
+ (Flavor *)fromJSON:(NSDictionary *)dict; |
20 |
|
21 |
|
22 |
@end
|