GetProjectProtectedBranchesProtectedBranchMergeAccessLevel

data class GetProjectProtectedBranchesProtectedBranchMergeAccessLevel(val accessLevel: String, val accessLevelDescription: String, val groupId: Int? = null, val userId: Int? = null) : ConvertibleToJava<GetProjectProtectedBranchesProtectedBranchMergeAccessLevel>

Constructors

constructor(accessLevel: String, accessLevelDescription: String, groupId: Int? = null, userId: Int? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard

Readable description of access level.

Link copied to clipboard
val groupId: Int? = null

The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with 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 group_id.

Functions

Link copied to clipboard
open override fun toJava(): GetProjectProtectedBranchesProtectedBranchMergeAccessLevel