File tree 2 files changed +10
-0
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/models 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public class MergeRequest implements Serializable {
29
29
private Boolean discussionLocked ;
30
30
private Integer divergedCommitsCount ;
31
31
private Integer downvotes ;
32
+ private Boolean draft ;
32
33
private Boolean forceRemoveSourceBranch ;
33
34
private Boolean hasConflicts ;
34
35
private Long id ;
@@ -217,6 +218,14 @@ public void setDownvotes(Integer downvotes) {
217
218
this .downvotes = downvotes ;
218
219
}
219
220
221
+ public Boolean getDraft () {
222
+ return draft ;
223
+ }
224
+
225
+ public void setDraft (Boolean draft ) {
226
+ this .draft = draft ;
227
+ }
228
+
220
229
public Boolean getForceRemoveSourceBranch () {
221
230
return forceRemoveSourceBranch ;
222
231
}
Original file line number Diff line number Diff line change 46
46
"state" :" active" ,
47
47
"created_at" :" 2012-04-29T08:46:00Z"
48
48
},
49
+ "draft" : false ,
49
50
"allow_collaboration" : false ,
50
51
"allow_maintainer_to_push" : false ,
51
52
"discussion_locked" : false ,
You can’t perform that action at this time.
0 commit comments