toLogsConfigStatusType method

LogsConfigStatusType toLogsConfigStatusType()

Implementation

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