BranchProtection

class github.BranchProtection.BranchProtection

This class represents Branch Protection. The reference can be found here https://developer.github.com/v3/repos/branches/#get-branch-protection

url
Type:string
required_status_checks
Type:github.RequiredStatusChecks.RequiredStatusChecks
enforce_admins
Type:bool
required_pull_request_reviews
Type:github.RequiredPullRequestReviews.RequiredPullRequestReviews
get_user_push_restrictions()
Return type:github.PaginatedList.PaginatedList of github.NamedUser.NamedUser
get_team_push_restrictions()
Return type:github.PaginatedList.PaginatedList of github.Team.Team