Module Values.GetCommentOutputSource

Returns the content of a comment made on a change, file, or commit in a repository. 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. comment : Comment.t option;
    (*

    The contents of the comment.

    *)
}
Sourcetype nonrec error = [
  1. | `CommentDeletedException of CommentDeletedException.t
  2. | `CommentDoesNotExistException of CommentDoesNotExistException.t
  3. | `CommentIdRequiredException of CommentIdRequiredException.t
  4. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  5. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  6. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  7. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  8. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  9. | `InvalidCommentIdException of InvalidCommentIdException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?comment:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CommentDeletedException of unit | `CommentDoesNotExistException of unit | `CommentIdRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidCommentIdException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CommentDeletedException of unit | `CommentDoesNotExistException of unit | `CommentIdRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidCommentIdException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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 ]
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