toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TranscriptionJobStatus.queued:
      return 'QUEUED';
    case TranscriptionJobStatus.inProgress:
      return 'IN_PROGRESS';
    case TranscriptionJobStatus.failed:
      return 'FAILED';
    case TranscriptionJobStatus.completed:
      return 'COMPLETED';
  }
}