Module Values.PostCommentForComparedCommitInputSource

Posts a comment on the comparison between two commits.

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

    The name of the repository where you want to post a comment on the comparison between commits.

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

    To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.

    *)
  3. afterCommitId : CommitId.t;
    (*

    To establish the directionality of the comparison, the full commit ID of the after commit.

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

    The location of the comparison where you want to comment.

    *)
  5. content : Content.t;
    (*

    The content of the comment you want to make.

    *)
  6. clientRequestToken : ClientRequestToken.t option;
    (*

    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 returns information about the initial request that used that token.

    *)
}
Sourceval context_ : string
Sourceval make : ?beforeCommitId:??? -> ?location:??? -> ?clientRequestToken:??? -> repositoryName:RepositoryName.t -> afterCommitId:CommitId.t -> content:Content.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RepositoryName.t | `Structure of (string * [> `Enum of string | `Long of Position.t | `String of Path.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