toolsOzoneSettingListOptions function

Future<XRPCResponse<SettingListOptionsOutput>> toolsOzoneSettingListOptions({
  1. int? limit,
  2. String? cursor,
  3. SettingListOptionsScope? scope,
  4. String? prefix,
  5. List<String>? keys,
  6. required ServiceContext $ctx,
  7. Map<String, String>? $headers,
  8. Map<String, String>? $unknown,
})

List settings with optional filtering

Implementation

Future<XRPCResponse<SettingListOptionsOutput>> toolsOzoneSettingListOptions({
  int? limit,
  String? cursor,
  SettingListOptionsScope? scope,
  String? prefix,
  List<String>? keys,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneSettingListOptions,
  headers: $headers,
  parameters: {
    ...?$unknown,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
    if (scope != null) 'scope': scope.toJson(),
    if (prefix != null) 'prefix': prefix,
    if (keys != null) 'keys': keys,
  },
  to: const SettingListOptionsOutputConverter().fromJson,
);