toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TrainingJobEarlyStoppingType.off:
      return 'Off';
    case TrainingJobEarlyStoppingType.auto:
      return 'Auto';
  }
}