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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

A message explaining the reason the Worker was blocked.

Returns:

  • (String)


3104
3105
3106
3107
3108
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 3104

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

#worker_idString

The ID of the Worker who accepted the HIT.

Returns:

  • (String)


3104
3105
3106
3107
3108
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 3104

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