View Source GitHub.ProtectedBranch (GitHub REST API Client v0.3.1)

Provides struct and type for a ProtectedBranch

Link to this section Summary

Link to this section Types

@type t() :: %GitHub.ProtectedBranch{
  __info__: map(),
  allow_deletions: GitHub.ProtectedBranch.AllowDeletions.t() | nil,
  allow_force_pushes: GitHub.ProtectedBranch.AllowForcePushes.t() | nil,
  allow_fork_syncing: GitHub.ProtectedBranch.AllowForkSyncing.t() | nil,
  block_creations: GitHub.ProtectedBranch.BlockCreations.t() | nil,
  enforce_admins: GitHub.ProtectedBranch.EnforceAdmins.t() | nil,
  lock_branch: GitHub.ProtectedBranch.LockBranch.t() | nil,
  required_conversation_resolution:
    GitHub.ProtectedBranch.RequiredConversationResolution.t() | nil,
  required_linear_history:
    GitHub.ProtectedBranch.RequiredLinearHistory.t() | nil,
  required_pull_request_reviews:
    GitHub.ProtectedBranch.RequiredPullRequestReviews.t() | nil,
  required_signatures: GitHub.ProtectedBranch.RequiredSignatures.t() | nil,
  required_status_checks: GitHub.StatusCheckPolicy.t() | nil,
  restrictions: GitHub.Branch.RestrictionPolicy.t() | nil,
  url: String.t()
}