Class AgentAnswerEnded
- Namespace
- MailFathom.Application.Agent.Conversations
- Assembly
- MailFathom.Application.dll
The answer stopped being composed, and this says how.
public sealed record AgentAnswerEnded : AgentConversationEntry, IEquatable<AgentConversationEntry>, IEquatable<AgentAnswerEnded>
- Inheritance
-
AgentAnswerEnded
- Implements
- Inherited Members
Remarks
Recorded rather than inferred from nothing further arriving, because a conversation read later has no other way to tell an answer that finished from one whose replica went away mid-run. Nothing it composed is removed or rolled back by any of the three outcomes: what arrived stays, and the record says what happened to the rest.
The suggested follow-ups ride on the ending rather than in an entry of their own. They belong to an answer that finished, so they exist exactly when this does and never before it; and a member an older build does not know is one it reads past, where a kind it does not know is a row it cannot read at all — which is what a rolling upgrade would hand it. Each is text and never an act: pressing one asks it as a question, and nothing else.
Constructors
- AgentAnswerEnded(AgentMessageId, AgentAnswerOutcome, IReadOnlyList<PresentationText>?)
The answer stopped being composed, and this says how.
Fields
- Kind
The value the type discriminator carries on the wire.
Properties
- ComposedInto
Gets the answer this entry is part of, and null where it belongs to no answer being composed.
- EndsTheAnswer
Gets whether this entry ends the answer a run was composing, after which nothing further is written into it.
- EntryName
Gets the name this entry is written under, which is the value the type discriminator carries.
- FollowUps
Gets the questions the agent suggests asking next, in the order it suggested them, and empty where it suggested none.
- History
Gets which of the conversation's two readings this entry belongs to.
- MessageId
The answer that has ended.
- Outcome
Gets how the answer stopped being composed.