mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-18 07:39:13 +02:00
28 lines
787 B
C#
28 lines
787 B
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.Controllers.Requests;
|
|
|
|
public record CreatePushoverConnectorRecord
|
|
{
|
|
/// <summary>
|
|
/// The Name of the Notification Connector
|
|
/// </summary>
|
|
[Required]
|
|
[Description("The Name of the Notification Connector")]
|
|
public required string Name { get; init; }
|
|
|
|
/// <summary>
|
|
/// The Apptoken used for authentication
|
|
/// </summary>
|
|
[Required]
|
|
[Description("The Apptoken used for authentication")]
|
|
public required string AppToken { get; init; }
|
|
|
|
/// <summary>
|
|
/// The Username used for authentication
|
|
/// </summary>
|
|
[Required]
|
|
[Description("The Username used for authentication")]
|
|
public required string Username { get; init; }
|
|
} |