Module Values.DocumentAttributeValueSource

The value of a document attribute. You can only provide one value for a document attribute.

Sourcetype nonrec t = {
  1. stringValue : DocumentAttributeStringValue.t option;
    (*

    A string, such as "department".

    *)
  2. stringListValue : DocumentAttributeStringListValue.t option;
    (*

    A list of strings. The default maximum length or number of strings is 10.

    *)
  3. longValue : Long.t option;
    (*

    A long integer value.

    *)
  4. dateValue : Timestamp.t option;
    (*

    A date expressed as an ISO 8601 string. It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

    *)
}
Sourceval make : ?stringValue:??? -> ?stringListValue:??? -> ?longValue:??? -> ?dateValue:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeStringValue.t | `Timestamp of Timestamp.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