NotificationSpecification class

The NotificationSpecification data structure describes a HIT event notification for a HIT type.

Constructors

NotificationSpecification({required String destination, required List<EventType> eventTypes, required NotificationTransport transport, required String version})

Properties

destination String
The target for notification messages. The Destination’s format is determined by the specified Transport:
final
eventTypes List<EventType>
The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transport NotificationTransport
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.
final
version String
The version of the Notification API to use. Valid value is 2006-05-05.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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