blob: dd77c2780304d6b05ed83b183729b72650973d6c (
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
|
// SDLAlertResponse.m
//
#import "SDLAlertResponse.h"
#import "NSMutableDictionary+Store.h"
#import "SDLRPCParameterNames.h"
#import "SDLRPCFunctionNames.h"
NS_ASSUME_NONNULL_BEGIN
@implementation SDLAlertResponse
- (instancetype)init {
if (self = [super initWithName:SDLRPCFunctionNameAlert]) {
}
return self;
}
- (void)setTryAgainTime:(nullable NSNumber<SDLInt> *)tryAgainTime {
[parameters sdl_setObject:tryAgainTime forName:SDLRPCParameterNameTryAgainTime];}
- (nullable NSNumber<SDLInt> *)tryAgainTime {
return [parameters sdl_objectForName:SDLRPCParameterNameTryAgainTime ofClass:NSNumber.class];
}
@end
NS_ASSUME_NONNULL_END
|