Class DocumentModel
- Namespace
- Cress.LivingDocs
- Assembly
- Cress.LivingDocs.dll
Top-level data shape passed to every living doc template.
public sealed record DocumentModel : IEquatable<DocumentModel>
- Inheritance
-
DocumentModel
- Implements
- Inherited Members
Constructors
DocumentModel(DocumentMeta, DocumentBranding, SuiteSummary, IReadOnlyList<FlowSummary>, RunMetrics?, IReadOnlyList<RunHistoryEntry>, IReadOnlyList<ScreenshotEvidence>, IReadOnlyList<DiagnosticEntry>)
Top-level data shape passed to every living doc template.
public DocumentModel(DocumentMeta Meta, DocumentBranding Branding, SuiteSummary Suite, IReadOnlyList<FlowSummary> Flows, RunMetrics? Metrics, IReadOnlyList<RunHistoryEntry> RecentRuns, IReadOnlyList<ScreenshotEvidence> Screenshots, IReadOnlyList<DiagnosticEntry> Diagnostics)
Parameters
MetaDocumentMetaBrandingDocumentBrandingSuiteSuiteSummaryFlowsIReadOnlyList<FlowSummary>MetricsRunMetricsRecentRunsIReadOnlyList<RunHistoryEntry>ScreenshotsIReadOnlyList<ScreenshotEvidence>DiagnosticsIReadOnlyList<DiagnosticEntry>
Properties
Branding
public DocumentBranding Branding { get; init; }
Property Value
Diagnostics
public IReadOnlyList<DiagnosticEntry> Diagnostics { get; init; }
Property Value
Flows
public IReadOnlyList<FlowSummary> Flows { get; init; }
Property Value
Meta
public DocumentMeta Meta { get; init; }
Property Value
Metrics
public RunMetrics? Metrics { get; init; }
Property Value
RecentRuns
public IReadOnlyList<RunHistoryEntry> RecentRuns { get; init; }
Property Value
Screenshots
public IReadOnlyList<ScreenshotEvidence> Screenshots { get; init; }
Property Value
Suite
public SuiteSummary Suite { get; init; }