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