Commit efd607fe authored by Łukasz Dziedziul's avatar Łukasz Dziedziul Committed by Tim Olshansky

Add createdAt field to CommitComment (#180)

parent 372a1542
......@@ -2,6 +2,8 @@ package org.gitlab.api.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
public class CommitComment {
public static final String URL = "/comments";
......@@ -14,6 +16,9 @@ public class CommitComment {
@JsonProperty("line_type")
private String lineType;
@JsonProperty("created_at")
private Date createdAt;
public GitlabUser getAuthor() {
return author;
}
......@@ -53,4 +58,12 @@ public class CommitComment {
public void setLineType(String lineType) {
this.lineType = lineType;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
}
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