Values.CommentsForPullRequestSourceReturns information about comments on a pull request.
type nonrec t = {pullRequestId : PullRequestId.t option;The system-generated ID of the pull request.
*)repositoryName : RepositoryName.t option;The name of the repository that contains the pull request.
*)beforeCommitId : CommitId.t option;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.
*)afterCommitId : CommitId.t option;The full commit ID of the commit that was the tip of the source branch at the time the comment was made.
*)beforeBlobId : ObjectId.t option;The full blob ID of the file on which you want to comment on the destination commit.
*)afterBlobId : ObjectId.t option;The full blob ID of the file on which you want to comment on the source commit.
*)location : Location.t option;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).
*)comments : Comments.t option;An array of comment objects. Each comment object contains information about a comment on the pull request.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of IsCommentDeleted.t
| `List of [> `String of ReactionValue.t ] list
| `Map of
([> `String of ReactionValue.t ]
* [> `Integer of Count.t ])
list
| `String of CommentId.t
| `Timestamp of CreationDate.t ])
list ]
list
| `String of PullRequestId.t
| `Structure of
(string
* [> `Enum of string | `Long of Position.t | `String of Path.t ])
list ])
list ]