File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
gitlab4j-models/src/main/java/org/gitlab4j/api/models Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public class MergeRequestFilter implements Serializable {
4949 */
5050 private Long authorId ;
5151
52+ private String authorUsername ;
5253 private Long assigneeId ;
5354 private Long reviewerId ;
5455 private String myReactionEmoji ;
@@ -271,6 +272,19 @@ public MergeRequestFilter withAuthorId(Long authorId) {
271272 return (this );
272273 }
273274
275+ public String getAuthorUsername () {
276+ return authorUsername ;
277+ }
278+
279+ public void setAuthorUsername (String authorUsername ) {
280+ this .authorUsername = authorUsername ;
281+ }
282+
283+ public MergeRequestFilter withAuthorUsername (String authorUsername ) {
284+ this .authorUsername = authorUsername ;
285+ return (this );
286+ }
287+
274288 public Long getAssigneeId () {
275289 return assigneeId ;
276290 }
@@ -524,6 +538,7 @@ public GitLabForm getQueryParams() {
524538 .withParam ("updated_after" , updatedAfter )
525539 .withParam ("updated_before" , updatedBefore )
526540 .withParam ("scope" , scope )
541+ .withParam ("author_username" , authorUsername )
527542 .withParam ("assignee_id" , assigneeId )
528543 .withParam ("reviewer_id" , reviewerId )
529544 .withParam ("my_reaction_emoji" , myReactionEmoji )
You can’t perform that action at this time.
0 commit comments