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
CompletedAt
When it was mailed or given up, in UTC.
public DateTime? CompletedAt { get; init; }
Property Value
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
Id
The item's id, set by the outbox.
public string Id { get; init; }
Property Value
LinkPath
The site path of the thing, or null.
public string LinkPath { get; init; }
Property Value
MailId
The id of the queued mail that carries it.
public string MailId { get; init; }
Property Value
NoticeId
The id of the occurrence it came from.
public required string NoticeId { get; init; }
Property Value
NoticeKey
The notice's key.
public required string NoticeKey { get; init; }
Property Value
OccurrenceKey
What identifies the occurrence: the notice, the subject and the discriminator.
public required string OccurrenceKey { get; init; }
Property Value
RaisedAt
When the occurrence was raised, in UTC.
public required DateTime RaisedAt { get; init; }
Property Value
Reason
Why it was given up.
public string Reason { get; init; }
Property Value
Status
Where it stands.
public UserNoticeItemStatus Status { get; init; }
Property Value
Stream
The user's stream it waits in.
public required string Stream { get; init; }
Property Value
SubjectId
The id of the thing it is about.
public required string SubjectId { get; init; }
Property Value
SubjectText
How the thing is named to a reader.
public string SubjectText { get; init; }
Property Value
TeamKey
The team the occurrence belongs to.
public required string TeamKey { get; init; }
Property Value
UserKey
The key of the user it reaches.
public required string UserKey { get; init; }
Property Value
Values
The placeholder values, by name.
public IReadOnlyDictionary<string, string> Values { get; init; }