toValue method
Implementation
String toValue() {
switch (this) {
case SimulationJobBatchStatus.pending:
return 'Pending';
case SimulationJobBatchStatus.inProgress:
return 'InProgress';
case SimulationJobBatchStatus.failed:
return 'Failed';
case SimulationJobBatchStatus.completed:
return 'Completed';
case SimulationJobBatchStatus.canceled:
return 'Canceled';
case SimulationJobBatchStatus.canceling:
return 'Canceling';
case SimulationJobBatchStatus.completing:
return 'Completing';
case SimulationJobBatchStatus.timingOut:
return 'TimingOut';
case SimulationJobBatchStatus.timedOut:
return 'TimedOut';
}
}