using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ModpackUpdater.Model; public class UpdateAction : InstallAction { [JsonConverter(typeof(StringEnumConverter))] public UpdateActionType Type { get; set; } public string SrcPath { get; set; } public bool IsDirectory { get; set; } }