Class WebhookRequestDto
Represents a data transfer object used for persisting webhook request data in the database.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class WebhookRequestDto
Constructors
View SourceWebhookRequestDto()
Declaration
public WebhookRequestDto()
Fields
View SourcePrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
| Type | Description |
|---|---|
| string |
TableName
Declaration
public const string TableName = "umbracoWebhookRequest"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceAlias
Gets or sets the alias that identifies the webhook event.
Declaration
public string Alias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or sets the unique identifier for the webhook request.
Declaration
[PrimaryKeyColumn(AutoIncrement = true)]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RequestObject
Gets or sets the serialized JSON representation of the webhook request object.
Declaration
[SpecialDbType(SpecialDbTypes.NVARCHARMAX)]
[NullSetting(NullSetting = NullSettings.Null)]
public string? RequestObject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RetryCount
Gets or sets the number of times the webhook request has been retried.
Declaration
public int RetryCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
WebhookKey
Gets or sets the unique identifier for the webhook.
Declaration
public Guid WebhookKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |