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 {
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 }
Original file line number Diff line number Diff line change 3030 "object_attributes" : {
3131 "id" : 1243 ,
3232 "note" : " This is a commit comment. How does this work?" ,
33+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
34+ "type" : " DiscussionNote" ,
3335 "noteable_type" : " Commit" ,
3436 "author_id" : 1 ,
3537 "created_at" : " 2015-05-17T18:08:09Z" ,
Original file line number Diff line number Diff line change 2929 "object_attributes" : {
3030 "id" : 1241 ,
3131 "note" : " Hello world" ,
32+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
33+ "type" : " DiscussionNote" ,
3234 "noteable_type" : " Issue" ,
3335 "author_id" : 1 ,
3436 "created_at" : " 2015-05-17T17:06:40Z" ,
Original file line number Diff line number Diff line change 3030 "object_attributes" : {
3131 "id" : 1244 ,
3232 "note" : " This MR needs work." ,
33+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
34+ "type" : " DiscussionNote" ,
3335 "noteable_type" : " MergeRequest" ,
3436 "author_id" : 1 ,
3537 "created_at" : " 2015-05-17T18:21:36Z" ,
Original file line number Diff line number Diff line change 3030 "object_attributes" : {
3131 "id" : 1245 ,
3232 "note" : " Is this snippet doing what it's supposed to be doing?" ,
33+ "discussion_id" : " 56e2b4210419aed077d47ca2dc00551c7c4ac882" ,
34+ "type" : " DiscussionNote" ,
3335 "noteable_type" : " Snippet" ,
3436 "author_id" : 1 ,
3537 "created_at" : " 2015-05-17T18:35:50Z" ,
You can’t perform that action at this time.
0 commit comments