View Source
Class Webhook
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class Webhook : EntityBase, IRememberBeingDirty, ICanBeDirty, IWebhook, IEntity, IDeepCloneable
Constructors
View Source
Webhook(String, Nullable<Boolean>, Guid[], String[], Nullable<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 |
System.String |
url |
|
System.Nullable<System.Boolean> |
enabled |
|
Guid[] |
entityKeys |
|
System.String[] |
events |
|
System.Nullable<IDictionary<System.String, System.String>> |
headers |
|
Properties
View Source
ContentTypeKeys
Declaration
public Guid[] ContentTypeKeys { get; set; }
Property Value
View Source
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Events
Declaration
public string[] Events { get; set; }
Property Value
Type |
Description |
System.String[] |
|
View Source
Declaration
public IDictionary<string, string> Headers { get; set; }
Property Value
Type |
Description |
IDictionary<System.String, System.String> |
|
View Source
Url
Declaration
public string Url { get; set; }
Property Value
Type |
Description |
System.String |
|