toolsOzoneQueueGetAssignments function
Get moderator assignments, optionally filtered by active status, queue, or moderator.
Implementation
Future<XRPCResponse<QueueGetAssignmentsOutput>> toolsOzoneQueueGetAssignments({
bool? onlyActive,
List<int>? queueIds,
List<String>? dids,
int? limit,
String? cursor,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.toolsOzoneQueueGetAssignments,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
if (onlyActive != null) 'onlyActive': onlyActive,
if (queueIds != null) 'queueIds': queueIds,
if (dids != null) 'dids': dids,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const QueueGetAssignmentsOutputConverter().fromJson,
);