Table of Contents

Constructor EmbeddingSpendTotals

Namespace
MailFathom.Application.Emails.Embeddings.Limits
Assembly
MailFathom.Application.dll

EmbeddingSpendTotals(long, long)

What one budget period has been charged, for one user and for the deployment they are part of.

public EmbeddingSpendTotals(long UserConsumedInputCharacterCount, long DeploymentConsumedInputCharacterCount)

Parameters

UserConsumedInputCharacterCount long

The characters sent inside this period for the named user.

DeploymentConsumedInputCharacterCount long

The characters sent inside this period for every user together.

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.