Method Create
- Namespace
- MailFathom.Application.Mail.Mutations.Audit
- Assembly
- MailFathom.Application.dll
Create(MailAccountId, MailboxMutation, DateTimeOffset?, DateTimeOffset?, int?, MailboxMutationAuditCursor?)
Builds a validated query from what a caller asked for, or reports why the request names no page.
public static MailboxMutationAuditQueryResult Create(MailAccountId accountId, MailboxMutation mutation, DateTimeOffset? completedFrom, DateTimeOffset? completedBefore, int? pageSize, MailboxMutationAuditCursor? cursor)
Parameters
accountIdMailAccountIdThe account whose trail is read.
mutationMailboxMutationThe mutation to narrow to, or the unspecified default for every mutation.
completedFromDateTimeOffset?The earliest completion instant served, inclusive, or null for none.
completedBeforeDateTimeOffset?The completion instant to stop before, exclusive, or null for none.
pageSizeint?How many entries the page may hold, or null for DefaultPageSize.
cursorMailboxMutationAuditCursor?The boundary a continued walk reads beyond, or null for the first page.
Returns
- MailboxMutationAuditQueryResult
The accepted query, or the refusal naming what the caller has to change.