createQueue method

Future<XRPCResponse<QueueCreateQueueOutput>> createQueue({
  1. required String name,
  2. required List<QueueCreateQueueSubjectTypes> subjectTypes,
  3. String? collection,
  4. required List<String> reportTypes,
  5. String? description,
  6. String? $service,
  7. Map<String, String>? $headers,
  8. Map<String, String>? $unknown,
})

Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.

Implementation

Future<XRPCResponse<QueueCreateQueueOutput>> createQueue({
  required String name,
  required List<QueueCreateQueueSubjectTypes> subjectTypes,
  String? collection,
  required List<String> reportTypes,
  String? description,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneQueueCreateQueue(
  name: name,
  subjectTypes: subjectTypes,
  collection: collection,
  reportTypes: reportTypes,
  description: description,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);