toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuditMitigationActionsTaskStatus.inProgress:
      return 'IN_PROGRESS';
    case AuditMitigationActionsTaskStatus.completed:
      return 'COMPLETED';
    case AuditMitigationActionsTaskStatus.failed:
      return 'FAILED';
    case AuditMitigationActionsTaskStatus.canceled:
      return 'CANCELED';
  }
}