using System.Text.Json.Serialization; namespace Elsa.Connections.Models; public class ConnectionProperties where T : class, new() { /// /// Creates a new instance of the class. /// [JsonConstructor] public ConnectionProperties() { } public string? ConnectionName { get; set; } [JsonIgnore] public T Properties { get; set; } = new T(); }