Table of Contents

Class UpdateContactResponse

Namespace
Mailtrap.Contacts.Responses
Assembly
Mailtrap.Abstractions.dll

Response object for contact update.

public sealed record UpdateContactResponse : ContactResponse, IEquatable<ContactResponse>, IEquatable<UpdateContactResponse>
Inheritance
UpdateContactResponse
Implements
Inherited Members

Properties

Action

Gets the action performed on the contact.

[JsonPropertyName("action")]
public ContactAction Action { get; set; }

Property Value

ContactAction

"created" if contact does not exist, "updated" if contact already exists.