Commit d15b3743 authored by Tim Olshansky's avatar Tim Olshansky

Merge pull request #12 from CingleVue/master

Read additional info from API.
parents c64bf6c1 cca88bc6
......@@ -9,6 +9,7 @@ public class GitlabMergeRequest {
private Integer _iid;
private String _title;
private String _state;
private String _description;
private boolean _closed;
private boolean _merged;
private GitlabUser _author;
......@@ -26,6 +27,10 @@ public class GitlabMergeRequest {
@JsonProperty("source_project_id")
private Integer _sourceProjectId;
@JsonProperty("milestone_id")
private Integer _milestone_id;
public Integer getId() {
return _id;
}
......@@ -34,6 +39,9 @@ public class GitlabMergeRequest {
_id = id;
}
public Integer getMilestoneId(){ return _milestone_id; }
public void setMilestoneId(Integer id) { _milestone_id = id; }
public Integer getIid() {
return _iid;
}
......@@ -82,6 +90,10 @@ public class GitlabMergeRequest {
_title = title;
}
public String getDescription() { return _description; }
public void setDescription(String d) { _description = d; }
public boolean isClosed() {
return _closed;
}
......
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