using System.ComponentModel.DataAnnotations;
using System.Text.Json.Nodes;
namespace Elsa.Connections.Models;
public class ConnectionInputModel
{
///
/// The Name of the Connection
///
[Required] public string Name { get; set; } = null!;
///
/// The Description of the Connection
///
public string? Description { get; set; }
///
/// The Configuration of the Connection in a Json Format
///
public JsonObject ConnectionConfiguration { get; set; } = new();
///
/// The Connection Type Name
///
[Required] public string ConnectionType { get; set; } = null!;
}