Skip to content

Class MailgunInvitationDeliveryStatusCallbackResult

Namespace: Cephalon.MultiTenancy.Governance.MailgunDelivery.AspNetCore.Hosting
Assembly: Cephalon.MultiTenancy.Governance.MailgunDelivery.AspNetCore.dll

Describes a Mailgun webhook callback translation response.

public sealed class MailgunInvitationDeliveryStatusCallbackResult

objectMailgunInvitationDeliveryStatusCallbackResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

MailgunInvitationDeliveryStatusCallbackResult(string, int, int, int, int, int, bool, bool, string, string?, IReadOnlyList<MailgunInvitationDeliveryStatusCallbackEventResult>, bool, string, int)

Section titled “ MailgunInvitationDeliveryStatusCallbackResult(string, int, int, int, int, int, bool, bool, string, string?, IReadOnlyList<MailgunInvitationDeliveryStatusCallbackEventResult>, bool, string, int)”

Creates a Mailgun callback translation response.

public MailgunInvitationDeliveryStatusCallbackResult(string routePattern, int totalEvents, int translatedEvents, int reconciledEvents, int skippedEvents, int deniedEvents, bool signedWebhookVerificationRequired, bool signedWebhookVerified, string signedWebhookVerificationOutcome, string? signedWebhookSignatureField, IReadOnlyList<MailgunInvitationDeliveryStatusCallbackEventResult> events, bool signedWebhookReplayProtectionEnabled = false, string signedWebhookReplayProtectionOutcome = "not-configured", int duplicateEvents = 0)

routePattern string

The endpoint route pattern that accepted the callback.

totalEvents int

The number of events supplied in the callback payload.

translatedEvents int

The number of events translated into Cephalon reconciliation requests.

reconciledEvents int

The number of events reconciled by Cephalon governance.

skippedEvents int

The number of events skipped before reconciliation.

deniedEvents int

The number of translated events denied by the reconciler.

signedWebhookVerificationRequired bool

A value indicating whether Mailgun webhook signature verification was required.

signedWebhookVerified bool

A value indicating whether the Mailgun webhook signature verified.

signedWebhookVerificationOutcome string

The Mailgun webhook signature verification outcome.

signedWebhookSignatureField string?

The Mailgun signature field that verified the callback, when configured.

events IReadOnlyList<MailgunInvitationDeliveryStatusCallbackEventResult>

Per-event translation and reconciliation results.

signedWebhookReplayProtectionEnabled bool

A value indicating whether process-local replay protection was enabled for this verified signed callback.

signedWebhookReplayProtectionOutcome string

The replay-protection outcome for this callback.

duplicateEvents int

The number of translated Mailgun events skipped because their event id was already observed.

Gets the number of translated events denied by the reconciler.

public int DeniedEvents { get; }

int

Gets the number of translated Mailgun events skipped because their event id was already observed.

public int DuplicateEvents { get; }

int

Gets per-event translation and reconciliation results.

public IReadOnlyList<MailgunInvitationDeliveryStatusCallbackEventResult> Events { get; }

IReadOnlyList<MailgunInvitationDeliveryStatusCallbackEventResult>

Gets the number of events reconciled by Cephalon governance.

public int ReconciledEvents { get; }

int

Gets the endpoint route pattern that accepted the callback.

public string RoutePattern { get; }

string

Gets a value indicating whether process-local replay protection was enabled for this verified signed callback.

public bool SignedWebhookReplayProtectionEnabled { get; }

bool

Gets the replay-protection outcome for this callback.

public string SignedWebhookReplayProtectionOutcome { get; }

string

Gets the Mailgun signature field that verified the callback, when configured.

public string? SignedWebhookSignatureField { get; }

string?

Gets the Mailgun webhook signature verification outcome.

public string SignedWebhookVerificationOutcome { get; }

string

Gets a value indicating whether Mailgun webhook signature verification was required.

public bool SignedWebhookVerificationRequired { get; }

bool

Gets a value indicating whether the Mailgun webhook signature verified.

public bool SignedWebhookVerified { get; }

bool

Gets the number of events skipped before reconciliation.

public int SkippedEvents { get; }

int

Gets the number of events supplied in the callback payload.

public int TotalEvents { get; }

int

Gets the number of events translated into Cephalon delivery-status events.

public int TranslatedEvents { get; }

int