using ProtoBuf;
namespace MediaBrowser.Model.Configuration
{
    /// 
    /// Class UserConfiguration
    /// 
    [ProtoContract]
    public class UserConfiguration
    {
        /// 
        /// Gets or sets the max parental rating.
        /// 
        /// The max parental rating.
        [ProtoMember(1)]
        public int? MaxParentalRating { get; set; }
        /// 
        /// Gets or sets a value indicating whether [use custom library].
        /// 
        /// true if [use custom library]; otherwise, false.
        [ProtoMember(2)]
        public bool UseCustomLibrary { get; set; }
        /// 
        /// Gets or sets a value indicating whether this instance is administrator.
        /// 
        /// true if this instance is administrator; otherwise, false.
        [ProtoMember(3)]
        public bool IsAdministrator { get; set; }
        /// 
        /// Gets or sets the audio language preference.
        /// 
        /// The audio language preference.
        [ProtoMember(4)]
        public string AudioLanguagePreference { get; set; }
        /// 
        /// Gets or sets the subtitle language preference.
        /// 
        /// The subtitle language preference.
        [ProtoMember(5)]
        public string SubtitleLanguagePreference { get; set; }
        /// 
        /// Gets or sets a value indicating whether [use forced subtitles only].
        /// 
        /// true if [use forced subtitles only]; otherwise, false.
        [ProtoMember(6)]
        public bool UseForcedSubtitlesOnly { get; set; }
        
        /// 
        /// Initializes a new instance of the  class.
        /// 
        public UserConfiguration()
        {
            IsAdministrator = true;
        }
    }
}