using System;
namespace MediaBrowser.Model.Dto
{
    /// 
    /// Class PublicUserDto. Its goal is to show only public information about a user
    /// 
    public class PublicUserDto : IItemDto
    {
        /// 
        /// Gets or sets the name.
        /// 
        /// The name.
        public string Name { get; set; }
        /// 
        /// Gets or sets the primary image tag.
        /// 
        /// The primary image tag.
        public string PrimaryImageTag { get; set; }
        /// 
        /// Gets or sets a value indicating whether this instance has password.
        /// 
        /// true if this instance has password; otherwise, false.
        public bool HasPassword { get; set; }
        /// 
        /// Gets or sets a value indicating whether this instance has configured password.
        /// Note that in this case this method should not be here, but it is necessary when changeing password at the
        /// first login.
        /// 
        /// true if this instance has configured password; otherwise, false.
        public bool HasConfiguredPassword { get; set; }
        /// 
        /// Gets or sets the primary image aspect ratio.
        /// 
        /// The primary image aspect ratio.
        public double? PrimaryImageAspectRatio { get; set; }
        /// 
        public override string ToString()
        {
            return Name ?? base.ToString();
        }
    }
}