2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:02:23 +00:00
|
|
|
using System;
|
2019-01-13 19:26:15 +00:00
|
|
|
using MediaBrowser.Model.Session;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Devices
|
|
|
|
{
|
|
|
|
public class DeviceInfo
|
|
|
|
{
|
2020-02-04 00:49:27 +00:00
|
|
|
public DeviceInfo()
|
|
|
|
{
|
|
|
|
Capabilities = new ClientCapabilities();
|
|
|
|
}
|
2020-02-23 11:11:43 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string Name { get; set; }
|
|
|
|
|
2021-05-21 03:56:59 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the access token.
|
|
|
|
/// </summary>
|
|
|
|
public string AccessToken { get; set; }
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The identifier.</value>
|
|
|
|
public string Id { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the last name of the user.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The last name of the user.</value>
|
|
|
|
public string LastUserName { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the application.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name of the application.</value>
|
|
|
|
public string AppName { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the application version.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The application version.</value>
|
|
|
|
public string AppVersion { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the last user identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The last user identifier.</value>
|
|
|
|
public Guid LastUserId { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the date last modified.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The date last modified.</value>
|
|
|
|
public DateTime DateLastActivity { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the capabilities.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The capabilities.</value>
|
|
|
|
public ClientCapabilities Capabilities { get; set; }
|
|
|
|
|
|
|
|
public string IconUrl { get; set; }
|
|
|
|
}
|
|
|
|
}
|