com.atproto.moderation.create_report¶
- class atproto_client.models.com.atproto.moderation.create_report.Data¶
Bases:
DataModelBase
Input data model for
com.atproto.moderation.createReport
.- field reason: str | None = None¶
Additional context about the content and violation.
- Constraints:
max_length = 20000
- field reason_type: models.ComAtprotoModerationDefs.ReasonType [Required]¶
Indicates the broad category of violation the report is for.
- field subject: RepoRef | models.ComAtprotoRepoStrongRef.Main[models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main] [Required]¶
- class atproto_client.models.com.atproto.moderation.create_report.DataDict(*args, **kwargs)¶
Bases:
dict
- reason: typing_extensions.NotRequired[str | None]¶
Additional context about the content and violation.
- reason_type: models.ComAtprotoModerationDefs.ReasonType¶
Indicates the broad category of violation the report is for.
- class atproto_client.models.com.atproto.moderation.create_report.Response¶
Bases:
ResponseModelBase
Output data model for
com.atproto.moderation.createReport
.- field created_at: str [Required]¶
Created at.
- Constraints:
func = Validated by:
string_formats.validate_datetime()
(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field id: int [Required]¶
Id.
- field reason: str | None = None¶
Reason.
- Constraints:
max_length = 20000
- field reason_type: models.ComAtprotoModerationDefs.ReasonType [Required]¶
Reason type.
- field reported_by: str [Required]¶
Reported by.
- Constraints:
func = Validated by:
string_formats.validate_did()
(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field subject: RepoRef | models.ComAtprotoRepoStrongRef.Main[models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main] [Required]¶