toolsOzoneQueueListQueues function
List all configured moderation queues with statistics.
Implementation
Future<XRPCResponse<QueueListQueuesOutput>> toolsOzoneQueueListQueues({
bool? enabled,
String? subjectType,
String? collection,
List<String>? reportTypes,
int? limit,
String? cursor,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.toolsOzoneQueueListQueues,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
if (enabled != null) 'enabled': enabled,
if (subjectType != null) 'subjectType': subjectType,
if (collection != null) 'collection': collection,
if (reportTypes != null) 'reportTypes': reportTypes,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const QueueListQueuesOutputConverter().fromJson,
);