toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LabelingJobStatus.initializing:
      return 'Initializing';
    case LabelingJobStatus.inProgress:
      return 'InProgress';
    case LabelingJobStatus.completed:
      return 'Completed';
    case LabelingJobStatus.failed:
      return 'Failed';
    case LabelingJobStatus.stopping:
      return 'Stopping';
    case LabelingJobStatus.stopped:
      return 'Stopped';
  }
}