File tree Expand file tree Collapse file tree 5 files changed +26
-0
lines changed
main/java/org/gitlab4j/api/webhook
test/resources/org/gitlab4j/api Expand file tree Collapse file tree 5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ public static class ObjectAttributes {
131
131
132
132
private Integer id ;
133
133
private String note ;
134
+ private String discussionId ;
135
+ private String type ;
134
136
private NoteableType noteableType ;
135
137
private Integer authorId ;
136
138
private Date createdAt ;
@@ -160,6 +162,22 @@ public void setNote(String note) {
160
162
this .note = note ;
161
163
}
162
164
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
+
163
181
public NoteableType getNoteableType () {
164
182
return noteableType ;
165
183
}
Original file line number Diff line number Diff line change 30
30
"object_attributes" : {
31
31
"id" : 1243 ,
32
32
"note" : " This is a commit comment. How does this work?" ,
33
+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
34
+ "type" : " DiscussionNote" ,
33
35
"noteable_type" : " Commit" ,
34
36
"author_id" : 1 ,
35
37
"created_at" : " 2015-05-17T18:08:09Z" ,
Original file line number Diff line number Diff line change 29
29
"object_attributes" : {
30
30
"id" : 1241 ,
31
31
"note" : " Hello world" ,
32
+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
33
+ "type" : " DiscussionNote" ,
32
34
"noteable_type" : " Issue" ,
33
35
"author_id" : 1 ,
34
36
"created_at" : " 2015-05-17T17:06:40Z" ,
Original file line number Diff line number Diff line change 30
30
"object_attributes" : {
31
31
"id" : 1244 ,
32
32
"note" : " This MR needs work." ,
33
+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
34
+ "type" : " DiscussionNote" ,
33
35
"noteable_type" : " MergeRequest" ,
34
36
"author_id" : 1 ,
35
37
"created_at" : " 2015-05-17T18:21:36Z" ,
Original file line number Diff line number Diff line change 30
30
"object_attributes" : {
31
31
"id" : 1245 ,
32
32
"note" : " Is this snippet doing what it's supposed to be doing?" ,
33
+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
34
+ "type" : " DiscussionNote" ,
33
35
"noteable_type" : " Snippet" ,
34
36
"author_id" : 1 ,
35
37
"created_at" : " 2015-05-17T18:35:50Z" ,
You can’t perform that action at this time.
0 commit comments