GetProjectProtectedBranchResult

data class GetProjectProtectedBranchResult(val allowForcePush: Boolean, val codeOwnerApprovalRequired: Boolean, val id: Int, val mergeAccessLevels: List<GetProjectProtectedBranchMergeAccessLevel>? = null, val name: String, val projectId: String, val pushAccessLevels: List<GetProjectProtectedBranchPushAccessLevel>? = null)

A collection of values returned by getProjectProtectedBranch.

Constructors

Link copied to clipboard
constructor(allowForcePush: Boolean, codeOwnerApprovalRequired: Boolean, id: Int, mergeAccessLevels: List<GetProjectProtectedBranchMergeAccessLevel>? = null, name: String, projectId: String, pushAccessLevels: List<GetProjectProtectedBranchPushAccessLevel>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether force push is allowed.

Link copied to clipboard

Reject code pushes that change files listed in the CODEOWNERS file.

Link copied to clipboard
val id: Int

The ID of this resource.

Link copied to clipboard

Array of access levels and user(s)/group(s) allowed to merge to protected branch.

Link copied to clipboard

The name of the protected branch.

Link copied to clipboard

The integer or path with namespace that uniquely identifies the project.

Link copied to clipboard

Array of access levels and user(s)/group(s) allowed to push to protected branch.