Module Values.StartArchiveSearchRequestSource

The request to initiate a search across emails in an archive.

Sourcetype nonrec t = {
  1. archiveId : ArchiveId.t;
    (*

    The identifier of the archive to search emails in.

    *)
  2. filters : ArchiveFilters.t option;
    (*

    Criteria to filter which emails are included in the search results.

    *)
  3. fromTimestamp : Timestamp.t;
    (*

    The start timestamp of the range to search emails from.

    *)
  4. toTimestamp : Timestamp.t;
    (*

    The end timestamp of the range to search emails from.

    *)
  5. maxResults : SearchMaxResults.t;
    (*

    The maximum number of search results to return.

    *)
}
Sourceval context_ : string
Sourceval make : ?filters:??? -> archiveId:ArchiveId.t -> fromTimestamp:Timestamp.t -> toTimestamp:Timestamp.t -> maxResults:SearchMaxResults.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of SearchMaxResults.t | `String of ArchiveId.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of StringValue.t ] list | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ] list ]) list | `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