HIT class

The HIT data structure represents a single HIT, including all the information necessary for a Worker to accept and complete the HIT.

Constructors

HIT({int? assignmentDurationInSeconds, int? autoApprovalDelayInSeconds, DateTime? creationTime, String? description, DateTime? expiration, String? hITGroupId, String? hITId, String? hITLayoutId, HITReviewStatus? hITReviewStatus, HITStatus? hITStatus, String? hITTypeId, String? keywords, int? maxAssignments, int? numberOfAssignmentsAvailable, int? numberOfAssignmentsCompleted, int? numberOfAssignmentsPending, List<QualificationRequirement>? qualificationRequirements, String? question, String? requesterAnnotation, String? reward, String? title})
HIT.fromJson(Map<String, dynamic> json)
factory

Properties

assignmentDurationInSeconds int?
The length of time, in seconds, that a Worker has to complete the HIT after accepting it.
final
autoApprovalDelayInSeconds int?
The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.
final
creationTime DateTime?
The date and time the HIT was created.
final
description String?
A general description of the HIT.
final
expiration DateTime?
The date and time the HIT expires.
final
hashCode int
The hash code for this object.
no setterinherited
hITGroupId String?
The ID of the HIT Group of this HIT.
final
hITId String?
A unique identifier for the HIT.
final
hITLayoutId String?
The ID of the HIT Layout of this HIT.
final
hITReviewStatus HITReviewStatus?
Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
final
hITStatus HITStatus?
The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.
final
hITTypeId String?
The ID of the HIT type of this HIT
final
keywords String?
One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.
final
maxAssignments int?
The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
final
numberOfAssignmentsAvailable int?
The number of assignments for this HIT that are available for Workers to accept.
final
numberOfAssignmentsCompleted int?
The number of assignments for this HIT that have been approved or rejected.
final
numberOfAssignmentsPending int?
The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.
final
qualificationRequirements List<QualificationRequirement>?
Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.
final
question String?
The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.
final
requesterAnnotation String?
An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.
final
reward String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The title of the HIT.
final

Methods

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

Operators

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