Module Values.OSInfoSource

Information about the operating system.

Sourcetype nonrec t = {
  1. type_ : OSType.t option;
    (*

    Information about the type of operating system.

    *)
  2. version : OSVersion.t option;
    (*

    Information about the version of operating system.

    *)
}
Sourceval make : ?type_:??? -> ?version:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of OSVersion.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