GenerateConfigReportResponse constructor

GenerateConfigReportResponse({
  1. String? serviceName,
  2. String? id,
  3. Iterable<ChangeReport>? changeReports,
  4. Iterable<Diagnostic>? diagnostics,
})

Implementation

factory GenerateConfigReportResponse({
  $core.String? serviceName,
  $core.String? id,
  $core.Iterable<$1.ChangeReport>? changeReports,
  $core.Iterable<$1.Diagnostic>? diagnostics,
}) {
  final result = create();
  if (serviceName != null) result.serviceName = serviceName;
  if (id != null) result.id = id;
  if (changeReports != null) result.changeReports.addAll(changeReports);
  if (diagnostics != null) result.diagnostics.addAll(diagnostics);
  return result;
}