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 GitLabApiFormgetForm(GitLabApiForm form, String allowedToName)AllowedTowithAccessLevel(AccessLevel accessLevel)AllowedTowithGroupId(Long groupId)AllowedTowithUserId(Long userId)
-
Constructor Details
-
AllowedTo
-
-
Method Details
-
withAccessLevel
-
withUserId
-
withGroupId
-
getForm
-