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

Class: Aws::MTurk::Types::UpdateHITReviewStatusRequest

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

{
  hit_id: "EntityId", # required
  revert: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#hit_idString

The ID of the HIT to update.

Returns:

  • (String)


2904
2905
2906
2907
2908
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2904

class UpdateHITReviewStatusRequest < Struct.new(
  :hit_id,
  :revert)
  include Aws::Structure
end

#revertBoolean

Specifies how to update the HIT status. Default is False.

  • Setting this to false will only transition a HIT from Reviewable to Reviewing

  • Setting this to true will only transition a HIT from Reviewing to Reviewable

Returns:

  • (Boolean)


2904
2905
2906
2907
2908
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2904

class UpdateHITReviewStatusRequest < Struct.new(
  :hit_id,
  :revert)
  include Aws::Structure
end