Class FailureScenarioDecision
- Namespace
- ReferenceApplication.Web.Governance.FailureScenarios
- Assembly
- ReferenceApplication.Web.dll
A decision the ledger holds for a run's request.
public sealed record FailureScenarioDecision : IEquatable<FailureScenarioDecision>
- Inheritance
-
FailureScenarioDecision
- Implements
- Inherited Members
Constructors
FailureScenarioDecision(string, string, string, IReadOnlyList<string>, string?, DateTimeOffset)
A decision the ledger holds for a run's request.
public FailureScenarioDecision(string RecordId, string OperationName, string Outcome, IReadOnlyList<string> ReasonCodes, string? CapabilityTokenId, DateTimeOffset RecordedUtc)
Parameters
RecordIdstringThe ledger record identifier.
OperationNamestringThe governed operation.
OutcomestringThe decision outcome.
ReasonCodesIReadOnlyList<string>The decision's reason codes.
CapabilityTokenIdstringThe capability token that authorized the decision, when one did.
RecordedUtcDateTimeOffsetWhen the record was appended.
Properties
CapabilityTokenId
The capability token that authorized the decision, when one did.
public string? CapabilityTokenId { get; init; }
Property Value
OperationName
The governed operation.
public string OperationName { get; init; }
Property Value
Outcome
The decision outcome.
public string Outcome { get; init; }
Property Value
ReasonCodes
The decision's reason codes.
public IReadOnlyList<string> ReasonCodes { get; init; }
Property Value
RecordId
The ledger record identifier.
public string RecordId { get; init; }
Property Value
RecordedUtc
When the record was appended.
public DateTimeOffset RecordedUtc { get; init; }