Class EmbeddingSpendTotals
- Namespace
- MailFathom.Application.Emails.Embeddings.Limits
- Assembly
- MailFathom.Application.dll
What one budget period has been charged, for one user and for the deployment they are part of.
public sealed record EmbeddingSpendTotals : IEquatable<EmbeddingSpendTotals>
- Inheritance
-
EmbeddingSpendTotals
- Implements
- Inherited Members
Remarks
The two figures are answered together rather than by two reads, because they are two aggregations of one set of rows and a gate that read them separately could admit a request against a user total and a deployment total taken at different moments. The user's figure is never above the deployment's, which is what makes a refusal attributable: reaching the deployment bound without reaching the user's is somebody else's spending.
Constructors
- EmbeddingSpendTotals(long, long)
What one budget period has been charged, for one user and for the deployment they are part of.
Properties
- DeploymentConsumedInputCharacterCount
The characters sent inside this period for every user together.
- Unspent
Gets the totals of a period nothing has been charged to yet.
- UserConsumedInputCharacterCount
The characters sent inside this period for the named user.