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

Class: Aws::MTurk::Types::AssociateQualificationWithWorkerRequest

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 AssociateQualificationWithWorkerRequest data as a hash:

{
  qualification_type_id: "EntityId", # required
  worker_id: "CustomerId", # required
  integer_value: 1,
  send_notification: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#integer_valueInteger

The value of the Qualification to assign.

Returns:

  • (Integer)


202
203
204
205
206
207
208
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 202

class AssociateQualificationWithWorkerRequest < Struct.new(
  :qualification_type_id,
  :worker_id,
  :integer_value,
  :send_notification)
  include Aws::Structure
end

#qualification_type_idString

The ID of the Qualification type to use for the assigned Qualification.

Returns:

  • (String)


202
203
204
205
206
207
208
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 202

class AssociateQualificationWithWorkerRequest < Struct.new(
  :qualification_type_id,
  :worker_id,
  :integer_value,
  :send_notification)
  include Aws::Structure
end

#send_notificationBoolean

Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.

Returns:

  • (Boolean)


202
203
204
205
206
207
208
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 202

class AssociateQualificationWithWorkerRequest < Struct.new(
  :qualification_type_id,
  :worker_id,
  :integer_value,
  :send_notification)
  include Aws::Structure
end

#worker_idString

The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.

Returns:

  • (String)


202
203
204
205
206
207
208
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 202

class AssociateQualificationWithWorkerRequest < Struct.new(
  :qualification_type_id,
  :worker_id,
  :integer_value,
  :send_notification)
  include Aws::Structure
end