Class: Aws::MTurk::Types::WorkerBlock

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

Overview

The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

A message explaining the reason the Worker was blocked.

Returns:

  • (String)


3145
3146
3147
3148
3149
# File 'lib/aws-sdk-mturk/types.rb', line 3145

class WorkerBlock < Struct.new(
  :worker_id,
  :reason)
  include Aws::Structure
end

#worker_idString

The ID of the Worker who accepted the HIT.

Returns:

  • (String)


3145
3146
3147
3148
3149
# File 'lib/aws-sdk-mturk/types.rb', line 3145

class WorkerBlock < Struct.new(
  :worker_id,
  :reason)
  include Aws::Structure
end