Package org.miaixz.bus.gitlab.models
Class ProjectGroupsFilter
java.lang.Object
org.miaixz.bus.gitlab.models.ProjectGroupsFilter
- All Implemented Interfaces:
Serializable
This class is used to filter Groups when getting lists of groups for a specified project.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the query params specified by this filter.withSearch(String search) Search for specific groups.withSharedMinAccessLevel(AccessLevel sharedMinAccessLevel) Limit to shared groups with at least this role.withSharedVisibleOnly(Boolean sharedVisibleOnly) Limit to shared groups user has access to.withSkipGroups(List<Long> skipGroups) Do not include the provided groups IDs.withWithShared(Boolean withShared) Include projects shared with this group.
-
Constructor Details
-
ProjectGroupsFilter
public ProjectGroupsFilter()
-
-
Method Details
-
withSearch
Search for specific groups.- Parameters:
search- the search criteria- Returns:
- the reference to this ProjectGroupsFilter instance
-
withSkipGroups
Do not include the provided groups IDs.- Parameters:
skipGroups- List of group IDs to not include in the search- Returns:
- the reference to this ProjectGroupsFilter instance
-
getQueryParams
Get the query params specified by this filter.- Returns:
- a GitLabApiForm instance holding the query parameters for this ProjectGroupsFilter instance
-