Class StatementResult
One page of a Statement query: the StatementResult object (IEEE 9274.1.1, 4.1.6.1).
public sealed record StatementResult : IEquatable<StatementResult>
- Inheritance
-
StatementResult
- Implements
- Inherited Members
Constructors
StatementResult(XapiList<Statement>, Uri?)
Creates a page.
public StatementResult(XapiList<Statement> statements, Uri? more)
Parameters
statementsXapiList<Statement>The Statements of this page, possibly empty.
moreUriWhere the next page is, as returned by the LRS (usually a relative IRL), or null on the last page.
Properties
Attachments
Attachment data returned for Attachments, matched to the Statements' Attachment objects by Sha2. Empty otherwise.
public XapiList<AttachmentPayload> Attachments { get; init; }
Property Value
ConsistentThrough
The X-Experience-API-Consistent-Through response header: Statements stored before this time are known
to be available for retrieval.
public DateTimeOffset? ConsistentThrough { get; init; }
Property Value
More
Where the next page is, as returned by the LRS (usually a relative IRL), or null on the last page. Pass it to GetMoreStatementsAsync(Uri, CancellationToken).
public Uri? More { get; init; }
Property Value
Statements
The Statements of this page, possibly empty.
public XapiList<Statement> Statements { get; init; }