Class DecisionReplayDetails
- Namespace
- ReferenceApplication.Web.Governance.Replay
- Assembly
- ReferenceApplication.Web.dll
A persisted decision and what can be reconstructed from it.
public sealed record DecisionReplayDetails : IEquatable<DecisionReplayDetails>
- Inheritance
-
DecisionReplayDetails
- Implements
- Inherited Members
Constructors
DecisionReplayDetails(string, string, DateTimeOffset, string, string?, string, string, string?, string, IReadOnlyList<string>, string?, string?, DecisionReplayPolicyComparison, DecisionReplayEvidence, IReadOnlyList<DecisionReplayInput>, bool, string?)
A persisted decision and what can be reconstructed from it.
public DecisionReplayDetails(string DecisionReceiptId, string RecordId, DateTimeOffset OccurredUtc, string OperationName, string? OperationKey, string ActorId, string ActorType, string? ActorDisplayName, string Outcome, IReadOnlyList<string> ReasonCodes, string? CorrelationId, string? CapabilityGrantId, DecisionReplayPolicyComparison Policy, DecisionReplayEvidence Evidence, IReadOnlyList<DecisionReplayInput> Inputs, bool Replayable, string? NotReplayableReason)
Parameters
DecisionReceiptIdstringThe decision receipt identifier.
RecordIdstringThe ledger record identifier.
OccurredUtcDateTimeOffsetWhen the decision occurred.
OperationNamestringThe governed operation name.
OperationKeystringThe sample operation the decision was made for, when it is still mapped.
ActorIdstringThe recorded actor identifier.
ActorTypestringThe recorded actor type.
ActorDisplayNamestringThe recorded actor display name.
OutcomestringThe recorded outcome.
ReasonCodesIReadOnlyList<string>The recorded reason codes.
CorrelationIdstringThe recorded correlation identifier.
CapabilityGrantIdstringThe capability grant the receipt names, when it names one.
PolicyDecisionReplayPolicyComparisonThe recorded policy compared with the current one.
EvidenceDecisionReplayEvidenceThe stored evidence hash and its verification.
InputsIReadOnlyList<DecisionReplayInput>Each evaluation input, and whether it was recorded, inferred, or is unrecoverable.
ReplayableboolWhether the decision can be replayed.
NotReplayableReasonstringWhy it cannot, when it cannot.
Properties
ActorDisplayName
The recorded actor display name.
public string? ActorDisplayName { get; init; }
Property Value
ActorId
The recorded actor identifier.
public string ActorId { get; init; }
Property Value
ActorType
The recorded actor type.
public string ActorType { get; init; }
Property Value
CapabilityGrantId
The capability grant the receipt names, when it names one.
public string? CapabilityGrantId { get; init; }
Property Value
CorrelationId
The recorded correlation identifier.
public string? CorrelationId { get; init; }
Property Value
DecisionReceiptId
The decision receipt identifier.
public string DecisionReceiptId { get; init; }
Property Value
Evidence
The stored evidence hash and its verification.
public DecisionReplayEvidence Evidence { get; init; }
Property Value
Inputs
Each evaluation input, and whether it was recorded, inferred, or is unrecoverable.
public IReadOnlyList<DecisionReplayInput> Inputs { get; init; }
Property Value
NotReplayableReason
Why it cannot, when it cannot.
public string? NotReplayableReason { get; init; }
Property Value
OccurredUtc
When the decision occurred.
public DateTimeOffset OccurredUtc { get; init; }
Property Value
OperationKey
The sample operation the decision was made for, when it is still mapped.
public string? OperationKey { get; init; }
Property Value
OperationName
The governed operation name.
public string OperationName { get; init; }
Property Value
Outcome
The recorded outcome.
public string Outcome { get; init; }
Property Value
Policy
The recorded policy compared with the current one.
public DecisionReplayPolicyComparison Policy { get; init; }
Property Value
ReasonCodes
The recorded reason codes.
public IReadOnlyList<string> ReasonCodes { get; init; }
Property Value
RecordId
The ledger record identifier.
public string RecordId { get; init; }
Property Value
Replayable
Whether the decision can be replayed.
public bool Replayable { get; init; }