1// 2// Copyright (c) 2012 Apple. All rights reserved. 3// 4 5#import <Foundation/Foundation.h> 6 7@interface Authority : NSObject 8 9@property (strong) NSNumber *identity; 10 11@property (strong) NSString *label; 12@property (strong) NSNumber *disabled; 13@property (strong) NSString *remarks; 14@property (strong) NSString *codeRequirement; 15@property (strong) NSData *bookmark; 16 17@property (readonly) NSImage *icon; 18@property (readonly) NSString *description; 19 20- (Authority *)initWithAssessment:(NSDictionary *)assessment; 21- (void)updateWithAssessment:(NSDictionary *)assessment; 22 23//id 24//type 25//requirement 26//allow 27//disabled 28//expires 29//label 30//flags 31//ctime 32//mtime 33//bookmark 34//icon 35//user 36 37@end 38