toValue method

String toValue()

Implementation

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