summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS/SmartDeviceLink/SDLParameterPermissions.h
blob: af724d53f64d7eebbe2074386bf0b0cc321a5e26 (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
//  SDLParameterPermissions.h
//


#import "SDLRPCMessage.h"

/**
 * Defining sets of parameters, which are permitted or prohibited for a given RPC.
 *
 * @since SDL 2.0
 */
@interface SDLParameterPermissions : SDLRPCStruct {
}

/**
 * @abstract  Constructs a newly allocated SDLParameterPermissions object
 */
- (instancetype)init;
/**
 * @abstract Constructs a newly allocated SDLParameterPermissions object indicated by the dictionary parameter
 *
 * @param dict The dictionary to use
 */
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;

/**
 * @abstract A set of all parameters that are permitted for this given RPC.
 *
 * Required, Array of String, max String length = 100, Array size 0 - 100
 */
@property (strong) NSMutableArray *allowed;
/**
 * @abstract A set of all parameters that are prohibited for this given RPC.
 *
 * Required, Array of String, max String length = 100, Array size 0 - 100
 */
@property (strong) NSMutableArray *userDisallowed;

@end