Commit 09558f78 authored by Tim Olshansky's avatar Tim Olshansky

Merge pull request #86 from wikiwi/add-note-fields

Add system, upvote, downvote to GitlabNote
parents b0608ffa 87ddafad
......@@ -12,6 +12,9 @@ public class GitlabNote {
private String body;
private String attachment;
private GitlabUser author;
private boolean system;
private boolean upvote;
private boolean downvote;
@JsonProperty("created_at")
private Date createdAt;
......@@ -55,4 +58,28 @@ public class GitlabNote {
public void setAttachment(String attachment) {
this.attachment = attachment;
}
public boolean isSystem() {
return system;
}
public void setSystem(boolean system) {
this.system = system;
}
public boolean isUpvote() {
return upvote;
}
public void setUpvote(boolean upvote) {
this.upvote = upvote;
}
public boolean isDownvote() {
return downvote;
}
public void setDownvote(boolean downvote) {
this.downvote = downvote;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment