toValue method

String toValue()

Implementation

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