blob: 51647d7ae931b89b0732445eef62e0eeaa0b6588 (
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
39
40
41
42
43
44
45
46
47
|
// SDLOnSyncPData.m
//
#import "SDLOnSyncPData.h"
@implementation SDLOnSyncPData
- (instancetype)init {
if (self = [super initWithName:SDLNameOnSyncPData]) {
}
return self;
}
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict {
if (self = [super initWithDictionary:dict]) {
}
return self;
}
- (void)setURL:(NSString *)URL {
if (URL != nil) {
[parameters setObject:URL forKey:SDLNameUrlUppercase];
} else {
[parameters removeObjectForKey:SDLNameUrlUppercase];
}
}
- (NSString *)URL {
return [parameters objectForKey:SDLNameUrlUppercase];
}
- (void)setTimeout:(NSNumber *)Timeout {
if (Timeout != nil) {
[parameters setObject:Timeout forKey:SDLNameTimeoutCapitalized];
} else {
[parameters removeObjectForKey:SDLNameTimeoutCapitalized];
}
}
- (NSNumber *)Timeout {
return [parameters objectForKey:SDLNameTimeoutCapitalized];
}
@end
|