toolsOzoneQueueListQueues function

Future<XRPCResponse<QueueListQueuesOutput>> toolsOzoneQueueListQueues({
  1. bool? enabled,
  2. String? subjectType,
  3. String? collection,
  4. List<String>? reportTypes,
  5. int? limit,
  6. String? cursor,
  7. required ServiceContext $ctx,
  8. String? $service,
  9. Map<String, String>? $headers,
  10. Map<String, String>? $unknown,
})

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,
);