1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package ozone
4
5// schema: tools.ozone.set.addValues
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/xrpc"
11)
12
13// SetAddValues_Input is the input argument to a tools.ozone.set.addValues call.
14type SetAddValues_Input struct {
15 // name: Name of the set to add values to
16 Name string `json:"name" cborgen:"name"`
17 // values: Array of string values to add to the set
18 Values []string `json:"values" cborgen:"values"`
19}
20
21// SetAddValues calls the XRPC method "tools.ozone.set.addValues".
22func SetAddValues(ctx context.Context, c *xrpc.Client, input *SetAddValues_Input) error {
23 if err := c.Do(ctx, xrpc.Procedure, "application/json", "tools.ozone.set.addValues", nil, input, nil); err != nil {
24 return err
25 }
26
27 return nil
28}