Table of Contents

Class ContactEvent

Namespace
Mailtrap.ContactEvents.Models
Assembly
Mailtrap.Abstractions.dll

Represents Contact Event details.

public sealed record ContactEvent : IEquatable<ContactEvent>
Inheritance
ContactEvent
Implements

Properties

ContactEmail

Gets or sets Contact email.

[JsonPropertyName("contact_email")]
public string ContactEmail { get; set; }

Property Value

string

Contact email.

ContactId

Gets or sets Contact identifier.

[JsonPropertyName("contact_id")]
public string ContactId { get; set; }

Property Value

string

Contact identifier.

Name

Gets or sets Contact Event name.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Contact Event name.

Params

Gets Contact event params.

[JsonPropertyName("params")]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public IDictionary<string, object?> Params { get; }

Property Value

IDictionary<string, object>

Contact event params.