Table of Contents

Class TeamMailKeyEntry

Namespace
Tharga.Team.MongoDB
Assembly
Tharga.Team.MongoDB.dll

One mail key inside a team's TeamMailKeysEntity.

public record TeamMailKeyEntry : IEquatable<TeamMailKeyEntry>
Inheritance
TeamMailKeyEntry
Implements
Inherited Members

Properties

CreatedAt

public required DateTime CreatedAt { get; init; }

Property Value

DateTime

Key

public required string Key { get; init; }

Property Value

string

RetiresAt

[BsonIgnoreIfNull]
public DateTime? RetiresAt { get; init; }

Property Value

DateTime?

Role

[BsonRepresentation(BsonType.String)]
public required MailKeyRole Role { get; init; }

Property Value

MailKeyRole