EkoUser
@interface EkoUser : NSObject
User Object
-
Declaration
Objective-C
@property (readonly, strong, nonatomic, nonnull) NSString *userId;
Swift
var userId: String { get }
-
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSString *displayName;
Swift
var displayName: String? { get }
-
Declaration
Objective-C
@property (strong, nonatomic, nonnull) NSDate *createdAt;
Swift
var createdAt: Date { get set }
-
Declaration
Objective-C
@property (strong, nonatomic, nonnull) NSDate *updatedAt;
Swift
var updatedAt: Date { get set }
-
Roles
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSArray<NSString *> *roles;
Swift
unowned(unsafe) var roles: NSArray? { get }
-
Number of people that have flagged the user
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger flagCount;
Swift
var flagCount: UInt { get }
-
User metadata
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSDictionary<NSString *, id> *metadata;
Swift
var metadata: [String : Any]? { get }