Module Values.GetCommentsForPullRequestInputSource

Returns comments made on a pull request. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

Sourcetype nonrec t = {
  1. pullRequestId : PullRequestId.t;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
  2. repositoryName : RepositoryName.t option;
    (*

    The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.

    *)
  3. beforeCommitId : CommitId.t option;
    (*

    The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included.

    *)
  4. afterCommitId : CommitId.t option;
    (*

    The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included.

    *)
  5. nextToken : NextToken.t option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  6. maxResults : MaxResults.t option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

    *)
}
Sourceval context_ : string
Sourceval make : ?repositoryName:??? -> ?beforeCommitId:??? -> ?afterCommitId:??? -> ?nextToken:??? -> ?maxResults:??? -> pullRequestId:PullRequestId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `String of PullRequestId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t