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