Table of Contents

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

DecisionReceiptId string

The decision receipt identifier.

RecordId string

The ledger record identifier.

OccurredUtc DateTimeOffset

When the decision occurred.

OperationName string

The governed operation name.

OperationKey string

The sample operation the decision was made for, when it is still mapped.

ActorId string

The recorded actor identifier.

ActorType string

The recorded actor type.

ActorDisplayName string

The recorded actor display name.

Outcome string

The recorded outcome.

ReasonCodes IReadOnlyList<string>

The recorded reason codes.

CorrelationId string

The recorded correlation identifier.

CapabilityGrantId string

The capability grant the receipt names, when it names one.

Policy DecisionReplayPolicyComparison

The recorded policy compared with the current one.

Evidence DecisionReplayEvidence

The stored evidence hash and its verification.

Inputs IReadOnlyList<DecisionReplayInput>

Each evaluation input, and whether it was recorded, inferred, or is unrecoverable.

Replayable bool

Whether the decision can be replayed.

NotReplayableReason string

Why it cannot, when it cannot.

Properties

ActorDisplayName

The recorded actor display name.

public string? ActorDisplayName { get; init; }

Property Value

string

ActorId

The recorded actor identifier.

public string ActorId { get; init; }

Property Value

string

ActorType

The recorded actor type.

public string ActorType { get; init; }

Property Value

string

CapabilityGrantId

The capability grant the receipt names, when it names one.

public string? CapabilityGrantId { get; init; }

Property Value

string

CorrelationId

The recorded correlation identifier.

public string? CorrelationId { get; init; }

Property Value

string

DecisionReceiptId

The decision receipt identifier.

public string DecisionReceiptId { get; init; }

Property Value

string

Evidence

The stored evidence hash and its verification.

public DecisionReplayEvidence Evidence { get; init; }

Property Value

DecisionReplayEvidence

Inputs

Each evaluation input, and whether it was recorded, inferred, or is unrecoverable.

public IReadOnlyList<DecisionReplayInput> Inputs { get; init; }

Property Value

IReadOnlyList<DecisionReplayInput>

NotReplayableReason

Why it cannot, when it cannot.

public string? NotReplayableReason { get; init; }

Property Value

string

OccurredUtc

When the decision occurred.

public DateTimeOffset OccurredUtc { get; init; }

Property Value

DateTimeOffset

OperationKey

The sample operation the decision was made for, when it is still mapped.

public string? OperationKey { get; init; }

Property Value

string

OperationName

The governed operation name.

public string OperationName { get; init; }

Property Value

string

Outcome

The recorded outcome.

public string Outcome { get; init; }

Property Value

string

Policy

The recorded policy compared with the current one.

public DecisionReplayPolicyComparison Policy { get; init; }

Property Value

DecisionReplayPolicyComparison

ReasonCodes

The recorded reason codes.

public IReadOnlyList<string> ReasonCodes { get; init; }

Property Value

IReadOnlyList<string>

RecordId

The ledger record identifier.

public string RecordId { get; init; }

Property Value

string

Replayable

Whether the decision can be replayed.

public bool Replayable { get; init; }

Property Value

bool