Table of Contents

Class StatementResult

Namespace
Xapi.Client
Assembly
Xapi.Client.dll

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

statements XapiList<Statement>

The Statements of this page, possibly empty.

more Uri

Where 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

XapiList<AttachmentPayload>

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

DateTimeOffset?

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

Uri

Statements

The Statements of this page, possibly empty.

public XapiList<Statement> Statements { get; init; }

Property Value

XapiList<Statement>