Table of Contents

Class WebhookPayloadFormat

Namespace
Mailtrap.Webhooks.Models
Assembly
Mailtrap.Abstractions.dll

Format of the webhook payload.

public sealed record WebhookPayloadFormat : StringEnum<WebhookPayloadFormat>, IEquatable<StringEnum<WebhookPayloadFormat>>, IEquatable<WebhookPayloadFormat>
Inheritance
WebhookPayloadFormat
Implements
Inherited Members

Fields

Json

Gets the value representing "json" payload format.

public static readonly WebhookPayloadFormat Json

Field Value

WebhookPayloadFormat

Represents "json" payload format.

JsonLines

Gets the value representing "jsonlines" payload format.

public static readonly WebhookPayloadFormat JsonLines

Field Value

WebhookPayloadFormat

Represents "jsonlines" payload format.