Class Webhook2HeadersDto
Represents a data transfer object (DTO) for storing header information associated with Webhook2 configurations. This DTO is typically used for persisting or transferring webhook header data within the Umbraco CMS infrastructure.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class Webhook2HeadersDto
Constructors
View SourceWebhook2HeadersDto()
Declaration
public Webhook2HeadersDto()
Fields
View SourceTableName
Declaration
public const string TableName = "umbracoWebhook2Headers"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceKey
Gets or sets the key of the webhook header.
Declaration
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the value associated with the webhook header.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WebhookId
Gets or sets the identifier of the webhook associated with this header.
Declaration
[PrimaryKeyColumn(AutoIncrement = false, Name = "PK_headers2WebhookDto", OnColumns = "webhookId, Key")]
[ForeignKey(typeof(WebhookDto), OnDelete = Rule.Cascade)]
public int WebhookId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |