Table of Contents

Class ContactExport

Namespace
Mailtrap.ContactExports.Models
Assembly
Mailtrap.Abstractions.dll

Generic response object for contact export operations.

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

Properties

CreatedAt

Gets or sets contact export creation date and time.

[JsonPropertyName("created_at")]
[JsonPropertyOrder(3)]
public DateTimeOffset? CreatedAt { get; set; }

Property Value

DateTimeOffset?

Contact export creation date and time.

Id

Gets or sets created contact export identifier.

[JsonPropertyName("id")]
[JsonPropertyOrder(1)]
[JsonRequired]
public long Id { get; set; }

Property Value

long

Contact export identifier.

Status

Gets or sets contact export status.

[JsonPropertyName("status")]
[JsonPropertyOrder(2)]
public ContactExportStatus Status { get; set; }

Property Value

ContactExportStatus

Contact export status.

UpdatedAt

Gets or sets contact's export update date and time.

[JsonPropertyName("updated_at")]
[JsonPropertyOrder(4)]
public DateTimeOffset? UpdatedAt { get; set; }

Property Value

DateTimeOffset?

Contact's export update date and time.

Url

Gets or sets the URL of the exported contacts file.

[JsonPropertyName("url")]
[JsonPropertyOrder(5)]
public Uri? Url { get; set; }

Property Value

Uri

The URL of the exported contacts file or null if not available.

Remarks

Only available when the export is finished.