toAggregatedSourceStatusType method

AggregatedSourceStatusType toAggregatedSourceStatusType()

Implementation

AggregatedSourceStatusType toAggregatedSourceStatusType() {
  switch (this) {
    case 'FAILED':
      return AggregatedSourceStatusType.failed;
    case 'SUCCEEDED':
      return AggregatedSourceStatusType.succeeded;
    case 'OUTDATED':
      return AggregatedSourceStatusType.outdated;
  }
  throw Exception('$this is not known in enum AggregatedSourceStatusType');
}