Module Values.QualificationSource

The Qualification data structure represents a Qualification assigned to a user, including the Qualification type and the value (score).

Sourcetype nonrec t = {
  1. qualificationTypeId : EntityId.t option;
    (*

    The ID of the Qualification type for the Qualification.

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

    The ID of the Worker who possesses the Qualification.

    *)
  3. grantTime : Timestamp.t option;
    (*

    The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.

    *)
  4. integerValue : Integer.t option;
    (*

    The value (score) of the Qualification, if the Qualification has an integer value.

    *)
  5. localeValue : Locale.t option;
  6. status : QualificationStatus.t option;
    (*

    The status of the Qualification. Valid values are Granted | Revoked.

    *)
}
Sourceval make : ?qualificationTypeId:??? -> ?workerId:??? -> ?grantTime:??? -> ?integerValue:??? -> ?localeValue:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of EntityId.t | `Structure of (string * [> `String of CountryParameters.t ]) 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