toolsOzoneSetUpsertSet function
Create or update set metadata
Implementation
Future<XRPCResponse<SetView>> toolsOzoneSetUpsertSet({
required String name,
String? description,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneSetUpsertSet,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'name': name,
if (description != null) 'description': description,
},
to: const SetViewConverter().fromJson,
);