IntelligenceX

API Reference

Class

GitHubReadinessBranchProtection

Namespace IntelligenceX.Telemetry.GitHub
Assembly IntelligenceX
Implements
IEquatable<GitHubReadinessBranchProtection>
Modifiers sealed

Classic base-branch protection evidence. Repository rulesets can impose additional gates.

Inheritance

  • Object
  • GitHubReadinessBranchProtection

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public GitHubReadinessBranchProtection() #

Methods

public GitHubReadinessBranchProtection <Clone>$() #
Returns: GitHubReadinessBranchProtection
Equals 2 overloads
public override Boolean Equals(Object? obj) #
Returns: Boolean

Parameters

obj Object? requiredposition: 0
public Boolean Equals(GitHubReadinessBranchProtection? other) #
Returns: Boolean

Parameters

other GitHubReadinessBranchProtection? requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static Boolean op_Equality(GitHubReadinessBranchProtection? left, GitHubReadinessBranchProtection? right) #
Returns: Boolean

Parameters

left GitHubReadinessBranchProtection? requiredposition: 0
right GitHubReadinessBranchProtection? requiredposition: 1
public static Boolean op_Inequality(GitHubReadinessBranchProtection? left, GitHubReadinessBranchProtection? right) #
Returns: Boolean

Parameters

left GitHubReadinessBranchProtection? requiredposition: 0
right GitHubReadinessBranchProtection? requiredposition: 1
public override String ToString() #
Returns: String

Properties

public Boolean RequiresApprovingReviews { get; init; } #

Whether approving reviews are required.

public Int32 RequiredApprovingReviewCount { get; init; } #

Configured minimum approving reviews.

public Boolean RequiresCodeOwnerReviews { get; init; } #

Whether code-owner approval is required.

public Boolean RequireLastPushApproval { get; init; } #

Whether the latest push needs approval.

public Boolean DismissesStaleReviews { get; init; } #

Whether pushes dismiss stale approvals.

public Boolean RequiresConversationResolution { get; init; } #

Whether conversations must be resolved.

public Boolean RequiresStatusChecks { get; init; } #

Whether status checks are required.

public Boolean RequiresStrictStatusChecks { get; init; } #

Whether checks require an up-to-date branch.

public IReadOnlyList<String> RequiredStatusCheckContexts { get; init; } #

Required status context names exposed by the rule.