2
0

DeviceInfo.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. /// <summary>
  15. /// Gets or sets the access token.
  16. /// </summary>
  17. public string AccessToken { get; set; }
  18. /// <summary>
  19. /// Gets or sets the identifier.
  20. /// </summary>
  21. /// <value>The identifier.</value>
  22. public string Id { get; set; }
  23. /// <summary>
  24. /// Gets or sets the last name of the user.
  25. /// </summary>
  26. /// <value>The last name of the user.</value>
  27. public string LastUserName { get; set; }
  28. /// <summary>
  29. /// Gets or sets the name of the application.
  30. /// </summary>
  31. /// <value>The name of the application.</value>
  32. public string AppName { get; set; }
  33. /// <summary>
  34. /// Gets or sets the application version.
  35. /// </summary>
  36. /// <value>The application version.</value>
  37. public string AppVersion { get; set; }
  38. /// <summary>
  39. /// Gets or sets the last user identifier.
  40. /// </summary>
  41. /// <value>The last user identifier.</value>
  42. public Guid LastUserId { get; set; }
  43. /// <summary>
  44. /// Gets or sets the date last modified.
  45. /// </summary>
  46. /// <value>The date last modified.</value>
  47. public DateTime DateLastActivity { get; set; }
  48. /// <summary>
  49. /// Gets or sets the capabilities.
  50. /// </summary>
  51. /// <value>The capabilities.</value>
  52. public ClientCapabilities Capabilities { get; set; }
  53. public string IconUrl { get; set; }
  54. }
  55. }