Skip to content

Class TenantGovernanceActionWorkflowRequest

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Describes one tenant-governance action workflow transition request.

public sealed class TenantGovernanceActionWorkflowRequest

objectTenantGovernanceActionWorkflowRequest

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

TenantGovernanceActionWorkflowRequest(string, string, string, string?, string?, string?, string?, string?, string?, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ TenantGovernanceActionWorkflowRequest(string, string, string, string?, string?, string?, string?, string?, string?, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)”

Creates a tenant-governance action workflow transition request.

public TenantGovernanceActionWorkflowRequest(string command, string tenantId, string actionId, string? actionKind = null, string? subjectKind = null, string? subjectId = null, string? displayName = null, string? actor = null, string? reason = null, DateTimeOffset? atUtc = null, DateTimeOffset? expiresAtUtc = null, string? correlationId = null, IReadOnlyDictionary<string, string>? metadata = null)

command string

The workflow command to apply.

tenantId string

The tenant identifier to transition.

actionId string

The governance action identifier to transition.

actionKind string?

The optional governance action kind.

subjectKind string?

The optional subject kind affected by the action.

subjectId string?

The optional subject identifier affected by the action.

displayName string?

The optional operator-facing action name.

actor string?

The actor that requested the workflow transition when known.

reason string?

The optional operator-facing transition reason.

atUtc DateTimeOffset?

The UTC timestamp used for the transition. The runtime clock is used when omitted.

expiresAtUtc DateTimeOffset?

The optional UTC timestamp when the action expires.

correlationId string?

The optional correlation identifier for the workflow transition.

metadata IReadOnlyDictionary<string, string>?

Optional transition metadata.

Gets the governance action identifier to transition.

public string ActionId { get; }

string

Gets the optional governance action kind.

public string? ActionKind { get; }

string?

Gets the actor that requested the workflow transition when known.

public string? Actor { get; }

string?

Gets the UTC timestamp used for the transition.

public DateTimeOffset? AtUtc { get; }

DateTimeOffset?

Gets the workflow command to apply.

public string Command { get; }

string

Gets the optional correlation identifier for the workflow transition.

public string? CorrelationId { get; }

string?

Gets the optional operator-facing action name.

public string? DisplayName { get; }

string?

Gets the optional UTC timestamp when the action expires.

public DateTimeOffset? ExpiresAtUtc { get; }

DateTimeOffset?

Gets optional transition metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the optional operator-facing transition reason.

public string? Reason { get; }

string?

Gets the optional subject identifier affected by the action.

public string? SubjectId { get; }

string?

Gets the optional subject kind affected by the action.

public string? SubjectKind { get; }

string?

Gets the tenant identifier to transition.

public string TenantId { get; }

string