blob: 376e8170270be0153086e0f7d2d72e15f9833419 (
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
|
// SDLListFilesResponse.m
//
#import "SDLListFilesResponse.h"
#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"
NS_ASSUME_NONNULL_BEGIN
@implementation SDLListFilesResponse
- (instancetype)init {
if (self = [super initWithName:SDLNameListFiles]) {
}
return self;
}
- (void)setFilenames:(nullable NSArray<NSString *> *)filenames {
[parameters sdl_setObject:filenames forName:SDLNameFilenames];
}
- (nullable NSArray<NSString *> *)filenames {
return [parameters sdl_objectForName:SDLNameFilenames];
}
- (void)setSpaceAvailable:(nullable NSNumber<SDLInt> *)spaceAvailable {
[parameters sdl_setObject:spaceAvailable forName:SDLNameSpaceAvailable];
}
- (nullable NSNumber<SDLInt> *)spaceAvailable {
return [parameters sdl_objectForName:SDLNameSpaceAvailable];
}
@end
NS_ASSUME_NONNULL_END
|