Package org.gitlab4j.api.models
Class AllowedTo
java.lang.Object
org.gitlab4j.api.models.AllowedTo
public class AllowedTo extends Object
This class is used by the ProtectedBranchesAPi to set up the
allowed_to_push, allowed_to_merge, and allowed_to_unprotect values.
-
Constructor Summary
Constructors Constructor Description AllowedTo(AccessLevel accessLevel, Long userId, Long groupId)
-
Method Summary
Modifier and Type Method Description GitLabApiForm
getForm(GitLabApiForm form, String allowedToName)
AllowedTo
withAccessLevel(AccessLevel accessLevel)
AllowedTo
withGroupId(Long groupId)
AllowedTo
withUserId(Long userId)
-
Constructor Details
-
AllowedTo
-
-
Method Details
-
withAccessLevel
-
withUserId
-
withGroupId
-
getForm
-