aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Devices/DeviceInfo.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-02-14 03:02:06 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-02-14 03:02:06 +0900
commit53db52666798e5193fb3e4c0c957de1258ed20c9 (patch)
treeefd3f41884ce2e506f96920ae0e30e17e2a3e062 /MediaBrowser.Model/Devices/DeviceInfo.cs
parent1cb51a8ac79c8cc2b2bde3e4279b18765a5851e6 (diff)
parentcf2626428c0d4755662855fe6c3e4f439c909de9 (diff)
merge branch master into refactor
Diffstat (limited to 'MediaBrowser.Model/Devices/DeviceInfo.cs')
-rw-r--r--MediaBrowser.Model/Devices/DeviceInfo.cs19
1 files changed, 14 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Devices/DeviceInfo.cs b/MediaBrowser.Model/Devices/DeviceInfo.cs
index 214c49e5e4..55149a02da 100644
--- a/MediaBrowser.Model/Devices/DeviceInfo.cs
+++ b/MediaBrowser.Model/Devices/DeviceInfo.cs
@@ -1,3 +1,6 @@
+#pragma warning disable CS1591
+#pragma warning disable SA1600
+
using System;
using MediaBrowser.Model.Session;
@@ -5,6 +8,11 @@ namespace MediaBrowser.Model.Devices
{
public class DeviceInfo
{
+ public DeviceInfo()
+ {
+ Capabilities = new ClientCapabilities();
+ }
+
public string Name { get; set; }
/// <summary>
@@ -12,42 +20,43 @@ namespace MediaBrowser.Model.Devices
/// </summary>
/// <value>The identifier.</value>
public string Id { get; set; }
+
/// <summary>
/// Gets or sets the last name of the user.
/// </summary>
/// <value>The last name of the user.</value>
public string LastUserName { get; set; }
+
/// <summary>
/// Gets or sets the name of the application.
/// </summary>
/// <value>The name of the application.</value>
public string AppName { get; set; }
+
/// <summary>
/// Gets or sets the application version.
/// </summary>
/// <value>The application version.</value>
public string AppVersion { get; set; }
+
/// <summary>
/// Gets or sets the last user identifier.
/// </summary>
/// <value>The last user identifier.</value>
public Guid LastUserId { get; set; }
+
/// <summary>
/// Gets or sets the date last modified.
/// </summary>
/// <value>The date last modified.</value>
public DateTime DateLastActivity { get; set; }
+
/// <summary>
/// Gets or sets the capabilities.
/// </summary>
/// <value>The capabilities.</value>
public ClientCapabilities Capabilities { get; set; }
- public DeviceInfo()
- {
- Capabilities = new ClientCapabilities();
- }
-
public string IconUrl { get; set; }
}
}