blob: 325a4e4058c8d18e3099d2ae91e73718c67a1c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//
// VoltaReading.h
// Volta
//
// Created by Ronny Fenrich on 2013-06-14.
// Copyright (c) 2013 Decoder. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VoltaReading : NSObject
+ (VoltaReading *)initFromJSON:(NSDictionary *)jsonData;
@property (nonatomic) NSInteger id;
@property (nonatomic) NSInteger usage;
@property (nonatomic) NSInteger duration;
@property (nonatomic) NSInteger cost;
@property (strong, nonatomic) NSDate *startDate;
@property (strong, nonatomic) NSString *dictionaryKey; // Date of reading
@end
|