BranchProtectionAllowedToPush

data class BranchProtectionAllowedToPush(val accessLevel: String? = null, val accessLevelDescription: String? = null, val deployKeyId: Int? = null, val groupId: Int? = null, val userId: Int? = null)

Constructors

Link copied to clipboard
constructor(accessLevel: String? = null, accessLevelDescription: String? = null, deployKeyId: Int? = null, groupId: Int? = null, userId: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessLevel: String? = null

Access levels allowed to push to protected branch. Valid values are: no one, developer, maintainer.

Link copied to clipboard

Readable description of access level.

Link copied to clipboard
val deployKeyId: Int? = null

The ID of a GitLab deploy key allowed to perform the relevant action. Mutually exclusive with group_id and user_id. This field is read-only until Gitlab 17.5.

Link copied to clipboard
val groupId: Int? = null

The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with deploy_key_id and user_id.

Link copied to clipboard
val userId: Int? = null

The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with deploy_key_id and group_id.