Table of Contents

Class UserNoticeItem

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

One occurrence as it reaches one user.

public sealed record UserNoticeItem : IEquatable<UserNoticeItem>
Inheritance
UserNoticeItem
Implements
Inherited Members

Properties

Category

The mail category it is sent in.

public required string Category { get; init; }

Property Value

string

CompletedAt

When it was mailed or given up, in UTC.

public DateTime? CompletedAt { get; init; }

Property Value

DateTime?

CoveredSubjects

The subjects the mail that carried it covered, when the notice is composed from state; empty otherwise.

public string[] CoveredSubjects { get; init; }

Property Value

string[]

Delivery

How it is delivered.

public required UserNoticeDelivery Delivery { get; init; }

Property Value

UserNoticeDelivery

Id

The item's id, set by the outbox.

public string Id { get; init; }

Property Value

string

LinkPath

The site path of the thing, or null.

public string LinkPath { get; init; }

Property Value

string

MailId

The id of the queued mail that carries it.

public string MailId { get; init; }

Property Value

string

NoticeId

The id of the occurrence it came from.

public required string NoticeId { get; init; }

Property Value

string

NoticeKey

The notice's key.

public required string NoticeKey { get; init; }

Property Value

string

OccurrenceKey

What identifies the occurrence: the notice, the subject and the discriminator.

public required string OccurrenceKey { get; init; }

Property Value

string

RaisedAt

When the occurrence was raised, in UTC.

public required DateTime RaisedAt { get; init; }

Property Value

DateTime

Reason

Why it was given up.

public string Reason { get; init; }

Property Value

string

Status

Where it stands.

public UserNoticeItemStatus Status { get; init; }

Property Value

UserNoticeItemStatus

Stream

The user's stream it waits in.

public required string Stream { get; init; }

Property Value

string

SubjectId

The id of the thing it is about.

public required string SubjectId { get; init; }

Property Value

string

SubjectText

How the thing is named to a reader.

public string SubjectText { get; init; }

Property Value

string

TeamKey

The team the occurrence belongs to.

public required string TeamKey { get; init; }

Property Value

string

UserKey

The key of the user it reaches.

public required string UserKey { get; init; }

Property Value

string

Values

The placeholder values, by name.

public IReadOnlyDictionary<string, string> Values { get; init; }

Property Value

IReadOnlyDictionary<string, string>