Module Values.TextPartValueSource

Describes text information objects containing fields that determine how text part objects are composed.

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

    The type of text part. Determines the usage of all other fields and whether or not they're required.

    *)
  2. displayText : TextPartValueDisplayTextString.t option;
    (*

    A short single line description of the link. Must be hyper-linked with the URL itself. Used for text parts with the type URL.

    *)
  3. textByLocale : TextByLocale.t option;
    (*

    A map of locales to the text in that locale.

    *)
  4. url : Url.t option;
    (*

    The URL itself.

    *)
}
Sourceval make : ?type_:??? -> ?displayText:??? -> ?textByLocale:??? -> ?url:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `Enum of string ] * [> `String of String_.t ]) list | `String of TextPartValueDisplayTextString.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