Module Values.QualificationRequestSource

The QualificationRequest data structure represents a request a Worker has made for a Qualification.

Sourcetype nonrec t = {
  1. qualificationRequestId : String_.t option;
    (*

    The ID of the Qualification request, a unique identifier generated when the request was submitted.

    *)
  2. qualificationTypeId : EntityId.t option;
    (*

    The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

    *)
  3. workerId : CustomerId.t option;
    (*

    The ID of the Worker requesting the Qualification.

    *)
  4. test : String_.t option;
    (*

    The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

    *)
  5. answer : String_.t option;
    (*

    The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

    *)
  6. submitTime : Timestamp.t option;
    (*

    The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.

    *)
}
Sourceval make : ?qualificationRequestId:??? -> ?qualificationTypeId:??? -> ?workerId:??? -> ?test:??? -> ?answer:??? -> ?submitTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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