OrganizationRulesetBypassActor

data class OrganizationRulesetBypassActor(val actorId: Int, val actorType: String, val bypassMode: String)

Constructors

Link copied to clipboard
constructor(actorId: Int, actorType: String, bypassMode: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

(Number) The ID of the actor that can bypass a ruleset.

Link copied to clipboard

The type of actor that can bypass a ruleset. Can be one of: RepositoryRole, Team, Integration, OrganizationAdmin.

Link copied to clipboard

(String) When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: always, pull_request. ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs: