Table of Contents

Class InboxPermissions

Namespace
Mailtrap.Inboxes.Models
Assembly
Mailtrap.Abstractions.dll

Represents permissions for inbox.

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

Properties

CanDestroy

Gets the flag indicating whether user can destroy inbox.

[JsonPropertyName("can_destroy")]
[JsonPropertyOrder(3)]
public bool? CanDestroy { get; set; }

Property Value

bool?

true if user can destroy inbox.
false otherwise.

CanLeave

Gets the flag indicating whether user can leave inbox.

[JsonPropertyName("can_leave")]
[JsonPropertyOrder(4)]
public bool? CanLeave { get; set; }

Property Value

bool?

true if user can leave inbox.
false otherwise.

CanRead

Gets the flag indicating whether user can read inbox.

[JsonPropertyName("can_read")]
[JsonPropertyOrder(1)]
public bool? CanRead { get; set; }

Property Value

bool?

true if user can read inbox.
false otherwise.

CanUpdate

Gets the flag indicating whether user can update inbox.

[JsonPropertyName("can_update")]
[JsonPropertyOrder(2)]
public bool? CanUpdate { get; set; }

Property Value

bool?

true if user can update inbox.
false otherwise.