Class: Aws::MTurk::Types::ApproveAssignmentRequest

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

Overview

Note:

When making an API call, you may pass ApproveAssignmentRequest data as a hash:

{
  assignment_id: "EntityId", # required
  requester_feedback: "String",
  override_rejection: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_idString

The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

Returns:

  • (String)


71
72
73
74
75
76
77
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 71

class ApproveAssignmentRequest < Struct.new(
  :assignment_id,
  :requester_feedback,
  :override_rejection)
  SENSITIVE = []
  include Aws::Structure
end

#override_rejectionBoolean

A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False.

Returns:

  • (Boolean)


71
72
73
74
75
76
77
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 71

class ApproveAssignmentRequest < Struct.new(
  :assignment_id,
  :requester_feedback,
  :override_rejection)
  SENSITIVE = []
  include Aws::Structure
end

#requester_feedbackString

A message for the Worker, which the Worker can see in the Status section of the web site.

Returns:

  • (String)


71
72
73
74
75
76
77
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 71

class ApproveAssignmentRequest < Struct.new(
  :assignment_id,
  :requester_feedback,
  :override_rejection)
  SENSITIVE = []
  include Aws::Structure
end