You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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,
}

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)


68
69
70
71
72
73
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 68

class ApproveAssignmentRequest < Struct.new(
  :assignment_id,
  :requester_feedback,
  :override_rejection)
  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)


68
69
70
71
72
73
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 68

class ApproveAssignmentRequest < Struct.new(
  :assignment_id,
  :requester_feedback,
  :override_rejection)
  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)


68
69
70
71
72
73
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 68

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