public class GroupParams extends Object
Constructor and Description |
---|
GroupParams() |
public GroupParams withParentId(Integer parentId)
parentId
- the parent group ID for creating nested grouppublic GroupParams withMembershipLock(Boolean membershipLock)
membershipLock
- if true, prevent adding new members to project membership within this grouppublic GroupParams withFileTemplateProjectId(Integer fileTemplateProjectId)
fileTemplateProjectId
- the ID of a project to load custom file templates frompublic GroupParams withName(String name)
public GroupParams withPath(String path)
public GroupParams withDescription(String description)
public GroupParams withVisibility(String visibility)
public GroupParams withShareWithGroupLock(Boolean shareWithGroupLock)
public GroupParams withRequireTwoFactorAuthentication(Boolean requireTwoFactorAuthentication)
public GroupParams withTwoFactorGracePeriod(Integer twoFactorGracePeriod)
public GroupParams withProjectCreationLevel(AccessLevel projectCreationLevel)
public GroupParams withAutoDevopsEnabled(Boolean autoDevopsEnabled)
public GroupParams withSubgroupCreationLevel(AccessLevel subgroupCreationLevel)
public GroupParams withEmailsDisabled(Boolean emailsDisabled)
public GroupParams withLfsEnabled(Boolean lfsEnabled)
public GroupParams withRequestAccessEnabled(Boolean requestAccessEnabled)
public GroupParams withSharedRunnersMinutesLimit(Integer sharedRunnersMinutesLimit)
public GroupParams withExtraSharedRunnersMinutesLimit(Integer extraSharedRunnersMinutesLimit)
public GitLabApiForm getForm(boolean isCreate)
isCreate
- set to true for a create group call, false for updateRuntimeException
- if required parameters are missingCopyright © 2019. All rights reserved.