toolsOzoneReportReassignQueue function
Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report.
Implementation
Future<XRPCResponse<ReportReassignQueueOutput>> toolsOzoneReportReassignQueue({
required int reportId,
required int queueId,
String? comment,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneReportReassignQueue,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'reportId': reportId,
'queueId': queueId,
if (comment != null) 'comment': comment,
},
to: const ReportReassignQueueOutputConverter().fromJson,
);