Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
java-gitlab-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
java-gitlab-api
Commits
fb684160
Commit
fb684160
authored
Dec 07, 2013
by
Tim Olshansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from hrubi/forked-merge-requests-2
Updates for gitlab API forked merge requests
parents
f26d72c9
2fd3acec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
GitlabMergeRequest.java
src/main/java/org/gitlab/api/models/GitlabMergeRequest.java
+11
-0
GitlabProject.java
src/main/java/org/gitlab/api/models/GitlabProject.java
+11
-0
No files found.
src/main/java/org/gitlab/api/models/GitlabMergeRequest.java
View file @
fb684160
...
...
@@ -22,6 +22,9 @@ public class GitlabMergeRequest {
@JsonProperty
(
"project_id"
)
private
Integer
_projectId
;
@JsonProperty
(
"source_project_id"
)
private
Integer
_sourceProjectId
;
public
Integer
getId
()
{
return
_id
;
}
...
...
@@ -54,6 +57,14 @@ public class GitlabMergeRequest {
_projectId
=
projectId
;
}
public
Integer
getSourceProjectId
()
{
return
_sourceProjectId
;
}
public
void
setSourceProjectId
(
Integer
sourceProjectId
)
{
_sourceProjectId
=
sourceProjectId
;
}
public
String
getTitle
()
{
return
_title
;
}
...
...
src/main/java/org/gitlab/api/models/GitlabProject.java
View file @
fb684160
...
...
@@ -36,6 +36,9 @@ public class GitlabProject {
@JsonProperty
(
"created_at"
)
private
Date
_createdAt
;
@JsonProperty
(
"ssh_url_to_repo"
)
private
String
_sshUrl
;
private
GitlabNamespace
_namespace
;
public
Integer
getId
()
{
...
...
@@ -134,6 +137,14 @@ public class GitlabProject {
_createdAt
=
createdAt
;
}
public
String
getSshUrl
()
{
return
_sshUrl
;
}
public
void
setSshUrl
(
String
sshUrl
)
{
_sshUrl
=
sshUrl
;
}
public
GitlabNamespace
getNamespace
()
{
return
_namespace
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment