btcpayserver/BTCPayServer/Models/StoreViewModels/WebhooksViewModel.cs

18 lines
535 B
C#
Raw Normal View History

2020-11-06 20:42:26 +09:00
using System;
namespace BTCPayServer.Models.StoreViewModels
{
public class WebhooksViewModel
{
public class WebhookViewModel
{
public string Id { get; set; }
public string Url { get; set; }
public bool LastDeliverySuccessful { get; set; } = true;
public DateTimeOffset? LastDeliveryTimeStamp { get; set; } = null;
public string LastDeliveryErrorMessage { get; set; } = null;
2020-11-06 20:42:26 +09:00
}
public WebhookViewModel[] Webhooks { get; set; }
}
}