Module Values.PostCommentForPullRequestInputSource

Posts a comment on a pull request.

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;
    (*

    The name of the repository where you want to post a comment on a pull request.

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

    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.

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

    The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.

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

    The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID.

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

    The content of your comment on the change.

    *)
  7. 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 : ?location:??? -> ?clientRequestToken:??? -> pullRequestId:PullRequestId.t -> repositoryName:RepositoryName.t -> beforeCommitId:CommitId.t -> afterCommitId:CommitId.t -> content:Content.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PullRequestId.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