Uses of Class
org.gitlab4j.api.models.MergeRequestParams
| Package | Description |
|---|---|
| org.gitlab4j.api | |
| org.gitlab4j.api.models |
-
Uses of MergeRequestParams in org.gitlab4j.api
Methods in org.gitlab4j.api with parameters of type MergeRequestParams Modifier and Type Method Description MergeRequestMergeRequestApi. createMergeRequest(Object projectIdOrPath, MergeRequestParams params)Creates a merge request.MergeRequestMergeRequestApi. updateMergeRequest(Object projectIdOrPath, Integer mergeRequestIid, MergeRequestParams params)Updates an existing merge request. -
Uses of MergeRequestParams in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return MergeRequestParams Modifier and Type Method Description MergeRequestParamsMergeRequestParams. withAllowCollaboration(Boolean allowCollaboration)Allow commits from members who can merge to the target branch.MergeRequestParamsMergeRequestParams. withApprovalsBeforeMerge(Integer approvalsBeforeMerge)Set the approvals_before_merge field value.MergeRequestParamsMergeRequestParams. withAssigneeId(Integer assigneeId)Set the assignee user ID.MergeRequestParamsMergeRequestParams. withAssigneeIds(List<Integer> assigneeIds)The ID of the user(s) to assign the merge request to.MergeRequestParamsMergeRequestParams. withDescription(String description)Set the description of the merge request.MergeRequestParamsMergeRequestParams. withDiscussionLocked(Boolean discussionLocked)Flag indicating if the merge request’s discussion is locked.MergeRequestParamsMergeRequestParams. withLabels(String[] labels)Set the labels for the merge request.MergeRequestParamsMergeRequestParams. withLabels(List<String> labels)Set the labels for the merge request.MergeRequestParamsMergeRequestParams. withMilestoneId(Integer milestoneId)Set the milestone ID field value.MergeRequestParamsMergeRequestParams. withRemoveSourceBranch(Boolean removeSourceBranch)Flag indicating if a merge request should remove the source branch when merging.MergeRequestParamsMergeRequestParams. withReviewerIds(List<Integer> reviewerIds)The ID of the user(s) to assign to the review of the merge request.MergeRequestParamsMergeRequestParams. withSourceBranch(String sourceBranch)Set the source branch.MergeRequestParamsMergeRequestParams. withSquash(Boolean squash)Squash commits into a single commit when merging.MergeRequestParamsMergeRequestParams. withStateEvent(Constants.StateEvent stateEvent)New state (close/reopen).MergeRequestParamsMergeRequestParams. withTargetBranch(String targetBranch)Set the target branch.MergeRequestParamsMergeRequestParams. withTargetProjectId(Integer targetProjectId)Set the target project ID.MergeRequestParamsMergeRequestParams. withTitle(String title)Set the title of the merge request.