Equinoxe_hlc.EventThis module deals with events that occure in Equinix.
val id_of_string : string -> idid_of_string str returns a string referencing the event in Equinix.
val id_to_string : id -> stringid_to_string id returns a string representation of the id.
type t = {id : id; |
state : State.t; |
event_type : string; |
body : string; |
created_at : Equinoxe__Equinoxe_intf.Date.t; |
}A representation of an event.
val t_of_json : Ezjsonm.value -> tt_of_json json extracts information about event from json. If the parsing fails, it raises an Ezjsonm.Parse_error exception.
val to_string : t -> stringto_string t returns a string representation of t.
val pp : t -> unitpp t prints in a human readable way the t value.