Example #1
0
 public BranchProtectionSettings(BranchProtectionRequiredStatusChecks requiredStatusChecks, BranchProtectionPushRestrictions restrictions, BranchProtectionRequiredReviews requiredPullRequestReviews, EnforceAdmins enforceAdmins)
 {
     RequiredStatusChecks       = requiredStatusChecks;
     Restrictions               = restrictions;
     RequiredPullRequestReviews = requiredPullRequestReviews;
     EnforceAdmins              = enforceAdmins;
 }
 public BranchProtectionSettings(BranchProtectionRequiredStatusChecks requiredStatusChecks, BranchProtectionPushRestrictions restrictions)
 {
     RequiredStatusChecks = requiredStatusChecks;
     Restrictions         = restrictions;
 }
 public BranchProtectionSettings(BranchProtectionRequiredStatusChecks requiredStatusChecks, BranchProtectionPushRestrictions restrictions)
 {
     RequiredStatusChecks = requiredStatusChecks;
     Restrictions = restrictions;
 }