Captainup  2.4
/Users/yogs/Desktop/CaptainUp/Headers/CPTResponse.h
1 //
2 // Response.h
3 // captainup_sdk
4 //
5 // Created by David Azriel on 09/12/2015.
6 // Copyright © 2015 Captain Up. All rights reserved.
7 //
8 
9 #ifndef Response_h
10 #define Response_h
11 
12 #import "CPTObject.h"
13 
18 
23 @property (nonatomic, readonly) NSInteger code;
24 
28 @property (nonatomic, readonly, nullable) NSError *error;
29 
34 @property (nonatomic, readonly, nonnull) NSString *objectName;
35 
40 @property (nonatomic, readonly, nonnull) NSString *requestUrl;
41 
46 @property (nonatomic, readonly, nonnull) NSString *apiVersion;
47 
52 @property (nonatomic, readonly) BOOL isSuccessful;
53 
54 @end
55 
56 #endif /* Response_h */
BOOL isSuccessful
Definition: CPTResponse.h:52
NSInteger code
Definition: CPTResponse.h:23
NSString * requestUrl
Definition: CPTResponse.h:40
NSError * error
Definition: CPTResponse.h:28
Definition: CPTObject.h:17
Definition: CPTResponse.h:17
NSString * objectName
Definition: CPTResponse.h:34
NSString * apiVersion
Definition: CPTResponse.h:46