toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UpdateActionStatus.notApplied:
      return 'not-applied';
    case UpdateActionStatus.waitingToStart:
      return 'waiting-to-start';
    case UpdateActionStatus.inProgress:
      return 'in-progress';
    case UpdateActionStatus.stopping:
      return 'stopping';
    case UpdateActionStatus.stopped:
      return 'stopped';
    case UpdateActionStatus.complete:
      return 'complete';
    case UpdateActionStatus.scheduling:
      return 'scheduling';
    case UpdateActionStatus.scheduled:
      return 'scheduled';
    case UpdateActionStatus.notApplicable:
      return 'not-applicable';
  }
}