toValue method
Implementation
String toValue() {
switch (this) {
case StartChildWorkflowExecutionFailedCause.workflowTypeDoesNotExist:
return 'WORKFLOW_TYPE_DOES_NOT_EXIST';
case StartChildWorkflowExecutionFailedCause.workflowTypeDeprecated:
return 'WORKFLOW_TYPE_DEPRECATED';
case StartChildWorkflowExecutionFailedCause.openChildrenLimitExceeded:
return 'OPEN_CHILDREN_LIMIT_EXCEEDED';
case StartChildWorkflowExecutionFailedCause.openWorkflowsLimitExceeded:
return 'OPEN_WORKFLOWS_LIMIT_EXCEEDED';
case StartChildWorkflowExecutionFailedCause.childCreationRateExceeded:
return 'CHILD_CREATION_RATE_EXCEEDED';
case StartChildWorkflowExecutionFailedCause.workflowAlreadyRunning:
return 'WORKFLOW_ALREADY_RUNNING';
case StartChildWorkflowExecutionFailedCause
.defaultExecutionStartToCloseTimeoutUndefined:
return 'DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED';
case StartChildWorkflowExecutionFailedCause.defaultTaskListUndefined:
return 'DEFAULT_TASK_LIST_UNDEFINED';
case StartChildWorkflowExecutionFailedCause
.defaultTaskStartToCloseTimeoutUndefined:
return 'DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED';
case StartChildWorkflowExecutionFailedCause.defaultChildPolicyUndefined:
return 'DEFAULT_CHILD_POLICY_UNDEFINED';
case StartChildWorkflowExecutionFailedCause.operationNotPermitted:
return 'OPERATION_NOT_PERMITTED';
}
}