BranchProtectionV3Restrictions

data class BranchProtectionV3Restrictions(val apps: List<String>? = null, val teams: List<String>? = null, val users: List<String>? = null)

Constructors

Link copied to clipboard
constructor(apps: List<String>? = null, teams: List<String>? = null, users: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val apps: List<String>? = null

The list of app slugs with push access. restrictions is only available for organization-owned repositories.

Link copied to clipboard
val teams: List<String>? = null

The list of team slugs with push access. Always use slug of the team, not its name. Each team already has to have access to the repository.

Link copied to clipboard
val users: List<String>? = null

The list of user logins with push access.