1010
1111public class MergeRequest {
1212
13+ private Boolean allowCollaboration ;
14+ private Boolean allowMaintainerToPush ;
1315 private Integer approvalsBeforeMerge ;
1416 private Assignee assignee ;
1517 private Author author ;
1618 private List <Diff > changes ;
19+ private Date closedAt ;
20+ private Participant closedBy ;
1721 private Date createdAt ;
1822 private String description ;
23+ private Boolean discussionLocked ;
1924 private Integer downvotes ;
2025 private Boolean forceRemoveSourceBranch ;
2126 private Integer id ;
2227 private Integer iid ;
2328 private List <String > labels ;
2429 private String mergeCommitSha ;
2530 private String mergeStatus ;
26- private Boolean mergeWhenBuildSucceeds ;
31+ private Date mergedAt ;
32+ private Participant mergedBy ;
33+ private Boolean mergeWhenPipelineSucceeds ;
2734 private Milestone milestone ;
2835 private Integer projectId ;
2936 private String sha ;
@@ -35,6 +42,8 @@ public class MergeRequest {
3542 private Boolean subscribed ;
3643 private String targetBranch ;
3744 private Integer targetProjectId ;
45+ private TaskCompletionStatus taskCompletionStatus ;
46+ private TimeStats timeStats ;
3847 private String title ;
3948 private Date updatedAt ;
4049 private Integer upvotes ;
@@ -51,6 +60,22 @@ public class MergeRequest {
5160 @ JsonDeserialize (using = JacksonJson .UserListDeserializer .class )
5261 private List <User > approvedBy ;
5362
63+ public Boolean getAllowCollaboration () {
64+ return allowCollaboration ;
65+ }
66+
67+ public void setAllowCollaboration (Boolean allowCollaboration ) {
68+ this .allowCollaboration = allowCollaboration ;
69+ }
70+
71+ public Boolean getAllowMaintainerToPush () {
72+ return allowMaintainerToPush ;
73+ }
74+
75+ public void setAllowMaintainerToPush (Boolean allowMaintainerToPush ) {
76+ this .allowMaintainerToPush = allowMaintainerToPush ;
77+ }
78+
5479 public Integer getApprovalsBeforeMerge () {
5580 return approvalsBeforeMerge ;
5681 }
@@ -83,6 +108,22 @@ public void setChanges(List<Diff> changes) {
83108 this .changes = changes ;
84109 }
85110
111+ public Date getClosedAt () {
112+ return closedAt ;
113+ }
114+
115+ public void setClosedAt (Date closedAt ) {
116+ this .closedAt = closedAt ;
117+ }
118+
119+ public Participant getClosedBy () {
120+ return closedBy ;
121+ }
122+
123+ public void setClosedBy (Participant closedBy ) {
124+ this .closedBy = closedBy ;
125+ }
126+
86127 public Date getCreatedAt () {
87128 return createdAt ;
88129 }
@@ -99,6 +140,14 @@ public void setDescription(String description) {
99140 this .description = description ;
100141 }
101142
143+ public Boolean getDiscussionLocked () {
144+ return discussionLocked ;
145+ }
146+
147+ public void setDiscussionLocked (Boolean discussionLocked ) {
148+ this .discussionLocked = discussionLocked ;
149+ }
150+
102151 public Integer getDownvotes () {
103152 return downvotes ;
104153 }
@@ -155,12 +204,28 @@ public void setMergeStatus(String mergeStatus) {
155204 this .mergeStatus = mergeStatus ;
156205 }
157206
158- public Boolean getMergeWhenBuildSucceeds () {
159- return mergeWhenBuildSucceeds ;
207+ public Date getMergedAt () {
208+ return mergedAt ;
209+ }
210+
211+ public void setMergedAt (Date mergedAt ) {
212+ this .mergedAt = mergedAt ;
213+ }
214+
215+ public Participant getMergedBy () {
216+ return mergedBy ;
217+ }
218+
219+ public void setMergedBy (Participant mergedBy ) {
220+ this .mergedBy = mergedBy ;
221+ }
222+
223+ public Boolean getMergeWhenPipelineSucceeds () {
224+ return mergeWhenPipelineSucceeds ;
160225 }
161226
162- public void setMergeWhenBuildSucceeds (Boolean mergeWhenBuildSucceeds ) {
163- this .mergeWhenBuildSucceeds = mergeWhenBuildSucceeds ;
227+ public void setMergeWhenPipelineSucceeds (Boolean mergeWhenPipelineSucceeds ) {
228+ this .mergeWhenPipelineSucceeds = mergeWhenPipelineSucceeds ;
164229 }
165230
166231 public Milestone getMilestone () {
@@ -251,6 +316,22 @@ public void setTargetProjectId(Integer targetProjectId) {
251316 this .targetProjectId = targetProjectId ;
252317 }
253318
319+ public TaskCompletionStatus getTaskCompletionStatus () {
320+ return taskCompletionStatus ;
321+ }
322+
323+ public void setTaskCompletionStatus (TaskCompletionStatus taskCompletionStatus ) {
324+ this .taskCompletionStatus = taskCompletionStatus ;
325+ }
326+
327+ public TimeStats getTimeStats () {
328+ return timeStats ;
329+ }
330+
331+ public void setTimeStats (TimeStats timeStats ) {
332+ this .timeStats = timeStats ;
333+ }
334+
254335 public String getTitle () {
255336 return title ;
256337 }
0 commit comments