Class TenantGovernanceActionWorkflowResult
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes the result of one tenant-governance action workflow transition.
public sealed class TenantGovernanceActionWorkflowResultInheritance
Section titled “Inheritance”object ← TenantGovernanceActionWorkflowResult
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TenantGovernanceActionWorkflowResult(string, string, string, string, bool, DateTimeOffset, string?, string?, TenantGovernanceActionDescriptor?, string, IReadOnlyDictionary<string, string>?)
Section titled “ TenantGovernanceActionWorkflowResult(string, string, string, string, bool, DateTimeOffset, string?, string?, TenantGovernanceActionDescriptor?, string, IReadOnlyDictionary<string, string>?)”Creates a tenant-governance action workflow transition result.
public TenantGovernanceActionWorkflowResult(string tenantId, string actionId, string command, string outcome, bool applied, DateTimeOffset occurredAtUtc, string? previousStatus, string? currentStatus, TenantGovernanceActionDescriptor? action, string reason, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”tenantId string
The tenant identifier that was targeted.
actionId string
The governance action identifier that was targeted.
command string
The workflow command that was requested.
outcome string
The workflow transition outcome.
applied bool
A value indicating whether the workflow transition was applied.
occurredAtUtc DateTimeOffset
The UTC timestamp when the workflow transition was evaluated.
previousStatus string?
The action status before the workflow transition when one existed.
currentStatus string?
The action status after the workflow transition when one exists.
action TenantGovernanceActionDescriptor?
The resulting action descriptor when one exists.
reason string
The operator-facing transition reason.
metadata IReadOnlyDictionary<string, string>?
Optional result metadata.
Properties
Section titled “Properties”Action
Section titled “ Action”Gets the resulting action descriptor when one exists.
public TenantGovernanceActionDescriptor? Action { get; }Property Value
Section titled “Property Value”TenantGovernanceActionDescriptor?
ActionId
Section titled “ ActionId”Gets the governance action identifier that was targeted.
public string ActionId { get; }Property Value
Section titled “Property Value”Applied
Section titled “ Applied”Gets a value indicating whether the workflow transition was applied.
public bool Applied { get; }Property Value
Section titled “Property Value”Command
Section titled “ Command”Gets the workflow command that was requested.
public string Command { get; }Property Value
Section titled “Property Value”CurrentStatus
Section titled “ CurrentStatus”Gets the action status after the workflow transition when one exists.
public string? CurrentStatus { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional result metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
OccurredAtUtc
Section titled “ OccurredAtUtc”Gets the UTC timestamp when the workflow transition was evaluated.
public DateTimeOffset OccurredAtUtc { get; }Property Value
Section titled “Property Value”Outcome
Section titled “ Outcome”Gets the workflow transition outcome.
public string Outcome { get; }Property Value
Section titled “Property Value”PreviousStatus
Section titled “ PreviousStatus”Gets the action status before the workflow transition when one existed.
public string? PreviousStatus { get; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”Gets the operator-facing transition reason.
public string Reason { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier that was targeted.
public string TenantId { get; }