toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TrainingJobSortByOptions.name:
      return 'Name';
    case TrainingJobSortByOptions.creationTime:
      return 'CreationTime';
    case TrainingJobSortByOptions.status:
      return 'Status';
    case TrainingJobSortByOptions.finalObjectiveMetricValue:
      return 'FinalObjectiveMetricValue';
  }
}