Module Values.DurationSource

An object that represents a duration of time.

Sourcetype nonrec t = {
  1. unit : DurationUnit.t option;
    (*

    A unit of time.

    *)
  2. value : DurationValue.t option;
    (*

    A number of time units.

    *)
}
Sourceval make : ?unit:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of DurationValue.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