AssignModeratorRequest

constructor(reportId: Long, queueId: Long? = null, did: Did? = null, isPermanent: Boolean? = null)

Parameters

reportId

The ID of the report to assign.

queueId

Optional queue ID to associate the assignment with. If not provided and the report has been assigned on a queue before, it will stay on that queue.

did

DID to be assigned. Defaults to the caller's DID. Admins may assign to any moderator.

isPermanent

When true, the assignment has no expiry (endAt is null). Throws AlreadyAssigned if another user already has a permanent assignment on this report.