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; } = default;
///
/// The Description of the Connection
///
public string? Description { get; set; } = default;
///
/// The Configuration of the Connection in a Json Format
///
public JsonObject ConnectionConfiguration { get; set; }
///
/// The Connection Type Name
///
[Required]
public string ConnectionType { get; set; }
}