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, Integer userId, Integer groupId)
-
Method Summary
Modifier and Type Method Description GitLabApiForm
getForm(GitLabApiForm form, String allowedToName)
AllowedTo
withAccessLevel(AccessLevel accessLevel)
AllowedTo
withGroupId(Integer groupId)
AllowedTo
withUserId(Integer userId)
-
Constructor Details
-
AllowedTo
-
-
Method Details
-
withAccessLevel
-
withUserId
-
withGroupId
-
getForm
-