GetProjectProtectedBranchesProtectedBranch

data class GetProjectProtectedBranchesProtectedBranch(val allowForcePush: Boolean, val codeOwnerApprovalRequired: Boolean, val id: Int, val mergeAccessLevels: List<GetProjectProtectedBranchesProtectedBranchMergeAccessLevel>? = null, val name: String, val pushAccessLevels: List<GetProjectProtectedBranchesProtectedBranchPushAccessLevel>? = null)

Constructors

constructor(allowForcePush: Boolean, codeOwnerApprovalRequired: Boolean, id: Int, mergeAccessLevels: List<GetProjectProtectedBranchesProtectedBranchMergeAccessLevel>? = null, name: String, pushAccessLevels: List<GetProjectProtectedBranchesProtectedBranchPushAccessLevel>? = 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

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