upsertOption method

Future<XRPCResponse<SettingUpsertOptionOutput>> upsertOption({
  1. required String key,
  2. required SettingUpsertOptionScope scope,
  3. required Map<String, dynamic> value,
  4. String? description,
  5. SettingUpsertOptionManagerRole? managerRole,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Create or update setting option

Implementation

Future<XRPCResponse<SettingUpsertOptionOutput>> upsertOption({
  required String key,
  required SettingUpsertOptionScope scope,
  required Map<String, dynamic> value,
  String? description,
  SettingUpsertOptionManagerRole? managerRole,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneSettingUpsertOption(
  key: key,
  scope: scope,
  value: value,
  description: description,
  managerRole: managerRole,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);