using Newtonsoft.Json; namespace ModpackUpdater; public class InstallAction { public string Name { get; set; } public string InheritFrom { get; set; } public bool IsZip { get; set; } public string ZipPath { get; set; } public string DestPath { get; set; } public string SourceUrl { get; set; } public SourceType SourceType { get; set; } public string SourceOwner { get; set; } public string SourceName { get; set; } public string SourceRegex { get; set; } public string SourceTag { get; set; } public Side Side { get; set; } = Side.Both; public bool IsExtra { get; set; } [JsonProperty, Obsolete] private string DownloadUrl { set => SourceUrl = value; } }