toContinuousBackupsStatus method

ContinuousBackupsStatus toContinuousBackupsStatus()

Implementation

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