toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActionExecutionStatus.inProgress:
      return 'InProgress';
    case ActionExecutionStatus.abandoned:
      return 'Abandoned';
    case ActionExecutionStatus.succeeded:
      return 'Succeeded';
    case ActionExecutionStatus.failed:
      return 'Failed';
  }
}