Get Project Protected Branches Protected Branch
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) : ConvertibleToJava<GetProjectProtectedBranchesProtectedBranch>
Constructors
Link copied to clipboard
constructor(allowForcePush: Boolean, codeOwnerApprovalRequired: Boolean, id: Int, mergeAccessLevels: List<GetProjectProtectedBranchesProtectedBranchMergeAccessLevel>? = null, name: String, pushAccessLevels: List<GetProjectProtectedBranchesProtectedBranchPushAccessLevel>? = null)
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
Array of access levels and user(s)/group(s) allowed to merge to protected branch.
Link copied to clipboard
Array of access levels and user(s)/group(s) allowed to push to protected branch.