Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Posts a comment on the comparison between two commits.
- postCommentForComparedCommit :: Text -> Text -> Text -> PostCommentForComparedCommit
- data PostCommentForComparedCommit
- pcfccLocation :: Lens' PostCommentForComparedCommit (Maybe Location)
- pcfccBeforeCommitId :: Lens' PostCommentForComparedCommit (Maybe Text)
- pcfccClientRequestToken :: Lens' PostCommentForComparedCommit (Maybe Text)
- pcfccRepositoryName :: Lens' PostCommentForComparedCommit Text
- pcfccAfterCommitId :: Lens' PostCommentForComparedCommit Text
- pcfccContent :: Lens' PostCommentForComparedCommit Text
- postCommentForComparedCommitResponse :: Int -> PostCommentForComparedCommitResponse
- data PostCommentForComparedCommitResponse
- pcfccrsBeforeBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
- pcfccrsLocation :: Lens' PostCommentForComparedCommitResponse (Maybe Location)
- pcfccrsAfterCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
- pcfccrsAfterBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
- pcfccrsBeforeCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
- pcfccrsRepositoryName :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
- pcfccrsComment :: Lens' PostCommentForComparedCommitResponse (Maybe Comment)
- pcfccrsResponseStatus :: Lens' PostCommentForComparedCommitResponse Int
Creating a Request
postCommentForComparedCommit Source #
:: Text | |
-> Text | |
-> Text | |
-> PostCommentForComparedCommit |
Creates a value of PostCommentForComparedCommit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcfccLocation
- The location of the comparison where you want to comment.pcfccBeforeCommitId
- To establish the directionality of the comparison, the full commit ID of thebefore
commit.pcfccClientRequestToken
- A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.pcfccRepositoryName
- The name of the repository where you want to post a comment on the comparison between commits.pcfccAfterCommitId
- To establish the directionality of the comparison, the full commit ID of theafter
commit.pcfccContent
- The content of the comment you want to make.
data PostCommentForComparedCommit Source #
See: postCommentForComparedCommit
smart constructor.
Request Lenses
pcfccLocation :: Lens' PostCommentForComparedCommit (Maybe Location) Source #
The location of the comparison where you want to comment.
pcfccBeforeCommitId :: Lens' PostCommentForComparedCommit (Maybe Text) Source #
To establish the directionality of the comparison, the full commit ID of the before
commit.
pcfccClientRequestToken :: Lens' PostCommentForComparedCommit (Maybe Text) Source #
A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.
pcfccRepositoryName :: Lens' PostCommentForComparedCommit Text Source #
The name of the repository where you want to post a comment on the comparison between commits.
pcfccAfterCommitId :: Lens' PostCommentForComparedCommit Text Source #
To establish the directionality of the comparison, the full commit ID of the after
commit.
pcfccContent :: Lens' PostCommentForComparedCommit Text Source #
The content of the comment you want to make.
Destructuring the Response
postCommentForComparedCommitResponse Source #
Creates a value of PostCommentForComparedCommitResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcfccrsBeforeBlobId
- In the directionality you established, the blob ID of thebefore
blob.pcfccrsLocation
- The location of the comment in the comparison between the two commits.pcfccrsAfterCommitId
- In the directionality you established, the full commit ID of theafter
commit.pcfccrsAfterBlobId
- In the directionality you established, the blob ID of theafter
blob.pcfccrsBeforeCommitId
- In the directionality you established, the full commit ID of thebefore
commit.pcfccrsRepositoryName
- The name of the repository where you posted a comment on the comparison between commits.pcfccrsComment
- The content of the comment you posted.pcfccrsResponseStatus
- -- | The response status code.
data PostCommentForComparedCommitResponse Source #
See: postCommentForComparedCommitResponse
smart constructor.
Response Lenses
pcfccrsBeforeBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #
In the directionality you established, the blob ID of the before
blob.
pcfccrsLocation :: Lens' PostCommentForComparedCommitResponse (Maybe Location) Source #
The location of the comment in the comparison between the two commits.
pcfccrsAfterCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #
In the directionality you established, the full commit ID of the after
commit.
pcfccrsAfterBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #
In the directionality you established, the blob ID of the after
blob.
pcfccrsBeforeCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #
In the directionality you established, the full commit ID of the before
commit.
pcfccrsRepositoryName :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #
The name of the repository where you posted a comment on the comparison between commits.
pcfccrsComment :: Lens' PostCommentForComparedCommitResponse (Maybe Comment) Source #
The content of the comment you posted.
pcfccrsResponseStatus :: Lens' PostCommentForComparedCommitResponse Int Source #
- - | The response status code.