Sub2ApiAdminOpsEmailReportConfig constructor

Sub2ApiAdminOpsEmailReportConfig({
  1. required bool enabled,
  2. List<String> recipients = const <String>[],
  3. required bool dailySummaryEnabled,
  4. required String dailySummarySchedule,
  5. required bool weeklySummaryEnabled,
  6. required String weeklySummarySchedule,
  7. required bool errorDigestEnabled,
  8. required String errorDigestSchedule,
  9. required int errorDigestMinCount,
  10. required bool accountHealthEnabled,
  11. required String accountHealthSchedule,
  12. required Sub2ApiDecimal accountHealthErrorRateThreshold,
})

Implementation

Sub2ApiAdminOpsEmailReportConfig({
  required this.enabled,
  List<String> recipients = const <String>[],
  required this.dailySummaryEnabled,
  required this.dailySummarySchedule,
  required this.weeklySummaryEnabled,
  required this.weeklySummarySchedule,
  required this.errorDigestEnabled,
  required this.errorDigestSchedule,
  required this.errorDigestMinCount,
  required this.accountHealthEnabled,
  required this.accountHealthSchedule,
  required this.accountHealthErrorRateThreshold,
}) : recipients = List.unmodifiable(recipients);