Module Values.OverridePullRequestApprovalRulesInputSource

Sets aside (overrides) all approval rule requirements for a specified pull request.

Sourcetype nonrec t = {
  1. pullRequestId : PullRequestId.t;
    (*

    The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.

    *)
  2. revisionId : RevisionId.t;
    (*

    The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.

    *)
  3. overrideStatus : OverrideStatus.t;
    (*

    Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.

    *)
}
Sourceval context_ : string
Sourceval make : pullRequestId:PullRequestId.t -> revisionId:RevisionId.t -> overrideStatus:OverrideStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PullRequestId.t ]) 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