using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace API.Controllers.Requests;
public record CreatePushoverConnectorRecord(string Name, string AppToken, string Username)
{
///
/// The Name of the Notification Connector
///
[Required]
[Description("The Name of the Notification Connector")]
public string Name { get; init; } = Name;
///
/// The Apptoken used for authentication
///
[Required]
[Description("The Apptoken used for authentication")]
public string AppToken { get; init; } = AppToken;
///
/// The Username used for authentication
///
[Required]
[Description("The Username used for authentication")]
public string Username { get; init; } = Username;
}