Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reviewerId to MergeRequestFilter #1218

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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)
Expand Down
Loading