toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DetectMitigationActionExecutionStatus.inProgress:
      return 'IN_PROGRESS';
    case DetectMitigationActionExecutionStatus.successful:
      return 'SUCCESSFUL';
    case DetectMitigationActionExecutionStatus.failed:
      return 'FAILED';
    case DetectMitigationActionExecutionStatus.skipped:
      return 'SKIPPED';
  }
}