diff --git a/gitlab4j-models/src/main/java/org/gitlab4j/api/models/MergeRequestFilter.java b/gitlab4j-models/src/main/java/org/gitlab4j/api/models/MergeRequestFilter.java index c3d13fab9..1a2ff17c6 100644 --- a/gitlab4j-models/src/main/java/org/gitlab4j/api/models/MergeRequestFilter.java +++ b/gitlab4j-models/src/main/java/org/gitlab4j/api/models/MergeRequestFilter.java @@ -50,6 +50,7 @@ public class MergeRequestFilter implements Serializable { private Long authorId; private Long assigneeId; + private Long reviewerId; private String myReactionEmoji; private String sourceBranch; private String targetBranch; @@ -278,11 +279,24 @@ public void setAssigneeId(Long assigneeId) { this.assigneeId = assigneeId; } + public Long getReviewerId() { + return reviewerId; + } + + public void setReviewerId(Long reviewerId) { + this.reviewerId = reviewerId; + } + public MergeRequestFilter withAssigneeId(Long assigneeId) { this.assigneeId = assigneeId; return (this); } + public MergeRequestFilter withReviewerId(Long reviewerId) { + this.reviewerId = reviewerId; + return (this); + } + public String getMyReactionEmoji() { return myReactionEmoji; } @@ -511,6 +525,7 @@ public GitLabForm getQueryParams() { .withParam("updated_before", updatedBefore) .withParam("scope", scope) .withParam("assignee_id", assigneeId) + .withParam("reviewer_id", reviewerId) .withParam("my_reaction_emoji", myReactionEmoji) .withParam("source_branch", sourceBranch) .withParam("target_branch", targetBranch)