Module Values.SearchSampleQueriesSearchResultSource

A search result returned by the SearchSampleQueries operation.

Sourcetype nonrec t = {
  1. name : SampleQueryName.t option;
    (*

    The name of a sample query.

    *)
  2. description : SampleQueryDescription.t option;
    (*

    A longer description of a sample query.

    *)
  3. sQL : SampleQuerySQL.t option;
    (*

    The SQL code of the sample query.

    *)
  4. relevance : SampleQueryRelevance.t option;
    (*

    A value between 0 and 1 indicating the similarity between the search phrase and result.

    *)
}
Sourceval make : ?name:??? -> ?description:??? -> ?sQL:??? -> ?relevance:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of SampleQueryRelevance.t | `String of SampleQueryName.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