Module Values.ScriptRuleStatementSource

Rule statement that uses a script to evaluate license asset conditions.

Sourcetype nonrec t = {
  1. keyToMatch : String_.t;
    (*

    Key name to match against in the script rule evaluation.

    *)
  2. script : String_.t;
    (*

    Script code used to evaluate the rule condition.

    *)
}
Sourceval context_ : string
Sourceval make : keyToMatch:String_.t -> script:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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