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