toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FailWorkflowExecutionFailedCause.unhandledDecision:
      return 'UNHANDLED_DECISION';
    case FailWorkflowExecutionFailedCause.operationNotPermitted:
      return 'OPERATION_NOT_PERMITTED';
  }
}