toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CopyJobState.created:
      return 'CREATED';
    case CopyJobState.running:
      return 'RUNNING';
    case CopyJobState.completed:
      return 'COMPLETED';
    case CopyJobState.failed:
      return 'FAILED';
  }
}