using Newtonsoft.Json; using System.ComponentModel; namespace ModpackUpdater; public class UpdateInfo : IActionSetInfos { [JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))] public Version Version { get; set; } [DefaultValue(true)] public bool IsPublic { get; set; } = true; public List Actions { get; } = []; IEnumerable IActionSetInfos.Actions => Actions.Cast(); }