toValue method
Implementation
String toValue() {
switch (this) {
case DetectMitigationActionsTaskStatus.inProgress:
return 'IN_PROGRESS';
case DetectMitigationActionsTaskStatus.successful:
return 'SUCCESSFUL';
case DetectMitigationActionsTaskStatus.failed:
return 'FAILED';
case DetectMitigationActionsTaskStatus.canceled:
return 'CANCELED';
}
}