summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLDeleteFileResponse.m
blob: 4b375bd918d1561d44e1406c83e91fae3e25c113 (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
//  SDLDeleteFileResponse.m
//


#import "SDLDeleteFileResponse.h"

#import "SDLNames.h"

@implementation SDLDeleteFileResponse

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

- (void)setSpaceAvailable:(NSNumber *)spaceAvailable {
    if (spaceAvailable != nil) {
        [parameters setObject:spaceAvailable forKey:NAMES_spaceAvailable];
    } else {
        [parameters removeObjectForKey:NAMES_spaceAvailable];
    }
}

- (NSNumber *)spaceAvailable {
    return [parameters objectForKey:NAMES_spaceAvailable];
}

@end