< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Devices.DeviceInfo
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Devices/DeviceInfo.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 69
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Devices/DeviceInfo.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4using System;
 5using MediaBrowser.Model.Session;
 6
 7namespace MediaBrowser.Model.Devices
 8{
 9    public class DeviceInfo
 10    {
 11        public DeviceInfo()
 12        {
 013            Capabilities = new ClientCapabilities();
 014        }
 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}

Methods/Properties

.ctor()