QualificationRequest class

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

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)

Constructors

QualificationRequest({String answer, String qualificationRequestId, String qualificationTypeId, DateTime submitTime, String test, String workerId})
QualificationRequest.fromJson(Map<String, dynamic> json)
factory

Properties

answer String
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.
@JsonKey(name: 'Answer'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
qualificationRequestId String
The ID of the Qualification request, a unique identifier generated when the request was submitted.
@JsonKey(name: 'QualificationRequestId'), final
qualificationTypeId String
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
@JsonKey(name: 'QualificationTypeId'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
submitTime DateTime
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.
@UnixDateTimeConverter(), @JsonKey(name: 'SubmitTime'), final
test String
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.
@JsonKey(name: 'Test'), final
workerId String
The ID of the Worker requesting the Qualification.
@JsonKey(name: 'WorkerId'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited