Table of Contents

Class ProjectPermissions

Namespace
Mailtrap.Projects.Models
Assembly
Mailtrap.Abstractions.dll

Represents permissions for a project.

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

Properties

CanDestroy

Gets the flag indicating whether user can destroy the project.

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

Property Value

bool?

true if user can destroy the project.
false otherwise.

CanLeave

Gets the flag indicating whether user can leave the project.

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

Property Value

bool?

true if user can leave the project.
false otherwise.

CanRead

Gets the flag indicating whether user can read the project.

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

Property Value

bool?

true if user can read the project.
false otherwise.

CanUpdate

Gets the flag indicating whether user can update the project.

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

Property Value

bool?

true if user can update the project.
false otherwise.