summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLReadDIDResponse.m
blob: 5b3901950f68f3ae1a70edfa497b9c0a88f595c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//  SDLReadDIDResponse.m
//


#import "SDLReadDIDResponse.h"

#import "NSMutableDictionary+Store.h"
#import "SDLDIDResult.h"
#import "SDLNames.h"

NS_ASSUME_NONNULL_BEGIN

@implementation SDLReadDIDResponse

- (instancetype)init {
    if (self = [super initWithName:SDLNameReadDID]) {
    }
    return self;
}

- (void)setDidResult:(nullable NSArray<SDLDIDResult *> *)didResult {
    [parameters sdl_setObject:didResult forName:SDLNameDIDResult];
}

- (nullable NSArray<SDLDIDResult *> *)didResult {
    return [parameters sdl_objectsForName:SDLNameDIDResult ofClass:SDLDIDResult.class];
}

@end

NS_ASSUME_NONNULL_END