Interface PullRequestCreate
-
- All Known Implementing Classes:
ImmutablePullRequestCreate
@Immutable public interface PullRequestCreate
Pull request create request resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
base()
The name of the branch you want your changes pulled into.Optional<String>
body()
The contents of the pull request.Boolean
draft()
Indicates whether the pull request is a draft.String
head()
The name of the branch where your changes are implemented.String
title()
The title of the pull request.
-
-
-
Method Detail
-
title
@Nullable String title()
The title of the pull request.
-
head
@Nullable String head()
The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head with a user like this: username:branch.
-
base
@Nullable String base()
The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
-
draft
@Nullable Boolean draft()
Indicates whether the pull request is a draft.
-
-