using System.Text.Json.Serialization;
using Sonarr.Http.REST;

namespace Sonarr.Api.V3.Profiles.Languages
{
    public class LanguageResource : RestResource
    {
        [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
        public new int Id { get; set; }
        public string Name { get; set; }
        public string NameLower => Name.ToLowerInvariant();
    }
}
