toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuditMitigationActionsExecutionStatus.inProgress:
      return 'IN_PROGRESS';
    case AuditMitigationActionsExecutionStatus.completed:
      return 'COMPLETED';
    case AuditMitigationActionsExecutionStatus.failed:
      return 'FAILED';
    case AuditMitigationActionsExecutionStatus.canceled:
      return 'CANCELED';
    case AuditMitigationActionsExecutionStatus.skipped:
      return 'SKIPPED';
    case AuditMitigationActionsExecutionStatus.pending:
      return 'PENDING';
  }
}