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

Class: Aws::MTurk::Types::Qualification

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

Overview

The Qualification data structure represents a Qualification assigned to a user, including the Qualification type and the value (score).

Instance Attribute Summary collapse

Instance Attribute Details

#grant_timeTime

The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.

Returns:

  • (Time)


2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2287

class Qualification < Struct.new(
  :qualification_type_id,
  :worker_id,
  :grant_time,
  :integer_value,
  :locale_value,
  :status)
  include Aws::Structure
end

#integer_valueInteger

The value (score) of the Qualification, if the Qualification has an integer value.

Returns:

  • (Integer)


2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2287

class Qualification < Struct.new(
  :qualification_type_id,
  :worker_id,
  :grant_time,
  :integer_value,
  :locale_value,
  :status)
  include Aws::Structure
end

#locale_valueTypes::Locale

The Locale data structure represents a geographical region or location.

Returns:



2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2287

class Qualification < Struct.new(
  :qualification_type_id,
  :worker_id,
  :grant_time,
  :integer_value,
  :locale_value,
  :status)
  include Aws::Structure
end

#qualification_type_idString

The ID of the Qualification type for the Qualification.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2287

class Qualification < Struct.new(
  :qualification_type_id,
  :worker_id,
  :grant_time,
  :integer_value,
  :locale_value,
  :status)
  include Aws::Structure
end

#statusString

The status of the Qualification. Valid values are Granted | Revoked.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2287

class Qualification < Struct.new(
  :qualification_type_id,
  :worker_id,
  :grant_time,
  :integer_value,
  :locale_value,
  :status)
  include Aws::Structure
end

#worker_idString

The ID of the Worker who possesses the Qualification.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2287

class Qualification < Struct.new(
  :qualification_type_id,
  :worker_id,
  :grant_time,
  :integer_value,
  :locale_value,
  :status)
  include Aws::Structure
end