using MediaBrowser.Model.Session;
using System;
namespace MediaBrowser.Model.Devices
{
    public class DeviceInfo
    {
        /// 
        /// Gets or sets the name of the reported.
        /// 
        /// The name of the reported.
        public string ReportedName { get; set; }
        /// 
        /// Gets or sets the name of the custom.
        /// 
        /// The name of the custom.
        public string CustomName { get; set; }
        /// 
        /// Gets or sets the camera upload path.
        /// 
        /// The camera upload path.
        public string CameraUploadPath { get; set; }
        /// 
        /// Gets the name.
        /// 
        /// The name.
        public string Name
        {
            get
            {
                return string.IsNullOrEmpty(CustomName) ? ReportedName : CustomName;
            }
        }
        /// 
        /// Gets or sets the identifier.
        /// 
        /// The identifier.
        public string Id { get; set; }
        /// 
        /// Gets or sets the last name of the user.
        /// 
        /// The last name of the user.
        public string LastUserName { get; set; }
        /// 
        /// Gets or sets the name of the application.
        /// 
        /// The name of the application.
        public string AppName { get; set; }
        /// 
        /// Gets or sets the application version.
        /// 
        /// The application version.
        public string AppVersion { get; set; }
        /// 
        /// Gets or sets the last user identifier.
        /// 
        /// The last user identifier.
        public string LastUserId { get; set; }
        /// 
        /// Gets or sets the date last modified.
        /// 
        /// The date last modified.
        public DateTime DateLastModified { get; set; }
        /// 
        /// Gets or sets the capabilities.
        /// 
        /// The capabilities.
        public ClientCapabilities Capabilities { get; set; }
        public DeviceInfo()
        {
            Capabilities = new ClientCapabilities();
        }
    }
}