Module Values.RangeSource

A range of integer values.

Sourcetype nonrec t = {
  1. from : Integer.t option;
    (*

    The minimum value in the range.

    *)
  2. to_ : Integer.t option;
    (*

    The maximum value in the range.

    *)
  3. step : IntegerOptional.t option;
    (*

    The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

    *)
}
Sourceval make : ?from:??? -> ?to_:??? -> ?step:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.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