toAutoTuneDesiredState method

AutoTuneDesiredState toAutoTuneDesiredState()

Implementation

AutoTuneDesiredState toAutoTuneDesiredState() {
  switch (this) {
    case 'ENABLED':
      return AutoTuneDesiredState.enabled;
    case 'DISABLED':
      return AutoTuneDesiredState.disabled;
  }
  throw Exception('$this is not known in enum AutoTuneDesiredState');
}