1 // Copyright 2014 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.
5 #ifndef REMOTING_IOS_HOST_H_
6 #define REMOTING_IOS_HOST_H_
8 #import <Foundation/Foundation.h>
10 // A detail record for a Chromoting Host
11 @interface Host
: NSObject
13 // Various properties of the Chromoting Host
14 @
property(nonatomic
, copy
) NSString
* createdTime
;
15 @
property(nonatomic
, copy
) NSString
* hostId
;
16 @
property(nonatomic
, copy
) NSString
* hostName
;
17 @
property(nonatomic
, copy
) NSString
* hostVersion
;
18 @
property(nonatomic
, copy
) NSString
* jabberId
;
19 @
property(nonatomic
, copy
) NSString
* kind
;
20 @
property(nonatomic
, copy
) NSString
* publicKey
;
21 @
property(nonatomic
, copy
) NSString
* status
;
22 @
property(nonatomic
, copy
) NSString
* updatedTime
;
24 + (NSMutableArray
*)parseListFromJSON
:(NSMutableData
*)data
;
28 #endif // REMOTING_IOS_HOST_H_