OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_CLIENT_IOS_DOMAIN_USER_H_ | |
6 #define REMOTING_CLIENT_IOS_DOMAIN_USER_H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 // A detail record for a Remoting User. | |
11 // TODO(nicholss): This is not the final object yet. | |
12 @interface User : NSObject | |
Sergey Ulanov
2017/02/10 19:02:02
Maybe UserInfo?
nicholss
2017/02/13 22:10:11
Sure, sounds good.
| |
13 | |
14 @property(nonatomic, copy) NSString* userId; | |
Sergey Ulanov
2017/02/10 19:02:02
Not sure what we actually need this field. How wou
nicholss
2017/02/13 22:10:11
I am not 100% sure yet, this class is a placeholde
| |
15 @property(nonatomic, copy) NSString* userFullName; | |
16 @property(nonatomic, copy) NSString* userEmail; | |
17 | |
18 + (User*)parseListFromJSON:(NSMutableData*)data; | |
19 | |
20 - (NSComparisonResult)compare:(User*)user; | |
21 | |
22 @end | |
23 | |
24 #endif // REMOTING_CLIENT_IOS_DOMAIN_USER_H_ | |
OLD | NEW |