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

Class: Aws::MTurk::Types::ListAssignmentsForHITRequest

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

{
  hit_id: "EntityId", # required
  next_token: "PaginationToken",
  max_results: 1,
  assignment_statuses: ["Submitted"], # accepts Submitted, Approved, Rejected
}

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_statusesArray<String>

The status of the assignments to return: Submitted | Approved | Rejected

Returns:

  • (Array<String>)


1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1419

class ListAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :next_token,
  :max_results,
  :assignment_statuses)
  include Aws::Structure
end

#hit_idString

The ID of the HIT.

Returns:

  • (String)


1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1419

class ListAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :next_token,
  :max_results,
  :assignment_statuses)
  include Aws::Structure
end

#max_resultsInteger

Returns:

  • (Integer)


1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1419

class ListAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :next_token,
  :max_results,
  :assignment_statuses)
  include Aws::Structure
end

#next_tokenString

Pagination token

Returns:

  • (String)


1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1419

class ListAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :next_token,
  :max_results,
  :assignment_statuses)
  include Aws::Structure
end