toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SyncExecutionStatus.succeeded:
      return 'SUCCEEDED';
    case SyncExecutionStatus.failed:
      return 'FAILED';
    case SyncExecutionStatus.timedOut:
      return 'TIMED_OUT';
  }
}