object BranchProtectionRule
- Source
- Client.scala
- Alphabetic
- By Inheritance
- BranchProtectionRule
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allowsDeletions: SelectionBuilder[BranchProtectionRule, Boolean]
Can this branch be deleted.
- def allowsForcePushes: SelectionBuilder[BranchProtectionRule, Boolean]
Are force pushes allowed on this branch.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def branchProtectionRuleConflicts[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[BranchProtectionRuleConflictConnection, A]): SelectionBuilder[BranchProtectionRule, A]
A list of conflicts matching branches protection rule and other branch protection rules
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def creator[A](onBot: Option[SelectionBuilder[Bot, A]] = None, onEnterpriseUserAccount: Option[SelectionBuilder[EnterpriseUserAccount, A]] = None, onMannequin: Option[SelectionBuilder[Mannequin, A]] = None, onUser: Option[SelectionBuilder[User, A]] = None, onOrganization: Option[SelectionBuilder[Organization, A]] = None): SelectionBuilder[BranchProtectionRule, Option[A]]
The actor who created this branch protection rule.
- def databaseId: SelectionBuilder[BranchProtectionRule, Option[Int]]
Identifies the primary key from the database.
- def dismissesStaleReviews: SelectionBuilder[BranchProtectionRule, Boolean]
Will new commits pushed to matching branches dismiss pull request review approvals.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def id: SelectionBuilder[BranchProtectionRule, String]
- def isAdminEnforced: SelectionBuilder[BranchProtectionRule, Boolean]
Can admins overwrite branch protection.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matchingRefs[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None, query: Option[String] = None)(innerSelection: SelectionBuilder[RefConnection, A]): SelectionBuilder[BranchProtectionRule, A]
Repository refs that are protected by this rule
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pattern: SelectionBuilder[BranchProtectionRule, String]
Identifies the protection rule pattern.
- def pushAllowances[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[PushAllowanceConnection, A]): SelectionBuilder[BranchProtectionRule, A]
A list push allowances for this branch protection rule.
- def repository[A](innerSelection: SelectionBuilder[Repository, A]): SelectionBuilder[BranchProtectionRule, Option[A]]
The repository associated with this branch protection rule.
- def requiredApprovingReviewCount: SelectionBuilder[BranchProtectionRule, Option[Int]]
Number of approving reviews required to update matching branches.
- def requiredStatusCheckContexts: SelectionBuilder[BranchProtectionRule, Option[List[Option[String]]]]
List of required status check contexts that must pass for commits to be accepted to matching branches.
- def requiresApprovingReviews: SelectionBuilder[BranchProtectionRule, Boolean]
Are approving reviews required to update matching branches.
- def requiresCodeOwnerReviews: SelectionBuilder[BranchProtectionRule, Boolean]
Are reviews from code owners required to update matching branches.
- def requiresCommitSignatures: SelectionBuilder[BranchProtectionRule, Boolean]
Are commits required to be signed.
- def requiresLinearHistory: SelectionBuilder[BranchProtectionRule, Boolean]
Are merge commits prohibited from being pushed to this branch.
- def requiresStatusChecks: SelectionBuilder[BranchProtectionRule, Boolean]
Are status checks required to update matching branches.
- def requiresStrictStatusChecks: SelectionBuilder[BranchProtectionRule, Boolean]
Are branches required to be up to date before merging.
- def restrictsPushes: SelectionBuilder[BranchProtectionRule, Boolean]
Is pushing to matching branches restricted.
- def restrictsReviewDismissals: SelectionBuilder[BranchProtectionRule, Boolean]
Is dismissal of pull request reviews restricted.
- def reviewDismissalAllowances[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[ReviewDismissalAllowanceConnection, A]): SelectionBuilder[BranchProtectionRule, A]
A list review dismissal allowances for this branch protection rule.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Caliban GitHub GraphQL API Client
Links: