File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
src/main/java/com/spotify/github/v3/prs Expand file tree Collapse file tree 2 files changed +11
-9
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/**
@@ -82,12 +80,6 @@ public interface PullRequest extends PullRequestItem {
8280 @ Nullable
8381 String mergeableState ();
8482
85- /** Is it a draft PR? */
86- Optional <Boolean > draft ();
87-
88- @ Nullable
89- List <Label > labels ();
90-
9183 @ Nullable
9284 AutoMerge autoMerge ();
9385}
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,11 @@ public interface PullRequestItem extends PartialPullRequestItem {
130133 /** Node ID. */
131134 @ Nullable
132135 String nodeId ();
136+
137+ /** Is it a draft PR? */
138+ Optional <Boolean > draft ();
139+
140+ /** List of PR labels */
141+ @ Nullable
142+ List <Label > labels ();
133143}
You can’t perform that action at this time.
0 commit comments