toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EdgePackagingJobStatus.starting:
      return 'STARTING';
    case EdgePackagingJobStatus.inprogress:
      return 'INPROGRESS';
    case EdgePackagingJobStatus.completed:
      return 'COMPLETED';
    case EdgePackagingJobStatus.failed:
      return 'FAILED';
    case EdgePackagingJobStatus.stopping:
      return 'STOPPING';
    case EdgePackagingJobStatus.stopped:
      return 'STOPPED';
  }
}