Table of Contents

Class CompanyInfo

Namespace
Mailtrap.SendingDomains.Models
Assembly
Mailtrap.Abstractions.dll

Represents company information associated with a sending domain.

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

Properties

Address

Gets or sets street address.

[JsonPropertyName("address")]
[JsonPropertyOrder(2)]
public string? Address { get; set; }

Property Value

string

Street address.

City

Gets or sets city.

[JsonPropertyName("city")]
[JsonPropertyOrder(3)]
public string? City { get; set; }

Property Value

string

City.

Country

Gets or sets country.

[JsonPropertyName("country")]
[JsonPropertyOrder(4)]
public string? Country { get; set; }

Property Value

string

Country.

InfoLevel

Gets or sets whether the sender is a business or an individual.

[JsonPropertyName("info_level")]
[JsonPropertyOrder(10)]
public CompanyInfoLevel InfoLevel { get; set; }

Property Value

CompanyInfoLevel

Sender info level.

Name

Gets or sets company or individual name.

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

Property Value

string

Company or individual name.

Phone

Gets or sets phone number.

[JsonPropertyName("phone")]
[JsonPropertyOrder(5)]
public string? Phone { get; set; }

Property Value

string

Phone number.

PrivacyPolicyUrl

Gets or sets URL of the privacy policy page.

[JsonPropertyName("privacy_policy_url")]
[JsonPropertyOrder(7)]
public Uri? PrivacyPolicyUrl { get; set; }

Property Value

Uri

URL of the privacy policy page.

TermsOfServiceUrl

Gets or sets URL of the terms of service page.

[JsonPropertyName("terms_of_service_url")]
[JsonPropertyOrder(8)]
public Uri? TermsOfServiceUrl { get; set; }

Property Value

Uri

URL of the terms of service page.

WebsiteUrl

Gets or sets company website URL.

[JsonPropertyName("website_url")]
[JsonPropertyOrder(9)]
public Uri? WebsiteUrl { get; set; }

Property Value

Uri

Company website URL, or a LinkedIn / personal website.

ZipCode

Gets or sets ZIP or postal code.

[JsonPropertyName("zip_code")]
[JsonPropertyOrder(6)]
public string? ZipCode { get; set; }

Property Value

string

ZIP or postal code.