Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class MergeRequest implements Serializable {
private Boolean discussionLocked;
private Integer divergedCommitsCount;
private Integer downvotes;
private Boolean draft;
private Boolean forceRemoveSourceBranch;
private Boolean hasConflicts;
private Long id;
Expand Down Expand Up @@ -217,6 +218,14 @@ public void setDownvotes(Integer downvotes) {
this.downvotes = downvotes;
}

public Boolean getDraft() {
return draft;
}

public void setDraft(Boolean draft) {
this.draft = draft;
}

public Boolean getForceRemoveSourceBranch() {
return forceRemoveSourceBranch;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"state":"active",
"created_at":"2012-04-29T08:46:00Z"
},
"draft": false,
"allow_collaboration": false,
"allow_maintainer_to_push": false,
"discussion_locked": false,
Expand Down