DeviceInfo.cs 1.9 KB

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