Module Values.MetadataAttributeValueSource

Contains the value of the metadata attribute. Choose a type and include the field that corresponds to it.

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

    The type of the metadata attribute.

    *)
  2. numberValue : NumberValue.t option;
    (*

    The value of the numeric metadata attribute.

    *)
  3. booleanValue : Boolean.t option;
    (*

    The value of the Boolean metadata attribute.

    *)
  4. stringValue : StringValue.t option;
    (*

    The value of the string metadata attribute.

    *)
  5. stringListValue : MetadataAttributeValueStringListValueList.t option;
    (*

    An array of strings that define the value of the metadata attribute.

    *)
}
Sourceval context_ : string
Sourceval make : ?numberValue:??? -> ?booleanValue:??? -> ?stringValue:??? -> ?stringListValue:??? -> type_:MetadataValueType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Double of NumberValue.t | `Enum of string | `List of [> `String of StringValue.t ] list | `String of StringValue.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