toValue method
Implementation
String toValue() {
switch (this) {
case WorkflowExecutionTerminatedCause.childPolicyApplied:
return 'CHILD_POLICY_APPLIED';
case WorkflowExecutionTerminatedCause.eventLimitExceeded:
return 'EVENT_LIMIT_EXCEEDED';
case WorkflowExecutionTerminatedCause.operatorInitiated:
return 'OPERATOR_INITIATED';
}
}