toIngestionRequestSource method

IngestionRequestSource toIngestionRequestSource()

Implementation

IngestionRequestSource toIngestionRequestSource() {
  switch (this) {
    case 'MANUAL':
      return IngestionRequestSource.manual;
    case 'SCHEDULED':
      return IngestionRequestSource.scheduled;
  }
  throw Exception('$this is not known in enum IngestionRequestSource');
}