Module Values.OriginApprovalRuleTemplateSource

Returns information about the template that created the approval rule for a pull request.

Sourcetype nonrec t = {
  1. approvalRuleTemplateId : ApprovalRuleTemplateId.t option;
    (*

    The ID of the template that created the approval rule.

    *)
  2. approvalRuleTemplateName : ApprovalRuleTemplateName.t option;
    (*

    The name of the template that created the approval rule.

    *)
}
Sourceval make : ?approvalRuleTemplateId:??? -> ?approvalRuleTemplateName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ApprovalRuleTemplateId.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