closeReports method

Future<XRPCResponse<ReportCloseReportsOutput>> closeReports({
  1. required String subject,
  2. bool? includeAllOwned,
  3. List<String>? reportTypes,
  4. List<String>? excludedReportTypes,
  5. String? internalNote,
  6. bool? isAutomated,
  7. Map<String, dynamic>? meta,
  8. String? $service,
  9. Map<String, String>? $headers,
  10. Map<String, String>? $unknown,
})

Close eligible reports on a subject matching the given criteria. Assigned and escalated reports are excluded. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject.

Implementation

Future<XRPCResponse<ReportCloseReportsOutput>> closeReports({
  required String subject,
  bool? includeAllOwned,
  List<String>? reportTypes,
  List<String>? excludedReportTypes,
  String? internalNote,
  bool? isAutomated,
  Map<String, dynamic>? meta,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneReportCloseReports(
  subject: subject,
  includeAllOwned: includeAllOwned,
  reportTypes: reportTypes,
  excludedReportTypes: excludedReportTypes,
  internalNote: internalNote,
  isAutomated: isAutomated,
  meta: meta,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);