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 {
49
49
*/
50
50
private Long authorId ;
51
51
52
+ private String authorUsername ;
52
53
private Long assigneeId ;
53
54
private Long reviewerId ;
54
55
private String myReactionEmoji ;
@@ -271,6 +272,19 @@ public MergeRequestFilter withAuthorId(Long authorId) {
271
272
return (this );
272
273
}
273
274
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
+
274
288
public Long getAssigneeId () {
275
289
return assigneeId ;
276
290
}
@@ -524,6 +538,7 @@ public GitLabForm getQueryParams() {
524
538
.withParam ("updated_after" , updatedAfter )
525
539
.withParam ("updated_before" , updatedBefore )
526
540
.withParam ("scope" , scope )
541
+ .withParam ("author_username" , authorUsername )
527
542
.withParam ("assignee_id" , assigneeId )
528
543
.withParam ("reviewer_id" , reviewerId )
529
544
.withParam ("my_reaction_emoji" , myReactionEmoji )
You can’t perform that action at this time.
0 commit comments