Skip to content

Commit 87d8a58

Browse files
committed
Add more field to NoteEvent.ObjectAttributes
1 parent 750213b commit 87d8a58

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/main/java/org/gitlab4j/api/webhook/NoteEvent.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ public static class ObjectAttributes {
131131

132132
private Integer id;
133133
private String note;
134+
private String discussionId;
135+
private String type;
134136
private NoteableType noteableType;
135137
private Integer authorId;
136138
private Date createdAt;
@@ -160,6 +162,22 @@ public void setNote(String note) {
160162
this.note = note;
161163
}
162164

165+
public String getDiscussionId() {
166+
return discussionId;
167+
}
168+
169+
public void setDiscussionId(String discussionId) {
170+
this.discussionId = discussionId;
171+
}
172+
173+
public String getType() {
174+
return type;
175+
}
176+
177+
public void setType(String type) {
178+
this.type = type;
179+
}
180+
163181
public NoteableType getNoteableType() {
164182
return noteableType;
165183
}

0 commit comments

Comments
 (0)