diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
commit | fb8e9903a323acaf5fc78819bb3c203567542ab2 (patch) | |
tree | e40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLDiagnosticMessageResponse.m | |
parent | f7540a02262832e34c67b0953dd8a1804a046fea (diff) | |
download | sdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz |
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLDiagnosticMessageResponse.m')
-rw-r--r-- | SmartDeviceLink/SDLDiagnosticMessageResponse.m | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLDiagnosticMessageResponse.m b/SmartDeviceLink/SDLDiagnosticMessageResponse.m new file mode 100644 index 000000000..f8215d977 --- /dev/null +++ b/SmartDeviceLink/SDLDiagnosticMessageResponse.m @@ -0,0 +1,34 @@ +// SDLDiagnosticMessageResponse.m +// + +#import "SDLDiagnosticMessageResponse.h" + +#import "SDLNames.h" + +@implementation SDLDiagnosticMessageResponse + +- (instancetype)init { + if (self = [super initWithName:NAMES_DiagnosticMessage]) { + } + return self; +} + +- (instancetype)initWithDictionary:(NSMutableDictionary *)dict { + if (self = [super initWithDictionary:dict]) { + } + return self; +} + +- (void)setMessageDataResult:(NSMutableArray *)messageDataResult { + if (messageDataResult != nil) { + [parameters setObject:messageDataResult forKey:NAMES_messageDataResult]; + } else { + [parameters removeObjectForKey:NAMES_messageDataResult]; + } +} + +- (NSMutableArray *)messageDataResult { + return [parameters objectForKey:NAMES_messageDataResult]; +} + +@end |