View Source
Class Webhook
Assembly: Umbraco.Core.dll
Syntax
public class Webhook : EntityBase, IRememberBeingDirty, ICanBeDirty, IWebhook, IEntity, IDeepCloneable
Constructors
View Source
Webhook(string, bool?, Guid[]?, string[]?, IDictionary<string, string>?)
Declaration
public Webhook(string url, bool? enabled = null, Guid[]? entityKeys = null, string[]? events = null, IDictionary<string, string>? headers = null)
Parameters
| Type |
Name |
Description |
| string |
url |
|
| bool? |
enabled |
|
| Guid[] |
entityKeys |
|
| string[] |
events |
|
| IDictionary<string, string> |
headers |
|
Properties
View Source
ContentTypeKeys
Declaration
public Guid[] ContentTypeKeys { get; set; }
Property Value
View Source
Description
Declaration
public string? Description { get; set; }
Property Value
View Source
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
View Source
Events
Declaration
public string[] Events { get; set; }
Property Value
| Type |
Description |
| string[] |
|
View Source
Declaration
public IDictionary<string, string> Headers { get; set; }
Property Value
| Type |
Description |
| IDictionary<string, string> |
|
View Source
Name
Declaration
public string? Name { get; set; }
Property Value
View Source
Url
Declaration
public string Url { get; set; }
Property Value