Class Webhook2EventsDto
Represents a data transfer object that maps webhooks to their associated events.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class Webhook2EventsDto
Constructors
View SourceWebhook2EventsDto()
Declaration
public Webhook2EventsDto()
Fields
View SourceTableName
Declaration
public const string TableName = "umbracoWebhook2Events"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceEvent
Gets or sets the name of the webhook event.
Declaration
public string Event { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WebhookId
Gets or sets the identifier of the webhook associated with this event.
Declaration
[PrimaryKeyColumn(AutoIncrement = false, Name = "PK_webhookEvent2WebhookDto", OnColumns = "webhookId, event")]
[ForeignKey(typeof(WebhookDto), OnDelete = Rule.Cascade)]
public int WebhookId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |