Module Values.PostCommentForPullRequestOutputSource

Posts a comment on a pull request.

Sourcetype nonrec t = {
  1. repositoryName : RepositoryName.t option;
    (*

    The name of the repository where you posted a comment on a pull request.

    *)
  2. pullRequestId : PullRequestId.t option;
    (*

    The system-generated ID of the pull request.

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

    The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.

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

    The full commit ID of the commit in the destination branch where the pull request is merged.

    *)
  5. beforeBlobId : ObjectId.t option;
    (*

    In the directionality of the pull request, the blob ID of the before blob.

    *)
  6. afterBlobId : ObjectId.t option;
    (*

    In the directionality of the pull request, the blob ID of the after blob.

    *)
  7. location : Location.t option;
    (*

    The location of the change where you posted your comment.

    *)
  8. comment : Comment.t option;
    (*

    The content of the comment you posted.

    *)
}
Sourcetype nonrec error = [
  1. | `BeforeCommitIdAndAfterCommitIdAreSameException of BeforeCommitIdAndAfterCommitIdAreSameException.t
  2. | `ClientRequestTokenRequiredException of ClientRequestTokenRequiredException.t
  3. | `CommentContentRequiredException of CommentContentRequiredException.t
  4. | `CommentContentSizeLimitExceededException of CommentContentSizeLimitExceededException.t
  5. | `CommitDoesNotExistException of CommitDoesNotExistException.t
  6. | `CommitIdRequiredException of CommitIdRequiredException.t
  7. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  8. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  9. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  10. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  11. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  12. | `IdempotencyParameterMismatchException of IdempotencyParameterMismatchException.t
  13. | `InvalidClientRequestTokenException of InvalidClientRequestTokenException.t
  14. | `InvalidCommitIdException of InvalidCommitIdException.t
  15. | `InvalidFileLocationException of InvalidFileLocationException.t
  16. | `InvalidFilePositionException of InvalidFilePositionException.t
  17. | `InvalidPathException of InvalidPathException.t
  18. | `InvalidPullRequestIdException of InvalidPullRequestIdException.t
  19. | `InvalidRelativeFileVersionEnumException of InvalidRelativeFileVersionEnumException.t
  20. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  21. | `PathDoesNotExistException of PathDoesNotExistException.t
  22. | `PathRequiredException of PathRequiredException.t
  23. | `PullRequestDoesNotExistException of PullRequestDoesNotExistException.t
  24. | `PullRequestIdRequiredException of PullRequestIdRequiredException.t
  25. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  26. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  27. | `RepositoryNotAssociatedWithPullRequestException of RepositoryNotAssociatedWithPullRequestException.t
  28. | `Unknown_operation_error of string * string option
]
Sourceval make : ?repositoryName:??? -> ?pullRequestId:??? -> ?beforeCommitId:??? -> ?afterCommitId:??? -> ?beforeBlobId:??? -> ?afterBlobId:??? -> ?location:??? -> ?comment:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BeforeCommitIdAndAfterCommitIdAreSameException of unit | `ClientRequestTokenRequiredException of unit | `CommentContentRequiredException of unit | `CommentContentSizeLimitExceededException of unit | `CommitDoesNotExistException of unit | `CommitIdRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `IdempotencyParameterMismatchException of unit | `InvalidClientRequestTokenException of unit | `InvalidCommitIdException of unit | `InvalidFileLocationException of unit | `InvalidFilePositionException of unit | `InvalidPathException of unit | `InvalidPullRequestIdException of unit | `InvalidRelativeFileVersionEnumException of unit | `InvalidRepositoryNameException of unit | `PathDoesNotExistException of unit | `PathRequiredException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BeforeCommitIdAndAfterCommitIdAreSameException of unit | `ClientRequestTokenRequiredException of unit | `CommentContentRequiredException of unit | `CommentContentSizeLimitExceededException of unit | `CommitDoesNotExistException of unit | `CommitIdRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `IdempotencyParameterMismatchException of unit | `InvalidClientRequestTokenException of unit | `InvalidCommitIdException of unit | `InvalidFileLocationException of unit | `InvalidFilePositionException of unit | `InvalidPathException of unit | `InvalidPullRequestIdException of unit | `InvalidRelativeFileVersionEnumException of unit | `InvalidRepositoryNameException of unit | `PathDoesNotExistException of unit | `PathRequiredException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RepositoryName.t | `Structure of (string * [> `Boolean of IsCommentDeleted.t | `Enum of string | `List of [> `String of ReactionValue.t ] list | `Long of Position.t | `Map of ([> `String of ReactionValue.t ] * [> `Integer of Count.t ]) list | `String of Path.t | `Timestamp of CreationDate.t ]) list ]) 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