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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mturk/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

A message explaining the reason the Worker was blocked.

Returns:

  • (String)


2703
2704
2705
2706
2707
2708
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2703

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

#worker_idString

The ID of the Worker who accepted the HIT.

Returns:

  • (String)


2703
2704
2705
2706
2707
2708
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2703

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