host_info.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright 2016 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. #ifndef REMOTING_IOS_DOMAIN_HOST_INFO_H_
  5. #define REMOTING_IOS_DOMAIN_HOST_INFO_H_
  6. #import <Foundation/Foundation.h>
  7. namespace remoting {
  8. namespace apis {
  9. namespace v1 {
  10. class HostInfo;
  11. } // namespace v1
  12. } // namespace apis
  13. } // namespace remoting
  14. // A detail record for a Remoting Host.
  15. @interface HostInfo : NSObject
  16. // Various properties of the Remoting Host.
  17. @property(nonatomic, copy) NSString* createdTime;
  18. @property(nonatomic, copy) NSString* hostId;
  19. @property(nonatomic, copy) NSString* hostName;
  20. @property(nonatomic, copy) NSString* hostOs;
  21. @property(nonatomic, copy) NSString* hostOsVersion;
  22. @property(nonatomic, copy) NSString* hostVersion;
  23. @property(nonatomic, copy) NSString* jabberId;
  24. @property(nonatomic, copy) NSString* ftlId;
  25. @property(nonatomic, copy) NSString* kind;
  26. @property(nonatomic, copy) NSString* publicKey;
  27. @property(nonatomic, copy) NSString* updatedTime;
  28. @property(nonatomic, copy) NSString* offlineReason;
  29. @property(nonatomic) BOOL isOnline;
  30. - (instancetype)initWithRemotingHostInfo:
  31. (const remoting::apis::v1::HostInfo&)hostInfo;
  32. @end
  33. #endif // REMOTING_IOS_DOMAIN_HOST_INFO_H_