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