16 lines
369 B
C#
16 lines
369 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Service;
|
|
|
|
public class WebhookConfigResponseDto
|
|
{
|
|
[JsonPropertyName("webhook_url")]
|
|
public string? WebhookUrl { get; set; }
|
|
|
|
[JsonPropertyName("events")]
|
|
public List<string> Events { get; set; } = new();
|
|
|
|
[JsonPropertyName("is_active")]
|
|
public bool IsActive { get; set; }
|
|
}
|