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
d15b3743
Commit
d15b3743
authored
Apr 29, 2014
by
Tim Olshansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12 from CingleVue/master
Read additional info from API.
parents
c64bf6c1
cca88bc6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
GitlabMergeRequest.java
src/main/java/org/gitlab/api/models/GitlabMergeRequest.java
+12
-0
No files found.
src/main/java/org/gitlab/api/models/GitlabMergeRequest.java
View file @
d15b3743
...
@@ -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
;
}
}
...
...
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