File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/models Expand file tree Collapse file tree 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 {
2929 private Boolean discussionLocked ;
3030 private Integer divergedCommitsCount ;
3131 private Integer downvotes ;
32+ private Boolean draft ;
3233 private Boolean forceRemoveSourceBranch ;
3334 private Boolean hasConflicts ;
3435 private Long id ;
@@ -217,6 +218,14 @@ public void setDownvotes(Integer downvotes) {
217218 this .downvotes = downvotes ;
218219 }
219220
221+ public Boolean getDraft () {
222+ return draft ;
223+ }
224+
225+ public void setDraft (Boolean draft ) {
226+ this .draft = draft ;
227+ }
228+
220229 public Boolean getForceRemoveSourceBranch () {
221230 return forceRemoveSourceBranch ;
222231 }
Original file line number Diff line number Diff line change 4646 "state" :" active" ,
4747 "created_at" :" 2012-04-29T08:46:00Z"
4848 },
49+ "draft" : false ,
4950 "allow_collaboration" : false ,
5051 "allow_maintainer_to_push" : false ,
5152 "discussion_locked" : false ,
You can’t perform that action at this time.
0 commit comments