Module Values.ChannelAlertSource

An alert on a channel

Sourcetype nonrec t = {
  1. alertType : string option;
    (*

    The type of the alert

    *)
  2. clearedTimestamp : string option;
    (*

    The time when the alert was cleared

    *)
  3. id : string option;
    (*

    The unique ID for this alert instance

    *)
  4. message : string option;
    (*

    The user facing alert message which can have more context

    *)
  5. pipelineId : string option;
    (*

    The ID of the pipeline this alert is associated with

    *)
  6. setTimestamp : string option;
    (*

    The time when the alert was set

    *)
  7. state : ChannelAlertState.t option;
    (*

    The state of the alert

    *)
}
Sourceval make : ?alertType:??? -> ?clearedTimestamp:??? -> ?id:??? -> ?message:??? -> ?pipelineId:??? -> ?setTimestamp:??? -> ?state:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string | `Timestamp of string ]) 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