Files
btcpayserver/BTCPayServer/Plugins/Webhooks/Views/AvailableWebhookViewModel.cs
2025-10-19 22:31:24 +09:00

13 lines
453 B
C#

namespace BTCPayServer.Plugins.Webhooks.Views;
/// <summary>
/// Used to represent available webhooks with their descriptions in the ModifyWebhook view
/// </summary>
/// <param name="type">The webhook type</param>
/// <param name="description">User friendly description</param>
public class AvailableWebhookViewModel(string type, string description)
{
public string Type { get; } = type;
public string Description { get; } = description;
}