#pragma warning disable CS1591
using System.Collections.Generic;
namespace MediaBrowser.Model.Globalization
{
    /// 
    /// Class CultureDto.
    /// 
    public class CultureDto
    {
        public CultureDto(string name, string displayName, string twoLetterISOLanguageName, IReadOnlyList threeLetterISOLanguageNames)
        {
            Name = name;
            DisplayName = displayName;
            TwoLetterISOLanguageName = twoLetterISOLanguageName;
            ThreeLetterISOLanguageNames = threeLetterISOLanguageNames;
        }
        /// 
        /// Gets the name.
        /// 
        /// The name.
        public string Name { get; }
        /// 
        /// Gets the display name.
        /// 
        /// The display name.
        public string DisplayName { get; }
        /// 
        /// Gets the name of the two letter ISO language.
        /// 
        /// The name of the two letter ISO language.
        public string TwoLetterISOLanguageName { get; }
        /// 
        /// Gets the name of the three letter ISO language.
        /// 
        /// The name of the three letter ISO language.
        public string? ThreeLetterISOLanguageName
        {
            get
            {
                var vals = ThreeLetterISOLanguageNames;
                if (vals.Count > 0)
                {
                    return vals[0];
                }
                return null;
            }
        }
        public IReadOnlyList ThreeLetterISOLanguageNames { get; }
    }
}