tools.ozone.inbox.appealActionedSubject
Appeal a moderation action affecting the user’s account or content.
- class atproto_client.models.tools.ozone.inbox.appeal_actioned_subject.Data
Bases:
DataModelBaseInput data model for
tools.ozone.inbox.appealActionedSubject.- field action: models.ToolsOzoneInboxAppealActionedSubject.ActionRef | models.ToolsOzoneInboxAppealActionedSubject.LabelRef | models.ToolsOzoneInboxAppealActionedSubject.TakedownRef | None = None
- field mod_tool: models.ComAtprotoModerationCreateReport.ModTool | None = None
Mod tool.
- field reason: str | None = None
Optional explanation supplied by the user.
- Constraints:
max_length = 20000
- field subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main | DotDict [Required]
Subject being appealed.
- 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 0x7bc6f7b3ccc0>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>
- class atproto_client.models.tools.ozone.inbox.appeal_actioned_subject.DataDict
Bases:
TypedDict- subject: Annotated[RepoRef | Main | Annotated[DotDict, _DotDictPydanticAnnotation], UnknownUnionFallback]
Subject being appealed.
- action: NotRequired[Annotated[ActionRef | LabelRef | TakedownRef, FieldInfo(annotation=NoneType, required=True, discriminator='py_type')] | None]
- mod_tool: NotRequired[ModTool | None]
Mod tool.
- reason: NotRequired[str | None]
Optional explanation supplied by the user.
- class atproto_client.models.tools.ozone.inbox.appeal_actioned_subject.ActionRef
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.appealActionedSubject.- field id: int [Required]
ID of the moderation action being appealed, available via actions in mod inbox.
- Constraints:
ge = 1
- class atproto_client.models.tools.ozone.inbox.appeal_actioned_subject.LabelRef
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.appealActionedSubject.- field val: str [Required]
Label being appealed.
- Constraints:
min_length = 1
- class atproto_client.models.tools.ozone.inbox.appeal_actioned_subject.TakedownRef
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.appealActionedSubject.