tools.ozone.inbox.defs
Shared type definitions.
- class atproto_client.models.tools.ozone.inbox.defs.SubjectView
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.defs. A subject belonging to the viewer that has moderation actions against it.- field appeal: models.ToolsOzoneInboxDefs.AppealView | None = None
Appeal.
- field created_at: DateTime [Required]
Created at.
- field enforcement: models.ToolsOzoneInboxDefs.EnforcementView [Required]
Enforcement.
- field latest_action: models.ToolsOzoneInboxDefs.ActionView | None = None
Latest action.
- field src: Did [Required]
DID of the moderation service that took the actions.
- field subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main | DotDict [Required]
Subject.
- Constraints:
__module__ = atproto_client.models.unknown_union
__firstlineno__ = 17
__doc__ = Annotation for open ref unions: an unrecognized
$typefalls back toDotDict. Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bypy_typeas usual, so a known type that fails validation still raises. Only a$typethat matches no member, or a missing one, degrades to aDotDict.__get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>
__static_attributes__ = ()
__dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized
$typefalls back toDotDict.nnApplied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a$typethatnmatches no member, or a missing one, degrades to aDotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x7185fc137060>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>
- field updated_at: DateTime [Required]
Updated at.
- class atproto_client.models.tools.ozone.inbox.defs.EnforcementView
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.defs. The current enforcement state of a subject.
- class atproto_client.models.tools.ozone.inbox.defs.AppealView
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.defs. The state of the viewer’s appeal against the actions on a subject.
- class atproto_client.models.tools.ozone.inbox.defs.ActionView
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.defs. A single moderation action taken against a subject.- field created_at: DateTime [Required]
Created at.
- field id: int [Required]
Action ID (moderation event ID).
- field type: str [Required]
Public action type.