• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #ifndef REMOTING_IOS_HOST_H_
6 #define REMOTING_IOS_HOST_H_
7 
8 #import <Foundation/Foundation.h>
9 
10 // A detail record for a Chromoting Host
11 @interface Host : NSObject
12 
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;
23 
24 + (NSMutableArray*)parseListFromJSON:(NSMutableData*)data;
25 
26 @end
27 
28 #endif  //  REMOTING_IOS_HOST_H_
29