Skip to content

Commit 8c57914

Browse files
committed
feat: add in field to IssueFilter #1172
1 parent 6e5e2e6 commit 8c57914

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/java/org/gitlab4j/api/models/IssueFilter.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ public class IssueFilter implements Serializable {
3535
*/
3636
private IssueState state;
3737

38+
/**
39+
* Modify the scope of the search attribute. title, description, or a string joining them with comma. Default is title,description
40+
*/
41+
private List<String> in;
42+
3843
/**
3944
* Comma-separated list of label names, issues must have all labels to be returned. No+Label lists all issues with no labels.
4045
*/
@@ -157,6 +162,15 @@ public void setState(IssueState state) {
157162
this.state = state;
158163
}
159164

165+
166+
public List<String> getIn() {
167+
return in;
168+
}
169+
170+
public void setIn(List<String> in) {
171+
this.in = in;
172+
}
173+
160174
public List<String> getLabels() {
161175
return labels;
162176
}
@@ -496,6 +510,7 @@ public GitLabApiForm getQueryParams() {
496510
.withParam("iids", iids)
497511
.withParam("state", state)
498512
.withParam("labels", (labels != null ? String.join(",", labels) : null))
513+
.withParam("in", (in != null ? String.join(",", in) : null))
499514
.withParam("milestone", milestone)
500515
.withParam("scope", scope)
501516
.withParam("author_id", authorId)

0 commit comments

Comments
 (0)