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