Module Values.PullRequestTargetSource

Returns information about a pull request target.

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

    The name of the repository that contains the pull request source and destination branches.

    *)
  2. sourceReference : ReferenceName.t option;
    (*

    The branch of the repository that contains the changes for the pull request. Also known as the source branch.

    *)
  3. destinationReference : ReferenceName.t option;
    (*

    The branch of the repository where the pull request changes are merged. Also known as the destination branch.

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

    The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.

    *)
  5. sourceCommit : CommitId.t option;
    (*

    The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID changes to reflect the new tip of the branch.

    *)
  6. mergeBase : CommitId.t option;
    (*

    The commit ID of the most recent commit that the source branch and the destination branch have in common.

    *)
  7. mergeMetadata : MergeMetadata.t option;
    (*

    Returns metadata about the state of the merge, including whether the merge has been made.

    *)
}
Sourceval make : ?repositoryName:??? -> ?sourceReference:??? -> ?destinationReference:??? -> ?destinationCommit:??? -> ?sourceCommit:??? -> ?mergeBase:??? -> ?mergeMetadata:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RepositoryName.t | `Structure of (string * [> `Boolean of IsMerged.t | `Enum of string | `String of Arn.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