// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. // Lexicon schema: tools.ozone.report.reassignQueue package ozone import ( "context" lexutil "github.com/bluesky-social/indigo/lex/util" ) // ReportReassignQueue_Input is the input argument to a tools.ozone.report.reassignQueue call. type ReportReassignQueue_Input struct { // comment: Optional moderator-only note recorded on the resulting queueActivity as internalNote. Comment *string `json:"comment,omitempty" cborgen:"comment,omitempty"` // queueId: Target queue ID. Use -1 to unassign from any queue. QueueId int64 `json:"queueId" cborgen:"queueId"` // reportId: ID of the report to reassign ReportId int64 `json:"reportId" cborgen:"reportId"` } // ReportReassignQueue_Output is the output of a tools.ozone.report.reassignQueue call. type ReportReassignQueue_Output struct { Report *ReportDefs_ReportView `json:"report" cborgen:"report"` } // ReportReassignQueue calls the XRPC method "tools.ozone.report.reassignQueue". func ReportReassignQueue(ctx context.Context, c lexutil.LexClient, input *ReportReassignQueue_Input) (*ReportReassignQueue_Output, error) { var out ReportReassignQueue_Output if err := c.LexDo(ctx, lexutil.Procedure, "application/json", "tools.ozone.report.reassignQueue", nil, input, &out); err != nil { return nil, err } return &out, nil }