2025-02-10 09:23:22 +01:00
|
|
|
using Umbraco.Cms.Core.Models.Entities;
|
2023-11-21 14:38:47 +01:00
|
|
|
|
|
|
|
|
namespace Umbraco.Cms.Core.Models;
|
|
|
|
|
|
|
|
|
|
public interface IWebhook : IEntity
|
|
|
|
|
{
|
2025-02-10 09:23:22 +01:00
|
|
|
// TODO (V16): Remove the default implementations from this interface.
|
|
|
|
|
string? Name
|
|
|
|
|
{
|
|
|
|
|
get { return null; }
|
|
|
|
|
set { }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
string? Description
|
|
|
|
|
{
|
|
|
|
|
get { return null; }
|
|
|
|
|
set { }
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-21 14:38:47 +01:00
|
|
|
string Url { get; set; }
|
|
|
|
|
|
|
|
|
|
string[] Events { get; set; }
|
|
|
|
|
|
|
|
|
|
Guid[] ContentTypeKeys {get; set; }
|
|
|
|
|
|
|
|
|
|
bool Enabled { get; set; }
|
|
|
|
|
|
|
|
|
|
IDictionary<string, string> Headers { get; set; }
|
|
|
|
|
}
|