toValue method
Implementation
String toValue() {
switch (this) {
case EventType.assignmentAccepted:
return 'AssignmentAccepted';
case EventType.assignmentAbandoned:
return 'AssignmentAbandoned';
case EventType.assignmentReturned:
return 'AssignmentReturned';
case EventType.assignmentSubmitted:
return 'AssignmentSubmitted';
case EventType.assignmentRejected:
return 'AssignmentRejected';
case EventType.assignmentApproved:
return 'AssignmentApproved';
case EventType.hITCreated:
return 'HITCreated';
case EventType.hITExpired:
return 'HITExpired';
case EventType.hITReviewable:
return 'HITReviewable';
case EventType.hITExtended:
return 'HITExtended';
case EventType.hITDisposed:
return 'HITDisposed';
case EventType.ping:
return 'Ping';
}
}