DeviceInfo.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #pragma warning disable CS1591
  2. using System;
  3. using MediaBrowser.Model.Session;
  4. namespace MediaBrowser.Model.Devices
  5. {
  6. public class DeviceInfo
  7. {
  8. public DeviceInfo()
  9. {
  10. Capabilities = new ClientCapabilities();
  11. }
  12. public string Name { get; set; }
  13. /// <summary>
  14. /// Gets or sets the identifier.
  15. /// </summary>
  16. /// <value>The identifier.</value>
  17. public string Id { get; set; }
  18. /// <summary>
  19. /// Gets or sets the last name of the user.
  20. /// </summary>
  21. /// <value>The last name of the user.</value>
  22. public string LastUserName { get; set; }
  23. /// <summary>
  24. /// Gets or sets the name of the application.
  25. /// </summary>
  26. /// <value>The name of the application.</value>
  27. public string AppName { get; set; }
  28. /// <summary>
  29. /// Gets or sets the application version.
  30. /// </summary>
  31. /// <value>The application version.</value>
  32. public string AppVersion { get; set; }
  33. /// <summary>
  34. /// Gets or sets the last user identifier.
  35. /// </summary>
  36. /// <value>The last user identifier.</value>
  37. public Guid LastUserId { get; set; }
  38. /// <summary>
  39. /// Gets or sets the date last modified.
  40. /// </summary>
  41. /// <value>The date last modified.</value>
  42. public DateTime DateLastActivity { get; set; }
  43. /// <summary>
  44. /// Gets or sets the capabilities.
  45. /// </summary>
  46. /// <value>The capabilities.</value>
  47. public ClientCapabilities Capabilities { get; set; }
  48. public string IconUrl { get; set; }
  49. }
  50. }