Note: this is a PREVIEW api: https://developer.github.com/changes/2016-06-27-protected-branches-api-update/
Constructors
-
Branch
Protection Create a BranchProtection update requestSettings Update(Boolean) -
Branch
Protection Create a BranchProtection update requestSettings Update(Branch Protection Push Restrictions Update) -
Branch
Protection Create a BranchProtection update requestSettings Update(Branch Protection Required Reviews Update) -
Branch
Protection Create a BranchProtection update requestSettings Update(Branch Protection Required Status Checks Update) -
Branch
Protection Create a BranchProtection update requestSettings Update(Branch Protection Required Status Checks Update, Branch Protection Required Reviews Update, Boolean) -
Branch
Protection Create a BranchProtection update requestSettings Update(Branch Protection Required Status Checks Update, Branch Protection Required Reviews Update, Branch Protection Push Restrictions Update, Boolean)
Properties
-
Debugger
Display -
Enforce
Admins Specifies whether the protections applied to this branch also apply to repository admins -
Required
Pull Required Pull Request review settings for the protected branchRequest Reviews -
Required
Status Status check settings for the protected branchChecks - Restrictions Push access restrictions for the protected branch