Module Values.LimitSource

Specifies how many protections of a given type you can create.

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

    The type of protection.

    *)
  2. max : Long.t option;
    (*

    The maximum number of protections that can be created for the specified Type.

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