Fix bug in token retrieval
[pithos-ios] / Classes / APILogEntry.h
1 //
2 //  APILogEntry.h
3 //  OpenStack
4 //
5 //  Created by Mike Mayo on 10/11/10.
6 //  The OpenStack project is provided under the Apache 2.0 license.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 @class OpenStackRequest;
12
13 @interface APILogEntry : NSObject <NSCoding> {
14     NSString *requestMethod;
15     NSString *requestBody;
16     NSDictionary *requestHeaders;
17     NSInteger responseStatusCode;
18     NSDictionary *responseHeaders;
19     NSString *responseBody;
20     NSDate *requestDate;
21     NSString *responseStatusMessage;
22     NSURL *url;
23 }
24
25 @property (nonatomic, retain) NSString *requestMethod;
26 @property (nonatomic, retain) NSString *requestBody;
27 @property (nonatomic, retain) NSDictionary *requestHeaders;
28 @property (nonatomic, assign) NSInteger responseStatusCode;
29 @property (nonatomic, retain) NSDictionary *responseHeaders;
30 @property (nonatomic, retain) NSString *responseBody;
31 @property (nonatomic, retain) NSDate *requestDate;
32 @property (nonatomic, retain) NSString *responseStatusMessage;
33 @property (nonatomic, retain) NSURL *url;
34
35 - (id)initWithRequest:(OpenStackRequest *)request;
36 - (NSString *)requestDescription;
37 - (NSString *)responseDescription;
38
39 @end