Skip to content

Class RestEndpointCandidateRuntimeDescriptor

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Describes one module-owned REST endpoint candidate and whether it was published or suppressed.

public sealed class RestEndpointCandidateRuntimeDescriptor

objectRestEndpointCandidateRuntimeDescriptor

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

RestEndpointCandidateRuntimeDescriptor(string, RestEndpointRuntimeDescriptor, RestEndpointCandidateProjectionDescriptor, string, int, RestEndpointCandidateStatus, string?, string?, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, string?, RestEndpointAuthoringPolicySuppressionKind?, string?, RestEndpointGovernanceRuleSelectionBasis?, RestEndpointGovernanceRuleSelectionBasis?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointOverrideActionKind>?, IReadOnlyList<RestEndpointOverrideActionKind>?)

Section titled “ RestEndpointCandidateRuntimeDescriptor(string, RestEndpointRuntimeDescriptor, RestEndpointCandidateProjectionDescriptor, string, int, RestEndpointCandidateStatus, string?, string?, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, string?, RestEndpointAuthoringPolicySuppressionKind?, string?, RestEndpointGovernanceRuleSelectionBasis?, RestEndpointGovernanceRuleSelectionBasis?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointOverrideActionKind>?, IReadOnlyList<RestEndpointOverrideActionKind>?)”

Creates a REST endpoint candidate runtime descriptor.

public RestEndpointCandidateRuntimeDescriptor(string id, RestEndpointRuntimeDescriptor projectedEndpoint, RestEndpointCandidateProjectionDescriptor originalProjection, string authoringStyle, int precedenceRank, RestEndpointCandidateStatus status, string? suppressedByCandidateId = null, string? suppressedBySuppressionId = null, string? appliedOverrideId = null, IReadOnlyList<string>? matchedSuppressionIds = null, IReadOnlyList<string>? matchedOverrideIds = null, string? suppressionReason = null, RestEndpointAuthoringPolicySuppressionKind? suppressedByAuthoringPolicyKind = null, string? selectedOverrideId = null, RestEndpointGovernanceRuleSelectionBasis? suppressionSelectionBasis = null, RestEndpointGovernanceRuleSelectionBasis? overrideSelectionBasis = null, IReadOnlyList<string>? skippedSuppressionIds = null, IReadOnlyList<string>? skippedOverrideIds = null, IReadOnlyList<RestEndpointOverrideActionKind>? selectedOverrideActionKinds = null, IReadOnlyList<RestEndpointOverrideActionKind>? appliedOverrideActionKinds = null)

id string

The stable candidate identifier derived from the original projection before any host-level overrides are applied.

projectedEndpoint RestEndpointRuntimeDescriptor

The resolved endpoint shape the candidate would publish when it wins precedence.

originalProjection RestEndpointCandidateProjectionDescriptor

The original projection shape contributed by the source authoring path before host-level overrides are applied.

authoringStyle string

The normalized authoring style such as behavior-module-dsl.

precedenceRank int

The precedence rank used during publication resolution. Lower values win.

status RestEndpointCandidateStatus

The publication status assigned to the candidate.

suppressedByCandidateId string?

The winning candidate identifier when this candidate was suppressed.

suppressedBySuppressionId string?

The host-level suppression identifier when this candidate was suppressed by REST governance.

appliedOverrideId string?

The host-level override identifier when this candidate shape was rewritten by REST governance.

matchedSuppressionIds IReadOnlyList<string>?

The ordered suppression-rule identifiers that matched this candidate before one winner was selected.

matchedOverrideIds IReadOnlyList<string>?

The ordered override-rule identifiers that matched this candidate before one winner was selected.

suppressionReason string?

The operator-facing suppression reason when one is available.

suppressedByAuthoringPolicyKind RestEndpointAuthoringPolicySuppressionKind?

The authoring-policy suppression kind when this candidate was suppressed by behavior-level authoring-policy enforcement.

selectedOverrideId string?

The selected host-level override identifier when one winning override rule was resolved for this candidate, even if that winning rule became a runtime no-op.

suppressionSelectionBasis RestEndpointGovernanceRuleSelectionBasis?

The earliest decisive specificity rule that selected the winning suppression rule when this candidate was suppressed by REST governance.

overrideSelectionBasis RestEndpointGovernanceRuleSelectionBasis?

The earliest decisive specificity rule that selected the winning override rule when one was resolved for this candidate.

skippedSuppressionIds IReadOnlyList<string>?

The ordered suppression-rule identifiers that otherwise target this candidate but were skipped because the original projection did not allow host governance to participate.

skippedOverrideIds IReadOnlyList<string>?

The ordered override-rule identifiers that otherwise target this candidate but were skipped because the original projection did not allow host governance to participate.

selectedOverrideActionKinds IReadOnlyList<RestEndpointOverrideActionKind>?

The normalized action dimensions declared by the selected override rule when one winning override rule was resolved for this candidate.

appliedOverrideActionKinds IReadOnlyList<RestEndpointOverrideActionKind>?

The normalized action dimensions that materially changed the candidate’s effective runtime answer when the selected override rule was not a runtime no-op.

Gets the normalized action dimensions that materially changed the candidate’s effective runtime answer when the selected override rule was not a runtime no-op.

public IReadOnlyList<RestEndpointOverrideActionKind> AppliedOverrideActionKinds { get; }

IReadOnlyList<RestEndpointOverrideActionKind>

Gets the host-level override identifier when this candidate shape was rewritten by REST governance.

public string? AppliedOverrideId { get; }

string?

Gets the normalized authoring style used to produce the candidate.

public string AuthoringStyle { get; }

string

Gets the stable candidate identifier derived from the original projection before any host-level overrides are applied.

public string Id { get; }

string

Gets the ordered override-rule identifiers that matched this candidate before one winner was selected.

public IReadOnlyList<string> MatchedOverrideIds { get; }

IReadOnlyList<string>

Gets the ordered suppression-rule identifiers that matched this candidate before one winner was selected.

public IReadOnlyList<string> MatchedSuppressionIds { get; }

IReadOnlyList<string>

Gets the original projection shape contributed by the source authoring path before host-level overrides are applied.

public RestEndpointCandidateProjectionDescriptor OriginalProjection { get; }

RestEndpointCandidateProjectionDescriptor

Gets the earliest decisive specificity rule that selected the winning override rule when one was resolved for this candidate.

public RestEndpointGovernanceRuleSelectionBasis? OverrideSelectionBasis { get; }

RestEndpointGovernanceRuleSelectionBasis?

Gets the precedence rank used during publication resolution. Lower values win.

public int PrecedenceRank { get; }

int

Gets the resolved endpoint shape the candidate would publish when it wins precedence.

public RestEndpointRuntimeDescriptor ProjectedEndpoint { get; }

RestEndpointRuntimeDescriptor

Gets the normalized action dimensions declared by the selected override rule when one winning override rule was resolved for this candidate.

public IReadOnlyList<RestEndpointOverrideActionKind> SelectedOverrideActionKinds { get; }

IReadOnlyList<RestEndpointOverrideActionKind>

Gets the selected host-level override identifier when one winning override rule was resolved for this candidate, even if that winning rule became a runtime no-op.

public string? SelectedOverrideId { get; }

string?

Gets the ordered override-rule identifiers that otherwise target this candidate but were skipped because the original projection did not allow host governance.

public IReadOnlyList<string> SkippedOverrideIds { get; }

IReadOnlyList<string>

Gets the ordered suppression-rule identifiers that otherwise target this candidate but were skipped because the original projection did not allow host governance.

public IReadOnlyList<string> SkippedSuppressionIds { get; }

IReadOnlyList<string>

Gets whether the candidate is published or suppressed in the active runtime.

public RestEndpointCandidateStatus Status { get; }

RestEndpointCandidateStatus

Gets the authoring-policy suppression kind when this candidate was suppressed by behavior-level authoring-policy enforcement.

public RestEndpointAuthoringPolicySuppressionKind? SuppressedByAuthoringPolicyKind { get; }

RestEndpointAuthoringPolicySuppressionKind?

Gets the winning candidate identifier when this candidate was suppressed.

public string? SuppressedByCandidateId { get; }

string?

Gets the host-level suppression identifier when this candidate was suppressed by REST governance.

public string? SuppressedBySuppressionId { get; }

string?

Gets the operator-facing suppression reason when one is available.

public string? SuppressionReason { get; }

string?

Gets the earliest decisive specificity rule that selected the winning suppression rule when this candidate was suppressed by REST governance.

public RestEndpointGovernanceRuleSelectionBasis? SuppressionSelectionBasis { get; }

RestEndpointGovernanceRuleSelectionBasis?