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 CommentsForPullRequest = CommentsForPullRequest' {}
- newCommentsForPullRequest :: CommentsForPullRequest
- commentsForPullRequest_beforeBlobId :: Lens' CommentsForPullRequest (Maybe Text)
- commentsForPullRequest_location :: Lens' CommentsForPullRequest (Maybe Location)
- commentsForPullRequest_afterCommitId :: Lens' CommentsForPullRequest (Maybe Text)
- commentsForPullRequest_pullRequestId :: Lens' CommentsForPullRequest (Maybe Text)
- commentsForPullRequest_afterBlobId :: Lens' CommentsForPullRequest (Maybe Text)
- commentsForPullRequest_beforeCommitId :: Lens' CommentsForPullRequest (Maybe Text)
- commentsForPullRequest_repositoryName :: Lens' CommentsForPullRequest (Maybe Text)
- commentsForPullRequest_comments :: Lens' CommentsForPullRequest (Maybe [Comment])
Documentation
data CommentsForPullRequest Source #
Returns information about comments on a pull request.
See: newCommentsForPullRequest
smart constructor.
CommentsForPullRequest' | |
|
Instances
newCommentsForPullRequest :: CommentsForPullRequest Source #
Create a value of CommentsForPullRequest
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:beforeBlobId:CommentsForPullRequest'
, commentsForPullRequest_beforeBlobId
- The full blob ID of the file on which you want to comment on the
destination commit.
$sel:location:CommentsForPullRequest'
, commentsForPullRequest_location
- Location information about the comment on the pull request, including
the file name, line number, and whether the version of the file where
the comment was made is BEFORE (destination branch) or AFTER (source
branch).
$sel:afterCommitId:CommentsForPullRequest'
, commentsForPullRequest_afterCommitId
- The full commit ID of the commit that was the tip of the source branch
at the time the comment was made.
$sel:pullRequestId:CommentsForPullRequest'
, commentsForPullRequest_pullRequestId
- The system-generated ID of the pull request.
$sel:afterBlobId:CommentsForPullRequest'
, commentsForPullRequest_afterBlobId
- The full blob ID of the file on which you want to comment on the source
commit.
$sel:beforeCommitId:CommentsForPullRequest'
, commentsForPullRequest_beforeCommitId
- The full commit ID of the commit that was the tip of the destination
branch when the pull request was created. This commit is superceded by
the after commit in the source branch when and if you merge the source
branch into the destination branch.
$sel:repositoryName:CommentsForPullRequest'
, commentsForPullRequest_repositoryName
- The name of the repository that contains the pull request.
$sel:comments:CommentsForPullRequest'
, commentsForPullRequest_comments
- An array of comment objects. Each comment object contains information
about a comment on the pull request.
commentsForPullRequest_beforeBlobId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full blob ID of the file on which you want to comment on the destination commit.
commentsForPullRequest_location :: Lens' CommentsForPullRequest (Maybe Location) Source #
Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).
commentsForPullRequest_afterCommitId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full commit ID of the commit that was the tip of the source branch at the time the comment was made.
commentsForPullRequest_pullRequestId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The system-generated ID of the pull request.
commentsForPullRequest_afterBlobId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full blob ID of the file on which you want to comment on the source commit.
commentsForPullRequest_beforeCommitId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.
commentsForPullRequest_repositoryName :: Lens' CommentsForPullRequest (Maybe Text) Source #
The name of the repository that contains the pull request.
commentsForPullRequest_comments :: Lens' CommentsForPullRequest (Maybe [Comment]) Source #
An array of comment objects. Each comment object contains information about a comment on the pull request.