toolsOzoneQueueUpdateQueue function
Update queue properties. Currently only supports updating the name and enabled status to prevent configuration conflicts.
Implementation
Future<XRPCResponse<QueueUpdateQueueOutput>> toolsOzoneQueueUpdateQueue({
required int queueId,
String? name,
bool? enabled,
String? description,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneQueueUpdateQueue,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'queueId': queueId,
if (name != null) 'name': name,
if (enabled != null) 'enabled': enabled,
if (description != null) 'description': description,
},
to: const QueueUpdateQueueOutputConverter().fromJson,
);