ReviewActionDetail class

Both the AssignmentReviewReport and the HITReviewReport elements contains the ReviewActionDetail data structure. This structure is returned multiple times for each action specified in the Review Policy.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)

Constructors

ReviewActionDetail({String actionId, String actionName, DateTime completeTime, String errorCode, String result, ReviewActionStatus status, String targetId, String targetType})
ReviewActionDetail.fromJson(Map<String, dynamic> json)
factory

Properties

actionId String
The unique identifier for the action.
@JsonKey(name: 'ActionId'), final
actionName String
The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.
@JsonKey(name: 'ActionName'), final
completeTime DateTime
The date when the action was completed.
@UnixDateTimeConverter(), @JsonKey(name: 'CompleteTime'), final
errorCode String
Present only when the Results have a FAILED Status.
@JsonKey(name: 'ErrorCode'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
result String
A description of the outcome of the review.
@JsonKey(name: 'Result'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status ReviewActionStatus
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
@JsonKey(name: 'Status'), final
targetId String
The specific HITId or AssignmentID targeted by the action.
@JsonKey(name: 'TargetId'), final
targetType String
The type of object in TargetId.
@JsonKey(name: 'TargetType'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited