1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package ozone
4
5// schema: tools.ozone.setting.removeOptions
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/lex/util"
11)
12
13// SettingRemoveOptions_Input is the input argument to a tools.ozone.setting.removeOptions call.
14type SettingRemoveOptions_Input struct {
15 Keys []string `json:"keys" cborgen:"keys"`
16 Scope string `json:"scope" cborgen:"scope"`
17}
18
19// SettingRemoveOptions_Output is the output of a tools.ozone.setting.removeOptions call.
20type SettingRemoveOptions_Output struct {
21}
22
23// SettingRemoveOptions calls the XRPC method "tools.ozone.setting.removeOptions".
24func SettingRemoveOptions(ctx context.Context, c util.LexClient, input *SettingRemoveOptions_Input) (*SettingRemoveOptions_Output, error) {
25 var out SettingRemoveOptions_Output
26 if err := c.LexDo(ctx, util.Procedure, "application/json", "tools.ozone.setting.removeOptions", nil, input, &out); err != nil {
27 return nil, err
28 }
29
30 return &out, nil
31}