1
0
2025-05-21 11:20:11 +08:00

25 lines
594 B
C#

using Flawless.Communication.Shared;
namespace Flawless.Communication.Response;
public struct WebhookResponse
{
public WebhookResponse(int id, string targetUrl, int eventType, bool isActive, DateTime createdAt)
{
Id = id;
TargetUrl = targetUrl;
EventType = eventType;
IsActive = isActive;
CreatedAt = createdAt;
}
public int Id { get; set; }
public string TargetUrl { get; set; }
public int EventType { get; set; }
public bool IsActive { get; set; } = true;
public DateTime CreatedAt { get; set; }
}