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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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>)


1431
1432
1433
1434
1435
1436
1437
# File 'lib/aws-sdk-mturk/types.rb', line 1431

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)


1431
1432
1433
1434
1435
1436
1437
# File 'lib/aws-sdk-mturk/types.rb', line 1431

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

#max_resultsInteger

Returns:

  • (Integer)


1431
1432
1433
1434
1435
1436
1437
# File 'lib/aws-sdk-mturk/types.rb', line 1431

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

#next_tokenString

Pagination token

Returns:

  • (String)


1431
1432
1433
1434
1435
1436
1437
# File 'lib/aws-sdk-mturk/types.rb', line 1431

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