Table of Contents

Class AccountAccessPermissions

Namespace
Mailtrap.AccountAccesses.Models
Assembly
Mailtrap.Abstractions.dll

Represents access permissions for the account.

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

Properties

CanDestroy

Gets the flag indicating whether specifier can destroy account.

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

Property Value

bool?

true if specifier can destroy account.
false otherwise.

CanLeave

Gets the flag indicating whether specifier can leave account.

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

Property Value

bool?

true if specifier can leave account.
false otherwise.

CanRead

Gets the flag indicating whether specifier can read account.

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

Property Value

bool?

true if specifier can read account.
false otherwise.

CanUpdate

Gets the flag indicating whether specifier can update account.

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

Property Value

bool?

true if specifier can update account.
false otherwise.