Commit fb684160 authored by Tim Olshansky's avatar Tim Olshansky

Merge pull request #5 from hrubi/forked-merge-requests-2

Updates for gitlab API forked merge requests
parents f26d72c9 2fd3acec
...@@ -22,6 +22,9 @@ public class GitlabMergeRequest { ...@@ -22,6 +22,9 @@ public class GitlabMergeRequest {
@JsonProperty("project_id") @JsonProperty("project_id")
private Integer _projectId; private Integer _projectId;
@JsonProperty("source_project_id")
private Integer _sourceProjectId;
public Integer getId() { public Integer getId() {
return _id; return _id;
} }
...@@ -54,6 +57,14 @@ public class GitlabMergeRequest { ...@@ -54,6 +57,14 @@ public class GitlabMergeRequest {
_projectId = projectId; _projectId = projectId;
} }
public Integer getSourceProjectId() {
return _sourceProjectId;
}
public void setSourceProjectId(Integer sourceProjectId) {
_sourceProjectId = sourceProjectId;
}
public String getTitle() { public String getTitle() {
return _title; return _title;
} }
......
...@@ -36,6 +36,9 @@ public class GitlabProject { ...@@ -36,6 +36,9 @@ public class GitlabProject {
@JsonProperty("created_at") @JsonProperty("created_at")
private Date _createdAt; private Date _createdAt;
@JsonProperty("ssh_url_to_repo")
private String _sshUrl;
private GitlabNamespace _namespace; private GitlabNamespace _namespace;
public Integer getId() { public Integer getId() {
...@@ -134,6 +137,14 @@ public class GitlabProject { ...@@ -134,6 +137,14 @@ public class GitlabProject {
_createdAt = createdAt; _createdAt = createdAt;
} }
public String getSshUrl() {
return _sshUrl;
}
public void setSshUrl(String sshUrl) {
_sshUrl = sshUrl;
}
public GitlabNamespace getNamespace() { public GitlabNamespace getNamespace() {
return _namespace; 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