Class InboundMailEntity
The stored form of InboundMailItem. A mail with no TeamKey is held by the postmaster, and archived there when its Outcome is Archived.
public record InboundMailEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<InboundMailEntity>
- Inheritance
-
PersistableEntityBaseEntityBase<ObjectId>EntityBaseInboundMailEntity
- Implements
-
IEquatable<PersistableEntityBase>IEntity<ObjectId>IEquatable<EntityBase>
- Inherited Members
-
EntityBase.ToString()EntityBase.GetHashCode()EntityBase.Equals(EntityBase<ObjectId>)EntityBase.Equals(EntityBase)EntityBase.<Clone>$()EntityBase.EqualityContractEntityBase<ObjectId>.Equals(PersistableEntityBase)EntityBase<ObjectId>.IdPersistableEntityBase.NeedsCleaning()PersistableEntityBase.BeginInit()PersistableEntityBase.EndInit()PersistableEntityBase.CatchAll
Properties
Envelope
public required MailEnvelopeEntity Envelope { get; init; }
Property Value
HandledAt
[BsonIgnoreIfNull]
public DateTime? HandledAt { get; init; }
Property Value
HandledBy
[BsonIgnoreIfNull]
public string HandledBy { get; init; }
Property Value
ItemKey
[BsonIgnoreIfNull]
public string ItemKey { get; init; }
Property Value
KeyRetiresAt
[BsonIgnoreIfNull]
public DateTime? KeyRetiresAt { get; init; }
Property Value
MailId
Derived from the delivery itself, and unique, so the same delivery read twice is kept once.
public required string MailId { get; init; }
Property Value
Outcome
[BsonIgnoreIfNull]
public string Outcome { get; init; }
Property Value
OwnerId
[BsonIgnoreIfNull]
public string OwnerId { get; init; }
Property Value
OwnerType
[BsonIgnoreIfNull]
public string OwnerType { get; init; }
Property Value
Reason
[BsonRepresentation(BsonType.String)]
public required MailRouteReason Reason { get; init; }
Property Value
ReceivedAt
public required DateTime ReceivedAt { get; init; }
Property Value
TeamKey
[BsonIgnoreIfNull]
public string TeamKey { get; init; }