Skip to content

Class MailgunInvitationDeliveryClientResult

Namespace: Cephalon.MultiTenancy.Governance.MailgunDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.MailgunDelivery.dll

Describes the result returned by a Mailgun invitation delivery client.

public sealed class MailgunInvitationDeliveryClientResult

objectMailgunInvitationDeliveryClientResult

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

MailgunInvitationDeliveryClientResult(bool, int?, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ MailgunInvitationDeliveryClientResult(bool, int?, string?, string?, IReadOnlyDictionary<string, string>?)”

Creates a Mailgun invitation delivery client result.

public MailgunInvitationDeliveryClientResult(bool accepted, int? statusCode = null, string? providerMessageId = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null)

accepted bool

A value indicating whether the Mailgun API accepted the request.

statusCode int?

The HTTP status code returned by Mailgun when one is known.

providerMessageId string?

The Mailgun message identifier when one is known.

reason string?

The provider-facing outcome reason.

metadata IReadOnlyDictionary<string, string>?

Optional safe client metadata.

Gets a value indicating whether the Mailgun API accepted the request.

public bool Accepted { get; }

bool

Gets optional safe client metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the Mailgun message identifier when one is known.

public string? ProviderMessageId { get; }

string?

Gets the provider-facing outcome reason.

public string? Reason { get; }

string?

Gets the HTTP status code returned by Mailgun when one is known.

public int? StatusCode { get; }

int?