File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed
src/main/java/com/spotify/github/v3/prs Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 2525import com .spotify .github .GithubStyle ;
2626import com .spotify .github .v3 .User ;
2727
28- import java .util .List ;
2928import java .util .Optional ;
3029import javax .annotation .Nullable ;
3130
32- import com .spotify .github .v3 .issues .Label ;
3331import org .immutables .value .Value ;
3432
3533/**
@@ -81,13 +79,4 @@ public interface PullRequest extends PullRequestItem {
8179 /** The mergeable state of this PR. */
8280 @ Nullable
8381 String mergeableState ();
84-
85- /** Is it a draft PR? */
86- Optional <Boolean > draft ();
87-
88- @ Nullable
89- List <Label > labels ();
90-
91- @ Nullable
92- AutoMerge autoMerge ();
9382}
Original file line number Diff line number Diff line change 2727import com .spotify .github .GithubStyle ;
2828import com .spotify .github .v3 .Milestone ;
2929import com .spotify .github .v3 .User ;
30+ import com .spotify .github .v3 .issues .Label ;
31+
32+ import javax .annotation .Nullable ;
3033import java .net .URI ;
3134import java .util .List ;
3235import java .util .Optional ;
33- import javax . annotation . Nullable ;
36+
3437import org .immutables .value .Value ;
3538
3639/** Pull request item resource represents data returned during pull request list operation */
@@ -130,4 +133,15 @@ public interface PullRequestItem extends PartialPullRequestItem {
130133 /** Node ID. */
131134 @ Nullable
132135 String nodeId ();
136+
137+ /** Is Automerge Enabled */
138+ @ Nullable
139+ AutoMerge autoMerge ();
140+
141+ /** Is it a draft PR? */
142+ Optional <Boolean > draft ();
143+
144+ /** List of PR labels */
145+ @ Nullable
146+ List <Label > labels ();
133147}
You can’t perform that action at this time.
0 commit comments