code
stringlengths
73
34.1k
label
stringclasses
1 value
public List<Epic> getEpicIssues(Object groupIdOrPath, Integer epicIid, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "epics", epicIid, "issues"); return (response.readEntity(new...
java
public Pager<Epic> getEpicIssues(Object groupIdOrPath, Integer epicIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Epic>(this, Epic.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "epics", epicIid, "issues")); }
java
public Stream<Epic> getEpicIssuesStream(Object groupIdOrPath, Integer epicIid) throws GitLabApiException { return (getEpicIssues(groupIdOrPath, epicIid, getDefaultPerPage()).stream()); }
java
public EpicIssue assignIssue(Object groupIdOrPath, Integer epicIid, Integer issueIid) throws GitLabApiException { Response response = post(Response.Status.CREATED, (Form)null, "groups", getGroupIdOrPath(groupIdOrPath), "epics", epicIid, "issues", issueIid); return (response.readEntity(Ep...
java
public EpicIssue removeIssue(Object groupIdOrPath, Integer epicIid, Integer issueIid) throws GitLabApiException { Response response = delete(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "epics", epicIid, "issues", issueIid); return (response.readEntity(EpicIssue.c...
java
public EpicIssue updateIssue(Object groupIdOrPath, Integer epicIid, Integer issueIid, Integer moveBeforeId, Integer moveAfterId) throws GitLabApiException { GitLabApiForm form = new GitLabApiForm() .withParam("move_before_id", moveBeforeId) .withParam("move_after_id", moveAfterId); ...
java
private String getHeaderValue(Response response, String key) throws GitLabApiException { String value = response.getHeaderString(key); value = (value != null ? value.trim() : null); if (value == null || value.length() == 0) { return (null); } return (value);...
java
private int getIntHeaderValue(Response response, String key) throws GitLabApiException { String value = getHeaderValue(response, key); if (value == null) { return -1; } try { return (Integer.parseInt(value)); } catch (NumberFormatException nfe) ...
java
private void setPageParam(int page) { pageParam.set(0, Integer.toString(page)); queryParams.put(PAGE_PARAM, pageParam); }
java
public List<T> page(int pageNumber) { if (pageNumber > totalPages && pageNumber > kaminariNextPage) { throw new NoSuchElementException(); } else if (pageNumber < 1) { throw new NoSuchElementException(); } if (currentPage == 0 && pageNumber == 1) { ...
java
public List<T> all() throws GitLabApiException { // Make sure that current page is 0, this will ensure the whole list is fetched // regardless of what page the instance is currently on. currentPage = 0; List<T> allItems = new ArrayList<>(totalItems); // Iterate through the pages and ap...
java
public Stream<T> stream() throws GitLabApiException, IllegalStateException { if (pagerStream == null) { synchronized (this) { if (pagerStream == null) { // Make sure that current page is 0, this will ensure the whole list is streamed /...
java
public Stream<T> lazyStream() throws IllegalStateException { if (pagerStream == null) { synchronized (this) { if (pagerStream == null) { // Make sure that current page is 0, this will ensure the whole list is streamed // regardless of ...
java
public void setMaskedHeaderNames(final List<String> maskedHeaderNames) { this.maskedHeaderNames.clear(); if (maskedHeaderNames != null) { maskedHeaderNames.forEach(h -> { addMaskedHeaderName(h); }); } }
java
public void addMaskedHeaderName(String maskedHeaderName) { if (maskedHeaderName != null) { maskedHeaderName = maskedHeaderName.trim(); if (maskedHeaderName.length() > 0) { maskedHeaderNames.add(maskedHeaderName.toLowerCase()); } } }
java
protected void printHeaders(final StringBuilder sb, final long id, final String prefix, final MultivaluedMap<String, String> headers) { getSortedHeaders(headers.entrySet()).forEach(h -> { final List<?...
java
public List<Package> getPackages(Object projectIdOrPath) throws GitLabApiException { return (getPackages(projectIdOrPath, getDefaultPerPage()).all()); }
java
public List<Package> getPackages(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "packages"); return response.readEntity(new GenericT...
java
public Pager<Package> getPackages(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Package>(this, Package.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "packages")); }
java
public Stream<Package> getPackagesStream(Object projectIdOrPath) throws GitLabApiException { return (getPackages(projectIdOrPath, getDefaultPerPage()).stream()); }
java
public Package getPackage(Object projectIdOrPath, Integer packageId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "packages", packageId); return (response.readEntity(Package.class)); }
java
public List<PackageFile> getPackageFiles(Object projectIdOrPath, Integer packageId) throws GitLabApiException { return (getPackageFiles(projectIdOrPath, packageId, getDefaultPerPage()).all()); }
java
public List<PackageFile> getPackageFiles(Object projectIdOrPath, Integer packageId, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "packages", packageId, "package_f...
java
public Pager<PackageFile> getPackageFiles(Object projectIdOrPath, Integer packageId, int itemsPerPage) throws GitLabApiException { return (new Pager<PackageFile>(this, PackageFile.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "packages", packageId, "package_files")...
java
public Stream<PackageFile> getPackagesStream(Object projectIdOrPath, Integer packageId) throws GitLabApiException { return (getPackageFiles(projectIdOrPath, packageId, getDefaultPerPage()).stream()); }
java
public void deletePackage(Object projectIdOrPath, Integer packageId) throws GitLabApiException { if (packageId == null) { throw new RuntimeException("packageId cannot be null"); } delete(Response.Status.NO_CONTENT, null,"projects", getProjectIdOrPath(projectIdOrPath), "packages", p...
java
public List<Namespace> getNamespaces(int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "namespaces"); return (response.readEntity(new GenericType<List<Namespace>>() {})); }
java
public Pager<Namespace> getNamespaces(int itemsPerPage) throws GitLabApiException { return (new Pager<Namespace>(this, Namespace.class, itemsPerPage, null, "namespaces")); }
java
public List<Namespace> findNamespaces(String query) throws GitLabApiException { return (findNamespaces(query, getDefaultPerPage()).all()); }
java
public List<Namespace> findNamespaces(String query, int page, int perPage) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm().withParam("search", query, true).withParam(PAGE_PARAM, page).withParam(PER_PAGE_PARAM, perPage); Response response = get(Response.Status.OK, formData.asMa...
java
public Pager<Namespace> findNamespaces(String query, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm().withParam("search", query, true); return (new Pager<Namespace>(this, Namespace.class, itemsPerPage, formData.asMap(), "namespaces")); }
java
public Stream<Namespace> findNamespacesStream(String query) throws GitLabApiException { return (findNamespaces(query, getDefaultPerPage()).stream()); }
java
public void handleEvent(HttpServletRequest request) throws GitLabApiException { String eventName = request.getHeader("X-Gitlab-Event"); if (eventName == null || eventName.trim().isEmpty()) { LOGGER.warning("X-Gitlab-Event header is missing!"); return; } ...
java
public List<Event> getAuthenticatedUserEvents(ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder) throws GitLabApiException { return (getAuthenticatedUserEvents(action, targetType, before, after, sortOrder, getDefaultPerPage()).all()); }
java
public Stream<Event> getAuthenticatedUserEventsStream(ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder) throws GitLabApiException { return (getAuthenticatedUserEvents(action, targetType, before, after, sortOrder, getDefaultPerPage()).stream()); }
java
public List<Event> getUserEvents(Object userIdOrUsername, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder) throws GitLabApiException { return (getUserEvents(userIdOrUsername, action, targetType, before, after, sortOrder, getDefaultPerPage()).all()); }
java
public Pager<Event> getUserEvents(Object userIdOrUsername, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("action", action) ...
java
public Stream<Event> getUserEventsStream(Object userIdOrUsername, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder) throws GitLabApiException { return (getUserEvents(userIdOrUsername, action, targetType, before, after, sortOrder, getDefaultPerPage()).stream()); ...
java
public List<Event> getProjectEvents(Object projectIdOrPath, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder) throws GitLabApiException { return (getProjectEvents(projectIdOrPath, action, targetType, before, after, sortOrder, getDefaultPerPage()).all()); }
java
public List<Event> getProjectEvents(Integer projectIdOrPath, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder, int page, int perPage) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("action", action) ...
java
public Stream<Event> getProjectEventsStream(Object projectIdOrPath, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder) throws GitLabApiException { return (getProjectEvents(projectIdOrPath, action, targetType, before, after, sortOrder, getDefaultPerPage()).stream(...
java
public Pager<Project> getProjects(int itemsPerPage) throws GitLabApiException { return (new Pager<Project>(this, Project.class, itemsPerPage, null, "projects")); }
java
public Pager<Project> getProjects(Boolean archived, Visibility visibility, ProjectOrderBy orderBy, SortOrder sort, String search, Boolean simple, Boolean owned, Boolean membership, Boolean starred, Boolean statistics, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData ...
java
public List<Project> getProjects(String search) throws GitLabApiException { return (getProjects(search, getDefaultPerPage()).all()); }
java
public Pager<Project> getProjects(String search, int itemsPerPage) throws GitLabApiException { Form formData = new GitLabApiForm().withParam("search", search); return (new Pager<Project>(this, Project.class, itemsPerPage, formData.asMap(), "projects")); }
java
public Stream<Project> getProjectsStream(String search) throws GitLabApiException { return (getProjects(search, getDefaultPerPage()).stream()); }
java
public Pager<Project> getMemberProjects(int itemsPerPage) throws GitLabApiException { Form formData = new GitLabApiForm().withParam("membership", true); return (new Pager<Project>(this, Project.class, itemsPerPage, formData.asMap(), "projects")); }
java
public List<Project> getStarredProjects(int page, int perPage) throws GitLabApiException { Form formData = new GitLabApiForm().withParam("starred", true).withParam(PAGE_PARAM, page).withParam(PER_PAGE_PARAM, perPage); Response response = get(Response.Status.OK, formData.asMap(), "projects"); ret...
java
public Pager<Project> getStarredProjects(int itemsPerPage) throws GitLabApiException { Form formData = new GitLabApiForm().withParam("starred", true).withParam(PER_PAGE_PARAM, getDefaultPerPage()); return (new Pager<Project>(this, Project.class, itemsPerPage, formData.asMap(), "projects")); }
java
public List<Project> getUserProjects(Object userIdOrUsername, ProjectFilter filter) throws GitLabApiException { return (getUserProjects(userIdOrUsername, filter, getDefaultPerPage()).all()); }
java
public List<Project> getUserProjects(Object userIdOrUsername, ProjectFilter filter, int page, int perPage) throws GitLabApiException { GitLabApiForm formData = filter.getQueryParams(page, perPage); Response response = get(Response.Status.OK, formData.asMap(), "users", getUserIdOrUsername...
java
public Pager<Project> getUserProjects(Object userIdOrUsername, ProjectFilter filter, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = filter.getQueryParams(); return (new Pager<Project>(this, Project.class, itemsPerPage, formData.asMap(), "users", getUserIdOrUsernam...
java
public Stream<Project> getUserProjectsStream(Object userIdOrUsername, ProjectFilter filter) throws GitLabApiException { return (getUserProjects(userIdOrUsername, filter, getDefaultPerPage()).stream()); }
java
public Project createProject(Integer groupId, String projectName) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm().withParam("namespace_id", groupId).withParam("name", projectName, true); Response response = post(Response.Status.CREATED, formData, "projects"); return (res...
java
public Project forkProject(Object projectIdOrPath, String namespace) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm().withParam("namespace", namespace, true); Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.CREATED); Re...
java
public List<Member> getMembers(Object projectIdOrPath) throws GitLabApiException { return (getMembers(projectIdOrPath, getDefaultPerPage()).all()); }
java
public List<Member> getMembers(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "members"); return (response.readEntity(new GenericType<List<Member>>(...
java
public Pager<Member> getMembers(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Member>(this, Member.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "members")); }
java
public Stream<Member> getMembersStream(Object projectIdOrPath) throws GitLabApiException { return (getMembers(projectIdOrPath, getDefaultPerPage()).stream()); }
java
public Member addMember(Object projectIdOrPath, Integer userId, Integer accessLevel) throws GitLabApiException { return (addMember(projectIdOrPath, userId, accessLevel, null)); }
java
public Member updateMember(Object projectIdOrPath, Integer userId, Integer accessLevel, Date expiresAt) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("access_level", accessLevel, true) .withParam("expires_at", expiresAt, false); Resp...
java
public void removeMember(Object projectIdOrPath, Integer userId) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "projects", getProjectIdOrPath(projectIdOrPath), "members", userId);...
java
public List<ProjectUser> getProjectUsers(Object projectIdOrPath) throws GitLabApiException { return (getProjectUsers(projectIdOrPath, null, getDefaultPerPage()).all()); }
java
public Pager<ProjectUser> getProjectUsers(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (getProjectUsers(projectIdOrPath, null, itemsPerPage)); }
java
public Stream<ProjectUser> getProjectUsersStream(Object projectIdOrPath) throws GitLabApiException { return (getProjectUsers(projectIdOrPath, null, getDefaultPerPage()).stream()); }
java
public List<ProjectUser> getProjectUsers(Object projectIdOrPath, String search) throws GitLabApiException { return (getProjectUsers(projectIdOrPath, search, getDefaultPerPage()).all()); }
java
public Pager<ProjectUser> getProjectUsers(Object projectIdOrPath, String search, int itemsPerPage) throws GitLabApiException { MultivaluedMap<String, String> params = (search != null ? new GitLabApiForm().withParam("search", search).asMap() : null); return (new Pager<ProjectUser>(this, ProjectUser.class...
java
public Stream<ProjectUser> getProjectUsersStream(Object projectIdOrPath, String search) throws GitLabApiException { return (getProjectUsers(projectIdOrPath, search, getDefaultPerPage()).stream()); }
java
public List<Event> getProjectEvents(Object projectIdOrPath) throws GitLabApiException { return (getProjectEvents(projectIdOrPath, getDefaultPerPage()).all()); }
java
public List<Event> getProjectEvents(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "events"); return (response.readEntity(new GenericType<List<Event...
java
public Pager<Event> getProjectEvents(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Event>(this, Event.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "events")); }
java
public Stream<Event> getProjectEventsStream(Object projectIdOrPath) throws GitLabApiException { return (getProjectEvents(projectIdOrPath, getDefaultPerPage()).stream()); }
java
public List<ProjectHook> getHooks(Object projectIdOrPath) throws GitLabApiException { return (getHooks(projectIdOrPath, getDefaultPerPage()).all()); }
java
public List<ProjectHook> getHooks(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "hooks"); return (response.readEntity(new GenericType<List<ProjectH...
java
public Pager<ProjectHook> getHooks(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<ProjectHook>(this, ProjectHook.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "hooks")); }
java
public Stream<ProjectHook> getHooksStream(Object projectIdOrPath) throws GitLabApiException { return (getHooks(projectIdOrPath, getDefaultPerPage()).stream()); }
java
public ProjectHook getHook(Object projectIdOrPath, Integer hookId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "hooks", hookId); return (response.readEntity(ProjectHook.class)); }
java
public Optional<ProjectHook> getOptionalHook(Object projectIdOrPath, Integer hookId) { try { return (Optional.ofNullable(getHook(projectIdOrPath, hookId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public void deleteHook(Object projectIdOrPath, Integer hookId) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "projects", getProjectIdOrPath(projectIdOrPath), "hooks", hookId); ...
java
public ProjectHook modifyHook(ProjectHook hook) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("url", hook.getUrl(), true) .withParam("push_events", hook.getPushEvents(), false) .withParam("issues_events", hook.getIssuesEvents(), false) ...
java
@Deprecated public List<Issue> getIssues(Object projectIdOrPath) throws GitLabApiException { return (getIssues(projectIdOrPath, getDefaultPerPage()).all()); }
java
@Deprecated public Stream<Issue> getIssuesStream(Object projectIdOrPath) throws GitLabApiException { return (getIssues(projectIdOrPath, getDefaultPerPage()).stream()); }
java
@Deprecated public void deleteIssue(Object projectIdOrPath, Integer issueId) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, getDefaultPerPageParam(), "projects", getProjectIdOrPath(p...
java
public List<Snippet> getSnippets(Object projectIdOrPath) throws GitLabApiException { return (getSnippets(projectIdOrPath, getDefaultPerPage()).all()); }
java
public List<Snippet> getSnippets(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "snippets"); return (response.readEntity(new GenericType<List<Snippe...
java
public Pager<Snippet> getSnippets(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Snippet>(this, Snippet.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "snippets")); }
java
public Stream<Snippet> getSnippetsStream(Object projectIdOrPath) throws GitLabApiException { return (getSnippets(projectIdOrPath, getDefaultPerPage()).stream()); }
java
public Snippet getSnippet(Object projectIdOrPath, Integer snippetId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "snippets", snippetId); return (response.readEntity(Snippet.class)); }
java
public Optional<Snippet> getOptionalSnippet(Object projectIdOrPath, Integer snippetId) { try { return (Optional.ofNullable(getSnippet(projectIdOrPath, snippetId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public Snippet createSnippet(Object projectIdOrPath, String title, String filename, String description, String code, Visibility visibility) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("title", title, true) .withParam("file_name...
java
public Snippet updateSnippet(Object projectIdOrPath, Integer snippetId, String title, String filename, String description, String code, Visibility visibility) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("title", title) .withPar...
java
public String getRawSnippetContent(Object projectIdOrPath, Integer snippetId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "snippets", snippetId, "raw"); return (response.readEntity(String.class)); }
java
public Optional<String> getOptionalRawSnippetContent(Object projectIdOrPath, Integer snippetId) { try { return (Optional.ofNullable(getRawSnippetContent(projectIdOrPath, snippetId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); ...
java
public void shareProject(Object projectIdOrPath, Integer groupId, AccessLevel accessLevel, Date expiresAt) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("group_id", groupId, true) .withParam("group_access", accessLevel, true) ...
java
public void unshareProject(Object projectIdOrPath, Integer groupId) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "projects", getProjectIdOrPath(projectIdOrPath), "share", groupId...
java
public Project archiveProject(Object projectIdOrPath) throws GitLabApiException { Response response = post(Response.Status.CREATED, (new GitLabApiForm()), "projects", getProjectIdOrPath(projectIdOrPath), "archive"); return (response.readEntity(Project.class)); }
java
public PushRules getPushRules(Object projectIdOrPath) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "push_rule"); return (response.readEntity(PushRules.class)); }
java
public PushRules createPushRules(Object projectIdOrPath, PushRules pushRule) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("deny_delete_tag", pushRule.getDenyDeleteTag()) .withParam("member_check", pushRule.getMemberCheck()) .withParam("p...
java
public PushRules updatePushRules(Object projectIdOrPath, PushRules pushRule) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("deny_delete_tag", pushRule.getDenyDeleteTag()) .withParam("member_check", pushRule.getMemberCheck()) .withParam("p...
java
public void deletePushRules(Object projectIdOrPath) throws GitLabApiException { delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "push_rule"); }
java