DeviceInfoDto.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. using System;
  2. namespace MediaBrowser.Model.Dto;
  3. /// <summary>
  4. /// A DTO representing device information.
  5. /// </summary>
  6. public class DeviceInfoDto
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="DeviceInfoDto"/> class.
  10. /// </summary>
  11. public DeviceInfoDto()
  12. {
  13. Capabilities = new ClientCapabilitiesDto();
  14. }
  15. /// <summary>
  16. /// Gets or sets the name.
  17. /// </summary>
  18. /// <value>The name.</value>
  19. public string? Name { get; set; }
  20. /// <summary>
  21. /// Gets or sets the custom name.
  22. /// </summary>
  23. /// <value>The custom name.</value>
  24. public string? CustomName { get; set; }
  25. /// <summary>
  26. /// Gets or sets the access token.
  27. /// </summary>
  28. /// <value>The access token.</value>
  29. public string? AccessToken { get; set; }
  30. /// <summary>
  31. /// Gets or sets the identifier.
  32. /// </summary>
  33. /// <value>The identifier.</value>
  34. public string? Id { get; set; }
  35. /// <summary>
  36. /// Gets or sets the last name of the user.
  37. /// </summary>
  38. /// <value>The last name of the user.</value>
  39. public string? LastUserName { get; set; }
  40. /// <summary>
  41. /// Gets or sets the name of the application.
  42. /// </summary>
  43. /// <value>The name of the application.</value>
  44. public string? AppName { get; set; }
  45. /// <summary>
  46. /// Gets or sets the application version.
  47. /// </summary>
  48. /// <value>The application version.</value>
  49. public string? AppVersion { get; set; }
  50. /// <summary>
  51. /// Gets or sets the last user identifier.
  52. /// </summary>
  53. /// <value>The last user identifier.</value>
  54. public Guid? LastUserId { get; set; }
  55. /// <summary>
  56. /// Gets or sets the date last modified.
  57. /// </summary>
  58. /// <value>The date last modified.</value>
  59. public DateTime? DateLastActivity { get; set; }
  60. /// <summary>
  61. /// Gets or sets the capabilities.
  62. /// </summary>
  63. /// <value>The capabilities.</value>
  64. public ClientCapabilitiesDto Capabilities { get; set; }
  65. /// <summary>
  66. /// Gets or sets the icon URL.
  67. /// </summary>
  68. /// <value>The icon URL.</value>
  69. public string? IconUrl { get; set; }
  70. }