Table of Contents

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

RecordId string

The ledger record identifier.

OperationName string

The governed operation.

Outcome string

The decision outcome.

ReasonCodes IReadOnlyList<string>

The decision's reason codes.

CapabilityTokenId string

The capability token that authorized the decision, when one did.

RecordedUtc DateTimeOffset

When the record was appended.

Properties

CapabilityTokenId

The capability token that authorized the decision, when one did.

public string? CapabilityTokenId { get; init; }

Property Value

string

OperationName

The governed operation.

public string OperationName { get; init; }

Property Value

string

Outcome

The decision outcome.

public string Outcome { get; init; }

Property Value

string

ReasonCodes

The decision's 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

RecordedUtc

When the record was appended.

public DateTimeOffset RecordedUtc { get; init; }

Property Value

DateTimeOffset