toBackupRetentionType method

BackupRetentionType toBackupRetentionType()

Implementation

BackupRetentionType toBackupRetentionType() {
  switch (this) {
    case 'DAYS':
      return BackupRetentionType.days;
  }
  throw Exception('$this is not known in enum BackupRetentionType');
}