Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
64be2a28
Commit
64be2a28
authored
Mar 01, 2022
by
Brian Krische
Browse files
Include Pipeline data in Merge Request model
parent
5335c9e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/MergeRequest.java
View file @
64be2a28
...
...
@@ -41,6 +41,7 @@ public class MergeRequest {
private
Boolean
mergeWhenPipelineSucceeds
;
private
String
mergeError
;
private
Milestone
milestone
;
private
Pipeline
pipeline
;
private
Integer
projectId
;
private
String
sha
;
private
Boolean
shouldRemoveSourceBranch
;
...
...
@@ -311,6 +312,14 @@ public class MergeRequest {
this
.
milestone
=
milestone
;
}
public
Pipeline
getPipeline
()
{
return
pipeline
;
}
public
void
setPipeline
(
Pipeline
pipeline
)
{
this
.
pipeline
=
pipeline
;
}
public
Integer
getProjectId
()
{
return
projectId
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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