// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.temp.spindle.quota.unset
import (
"context"
"github.com/bluesky-social/indigo/lex/util"
)
const (
TempSpindleQuotaUnsetNSID = "org.tangled.temp.spindle.quota.unset"
)
// TempSpindleQuotaUnset_Input is the input argument to a org.tangled.temp.spindle.quota.unset call.
type TempSpindleQuotaUnset_Input struct {
// did: DID of the repository or account owner
Did string `json:"did" cborgen:"did"`
// resource: quota resource whose override to remove
Resource string `json:"resource" cborgen:"resource"`
}
// TempSpindleQuotaUnset calls the XRPC method "org.tangled.temp.spindle.quota.unset".
func TempSpindleQuotaUnset(ctx context.Context, c util.LexClient, input *TempSpindleQuotaUnset_Input) error {
if err := c.LexDo(ctx, util.Procedure, "application/json", "org.tangled.temp.spindle.quota.unset", nil, input, nil); err != nil {
return err
}
return nil
}