tools.ozone.report.assign_moderator

class atproto_client.models.tools.ozone.report.assign_moderator.Data

Bases: DataModelBase

Input data model for tools.ozone.report.assignModerator.

field did: str | None = None
field is_permanent: bool | None = None
field queue_id: int | None = None
field report_id: int [Required]

The ID of the report to assign.

class atproto_client.models.tools.ozone.report.assign_moderator.DataDict

Bases: TypedDict

did: typing_extensions.NotRequired[str | None]

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

is_permanent: typing_extensions.NotRequired[bool | None]

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

queue_id: typing_extensions.NotRequired[int | None]

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.

report_id: int

The ID of the report to assign.