Skip to content

Commit

Permalink
Add more field to NoteEvent.ObjectAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezhuangshi committed Mar 17, 2021
1 parent 750213b commit 87d8a58
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/java/org/gitlab4j/api/webhook/NoteEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ public static class ObjectAttributes {

private Integer id;
private String note;
private String discussionId;
private String type;
private NoteableType noteableType;
private Integer authorId;
private Date createdAt;
Expand Down Expand Up @@ -160,6 +162,22 @@ public void setNote(String note) {
this.note = note;
}

public String getDiscussionId() {
return discussionId;
}

public void setDiscussionId(String discussionId) {
this.discussionId = discussionId;
}

public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

public NoteableType getNoteableType() {
return noteableType;
}
Expand Down

0 comments on commit 87d8a58

Please sign in to comment.