Values.StateSourceInformation that defines a state of a detector.
type nonrec t = {stateName : StateName.t;The name of the state.
*)onInput : OnInputLifecycle.t option;When an input is received and the condition is TRUE, perform the specified actions.
*)onEnter : OnEnterLifecycle.t option;When entering this state, perform these actions if the condition is TRUE.
*)onExit : OnExitLifecycle.t option;When exiting this state, perform these actions if the specified condition is TRUE.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `String of StateName.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of UseBase64.t
| `Integer of Seconds.t
| `String of VariableName.t
| `Structure of
(string
* [> `Enum of string
| `String of
ContentExpression.t
| `Structure of
(string
* [> `String of
AssetPropertyStringValue.t ])
list ])
list ])
list ])
list ]
list
| `String of EventName.t ])
list ]
list ])
list ])
list ]