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

Class: Aws::MTurk::Types::ParameterMapEntry

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

{
  key: "String",
  values: ["String"],
}

This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

Returns:

  • (String)


2213
2214
2215
2216
2217
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2213

class ParameterMapEntry < Struct.new(
  :key,
  :values)
  include Aws::Structure
end

#valuesArray<String>

The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

Returns:

  • (Array<String>)


2213
2214
2215
2216
2217
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2213

class ParameterMapEntry < Struct.new(
  :key,
  :values)
  include Aws::Structure
end