toValue method
Implementation
String toValue() {
switch (this) {
case AnomalyDetectorStateValue.pendingTraining:
return 'PENDING_TRAINING';
case AnomalyDetectorStateValue.trainedInsufficientData:
return 'TRAINED_INSUFFICIENT_DATA';
case AnomalyDetectorStateValue.trained:
return 'TRAINED';
}
}