You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MTurk::Types::Assignment
- Inherits:
-
Struct
- Object
- Struct
- Aws::MTurk::Types::Assignment
- Defined in:
- (unknown)
Overview
The Assignment data structure represents a single assignment of a HIT to a Worker. The assignment tracks the Worker's efforts to complete the HIT, and contains the results for later retrieval.
Returned by:
Instance Attribute Summary collapse
-
#accept_time ⇒ Time
The date and time the Worker accepted the assignment.
-
#answer ⇒ String
The Worker\'s answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer.
-
#approval_time ⇒ Time
If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results.
-
#assignment_id ⇒ String
A unique identifier for the assignment.
-
#assignment_status ⇒ String
The status of the assignment.
-
#auto_approval_time ⇒ Time
If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester.
-
#deadline ⇒ Time
The date and time of the deadline for the assignment.
-
#hit_id ⇒ String
The ID of the HIT.
-
#rejection_time ⇒ Time
If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.
-
#requester_feedback ⇒ String
The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.
-
#submit_time ⇒ Time
If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted.
-
#worker_id ⇒ String
The ID of the Worker who accepted the HIT.
Instance Attribute Details
#accept_time ⇒ Time
The date and time the Worker accepted the assignment.
#answer ⇒ String
The Worker\'s answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.
#approval_time ⇒ Time
If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.
#assignment_id ⇒ String
A unique identifier for the assignment.
#assignment_status ⇒ String
The status of the assignment.
Possible values:
- Submitted
- Approved
- Rejected
#auto_approval_time ⇒ Time
If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.
#deadline ⇒ Time
The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.
#hit_id ⇒ String
The ID of the HIT.
#rejection_time ⇒ Time
If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.
#requester_feedback ⇒ String
The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.
#submit_time ⇒ Time
If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.
#worker_id ⇒ String
The ID of the Worker who accepted the HIT.