Module Values.SetTimerActionSource

Information needed to set the timer.

Sourcetype nonrec t = {
  1. timerName : TimerName.t;
    (*

    The name of the timer.

    *)
  2. seconds : Seconds.t option;
    (*

    The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.

    *)
  3. durationExpression : VariableValue.t option;
    (*

    The duration of the timer, in seconds. You can use a string expression that includes numbers, variables ($variable.<variable-name>), and input values ($input.<input-name>.<path-to-datum>) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.

    *)
}
Sourceval context_ : string
Sourceval make : ?seconds:??? -> ?durationExpression:??? -> timerName:TimerName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Seconds.t | `String of TimerName.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