Module Values.ParentChildFieldOptionsMappingSource

A mapping between a parent field option value and child field option values.

Sourcetype nonrec t = {
  1. parentFieldOptionValue : ParentChildFieldOptionValue.t;
    (*

    The value in the parent field.

    *)
  2. childFieldOptionValues : ParentChildFieldOptionsMappingChildFieldOptionValuesList.t;
    (*

    A list of allowed values in the child field.

    *)
}
Sourceval context_ : string
Sourceval make : parentFieldOptionValue:ParentChildFieldOptionValue.t -> childFieldOptionValues: ParentChildFieldOptionsMappingChildFieldOptionValuesList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ParentChildFieldOptionValue.t ] list | `String of ParentChildFieldOptionValue.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