Protect Branch Option
@Serializable
Protect branch request body
Constructors
Link copied to clipboard
constructor(allowedToMerge: List<AccessOption>? = null, allowedToPush: List<AccessOption>? = null, allowedToUnprotect: List<AccessOption>? = null)
Create empty Protect branch request
Properties
Link copied to clipboard
Array of merge access levels, with each described by a hash of the form {user_id: integer}, {group_id: integer}, or {access_level: integer}. Premium and Ultimate only.
Link copied to clipboard
Array of push access levels, with each described by a hash of the form {user_id: integer}, {group_id: integer}, or {access_level: integer}. Premium and Ultimate only.
Link copied to clipboard
Array of unprotect access levels, with each described by a hash of the form {user_id: integer}, {group_id: integer}, or {access_level: integer}. The access level No access is not available for this field. Premium and Ultimate only.