Module Values.SearchStatusSource

The current status of an archive search job.

Sourcetype nonrec t = {
  1. submissionTimestamp : Timestamp.t option;
    (*

    The timestamp of when the search was submitted.

    *)
  2. completionTimestamp : Timestamp.t option;
    (*

    The timestamp of when the search completed (if finished).

    *)
  3. state : SearchState.t option;
    (*

    The current state of the search job.

    *)
  4. errorMessage : ErrorMessage.t option;
    (*

    An error message if the search failed.

    *)
}
Sourceval make : ?submissionTimestamp:??? -> ?completionTimestamp:??? -> ?state:??? -> ?errorMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ErrorMessage.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