Commit d8bb6af3 authored by Christopher Luu's avatar Christopher Luu

Exposed some additional properties in the commit and project models.

parent 10319475
......@@ -10,6 +10,7 @@ public class GitlabCommit {
private String _id;
private String _title;
private String _description;
@JsonProperty("short_id")
private String _shortId;
......@@ -56,6 +57,14 @@ public class GitlabCommit {
_title = title;
}
public String getDescription() {
return _description;
}
public void setDescription(String description) {
_description = description;
}
public String getAuthorName() {
return _authorName;
}
......
......@@ -39,6 +39,9 @@ public class GitlabProject {
@JsonProperty("ssh_url_to_repo")
private String _sshUrl;
@JsonProperty("web_url")
private String _webUrl;
private GitlabNamespace _namespace;
public Integer getId() {
......@@ -145,6 +148,14 @@ public class GitlabProject {
_sshUrl = sshUrl;
}
public String getWebUrl() {
return _webUrl;
}
public void setWebUrl(String webUrl) {
_webUrl = webUrl;
}
public GitlabNamespace getNamespace() {
return _namespace;
}
......
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