Module Values.RuleStateSource

Returns information about the state of a rule. Values returned in the revisionId field indicate the rule revision information, such as the commit ID, for the current state.

Sourcetype nonrec t = {
  1. ruleName : RuleName.t option;
    (*

    The name of the rule.

    *)
  2. currentRevision : RuleRevision.t option;
    (*

    The ID of the current revision of the artifact successfully worked on by the job.

    *)
  3. latestExecution : RuleExecution.t option;
    (*

    Represents information about the latest run of an rule.

    *)
  4. entityUrl : Url.t option;
    (*

    A URL link for more information about the state of the action, such as a details page.

    *)
  5. revisionUrl : Url.t option;
    (*

    A URL link for more information about the revision, such as a commit details page.

    *)
}
Sourceval make : ?ruleName:??? -> ?currentRevision:??? -> ?latestExecution:??? -> ?entityUrl:??? -> ?revisionUrl:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RuleName.t | `Structure of (string * [> `Enum of string | `String of Revision.t | `Structure of (string * [> `String of Code.t ]) list | `Timestamp of Timestamp.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