summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLGetDTCsResponse.m
blob: 898a36de64d08c7ea29a525033a4be088f844ec6 (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
32
33
34
35
36
37
38
//  SDLGetDTCsResponse.m
//


#import "SDLGetDTCsResponse.h"

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

NS_ASSUME_NONNULL_BEGIN

@implementation SDLGetDTCsResponse

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

- (void)setEcuHeader:(NSNumber<SDLInt> *)ecuHeader {
    [parameters sdl_setObject:ecuHeader forName:SDLNameECUHeader];
}

- (NSNumber<SDLInt> *)ecuHeader {
    return [parameters sdl_objectForName:SDLNameECUHeader];
}

- (void)setDtc:(NSArray<NSString *> *)dtc {
    [parameters sdl_setObject:dtc forName:SDLNameDTC];
}

- (NSArray<NSString *> *)dtc {
    return [parameters sdl_objectForName:SDLNameDTC];
}

@end

NS_ASSUME_NONNULL_END