Class: Aws::MTurk::Types::Assignment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_timeTime

The date and time the Worker accepted the assignment.

Returns:

  • (Time)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#answerString

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.

Returns:

  • (String)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#approval_timeTime

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.

Returns:

  • (Time)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#assignment_idString

A unique identifier for the assignment.

Returns:

  • (String)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#assignment_statusString

The status of the assignment.

Returns:

  • (String)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#auto_approval_timeTime

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.

Returns:

  • (Time)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#deadlineTime

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.

Returns:

  • (Time)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#hit_idString

The ID of the HIT.

Returns:

  • (String)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#rejection_timeTime

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Returns:

  • (Time)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#requester_feedbackString

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.

Returns:

  • (String)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#submit_timeTime

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.

Returns:

  • (Time)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end

#worker_idString

The ID of the Worker who accepted the HIT.

Returns:

  • (String)


157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 157

class Assignment < Struct.new(
  :assignment_id,
  :worker_id,
  :hit_id,
  :assignment_status,
  :auto_approval_time,
  :accept_time,
  :submit_time,
  :approval_time,
  :rejection_time,
  :deadline,
  :answer,
  :requester_feedback)
  SENSITIVE = []
  include Aws::Structure
end