Commit 87ddafad authored by Chi Vinh Le's avatar Chi Vinh Le

Add system, upvote, downvote to GitlabNote

parent 656f78a2
......@@ -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