Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PullRequestCreatedEventMetadata = PullRequestCreatedEventMetadata' {}
- newPullRequestCreatedEventMetadata :: PullRequestCreatedEventMetadata
- pullRequestCreatedEventMetadata_destinationCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text)
- pullRequestCreatedEventMetadata_mergeBase :: Lens' PullRequestCreatedEventMetadata (Maybe Text)
- pullRequestCreatedEventMetadata_repositoryName :: Lens' PullRequestCreatedEventMetadata (Maybe Text)
- pullRequestCreatedEventMetadata_sourceCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text)
Documentation
data PullRequestCreatedEventMetadata Source #
Metadata about the pull request that is used when comparing the pull request source with its destination.
See: newPullRequestCreatedEventMetadata
smart constructor.
PullRequestCreatedEventMetadata' | |
|
Instances
newPullRequestCreatedEventMetadata :: PullRequestCreatedEventMetadata Source #
Create a value of PullRequestCreatedEventMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationCommitId:PullRequestCreatedEventMetadata'
, pullRequestCreatedEventMetadata_destinationCommitId
- The commit ID of the tip of the branch specified as the destination
branch when the pull request was created.
$sel:mergeBase:PullRequestCreatedEventMetadata'
, pullRequestCreatedEventMetadata_mergeBase
- The commit ID of the most recent commit that the source branch and the
destination branch have in common.
$sel:repositoryName:PullRequestCreatedEventMetadata'
, pullRequestCreatedEventMetadata_repositoryName
- The name of the repository where the pull request was created.
$sel:sourceCommitId:PullRequestCreatedEventMetadata'
, pullRequestCreatedEventMetadata_sourceCommitId
- The commit ID on the source branch used when the pull request was
created.
pullRequestCreatedEventMetadata_destinationCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
pullRequestCreatedEventMetadata_mergeBase :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #
The commit ID of the most recent commit that the source branch and the destination branch have in common.
pullRequestCreatedEventMetadata_repositoryName :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #
The name of the repository where the pull request was created.
pullRequestCreatedEventMetadata_sourceCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #
The commit ID on the source branch used when the pull request was created.