Commit 7a4be6b9 authored by Stephan van Leeuwen's avatar Stephan van Leeuwen

Added support for last_activity_at property

parent 6bcb05f1
package org.gitlab.api.models;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.codehaus.jackson.annotate.JsonProperty;
......@@ -55,6 +56,9 @@ public class GitlabProject {
@JsonProperty("http_url_to_repo")
private String _httpUrl;
@JsonProperty("last_activity_at")
private Date _lastActivityAt;
private GitlabNamespace _namespace;
public Integer getId() {
......@@ -216,4 +220,12 @@ public class GitlabProject {
public void setPublic(boolean aPublic) {
_public = aPublic;
}
public Date getLastActivityAt() {
return _lastActivityAt;
}
public void setLastActivityAt(Date lastActivityAt) {
_lastActivityAt = lastActivityAt;
}
}
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